]> granicus.if.org Git - sudo/commit
Set real uid to root before calling sudo_edit() or run_command()
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 6 Feb 2012 18:37:26 +0000 (13:37 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 6 Feb 2012 18:37:26 +0000 (13:37 -0500)
commitd8273cd54361f2de8211b7dfe4db965c0a84b022
treeedfb0cb39e2b69d83e0c428ec1a8e1445825fd88
parentabb8bcb24fc903afadb93875377da74170ca7075
parentc6ef580100ebba2c8ddd738d2cce7bd3f4dfbf61
Set real uid to root before calling sudo_edit() or run_command()
so that the monitor process is owned by root and not by the user.
Otherwise, on AIX at least, the monitor process shows up in ps as
belonging to the user (and can be killed by the user).

--HG--
branch : 1.8