summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2006-01-02 08:51:21 +0000
committerbrian <brian@FreeBSD.org>2006-01-02 08:51:21 +0000
commit9866b0b749093ed5076ca82f4a501174ba8c73d3 (patch)
treeabe55a71288e25092ae97f6c4f002b843c60f271 /sys
parent2a326134d0e35fa054037847b1446e8c4b4d61df (diff)
downloadFreeBSD-src-9866b0b749093ed5076ca82f4a501174ba8c73d3.zip
FreeBSD-src-9866b0b749093ed5076ca82f4a501174ba8c73d3.tar.gz
Remove broken code that mucks about with tcsetpgrp() -- even if
su isn't the foreground process. Hopefully this won't break PAM, but I couldn't find any useful information about ache's theory that it will. Specifically, this change fixes the following: # sh # echo $$ # su - root -c id & # echo $$ The PID output changes as su seems to be kill -STOP'ing itself and catching the parent shell in the process. This is especially bad if you add a ``su - user -c command &'' to an rc script! Sponsored by: Sophos/Activestate Not objected to by: des
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud