]> granicus.if.org Git - sudo/commitdiff
Refactor disable_execute() and my_execve() into exec_common.c for
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 25 Jan 2012 19:58:36 +0000 (14:58 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 25 Jan 2012 19:58:36 +0000 (14:58 -0500)
use by sesh.c.  This fixes NOEXEC when SELinux is used.  Instead
of disabling exec in exec_setup(), disable it immediately before
executing the command.  Adapted from a diff by Arno Schuring.

--HG--
branch : 1.8


Trivial merge