summaryrefslogtreecommitdiff
path: root/monitor_wrap.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-05-15 16:17:56 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-05-15 16:17:56 +0000
commit17401b6b772213ae466cb3ac287b4980ff9f7d0d (patch)
tree8dde6c72117e92007bbfd4ae6f7d17eecb309b35 /monitor_wrap.c
parenta574cda45b5d3c3363520ef9e4aa3aaa5888c078 (diff)
- millert@cvs.openbsd.org 2002/05/13 15:53:19
[sshd.c] Call setsid() in the child after sshd accepts the connection and forks. This is needed for privsep which calls setlogin() when it changes uids. Without this, there is a race where the login name of an existing connection, as returned by getlogin(), may be changed to the privsep user (sshd). markus@ OK
Diffstat (limited to 'monitor_wrap.c')
0 files changed, 0 insertions, 0 deletions