From: Todd C. Miller Date: Mon, 6 Feb 2012 18:37:26 +0000 (-0500) Subject: Set real uid to root before calling sudo_edit() or run_command() X-Git-Tag: SUDO_1_8_4~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d8273cd54361f2de8211b7dfe4db965c0a84b022;p=sudo 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 --- d8273cd54361f2de8211b7dfe4db965c0a84b022