]> granicus.if.org Git - sudo/commit
Unlimit nproc on Linux systems where calling the setuid() family
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 27 Jan 2008 21:34:41 +0000 (21:34 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 27 Jan 2008 21:34:41 +0000 (21:34 +0000)
commit72656eaf3bd98cc8925980aca0049ee30d8d2c00
tree8ce32d198492258af341328e97aa0cba209d7f25
parent801860b298d682467a5085936a1081498e1b68a6
Unlimit nproc on Linux systems where calling the setuid() family
of syscalls causes the nroc resource limit to be checked.  The
limits will be reset by pam_limits.so when PAM is used.  In the
non-PAM case the nproc limit will remain unlimited but there doesn't
seem to be a way around that other than having sudo parse
/etc/security/limits.conf directly.
sudo.c