summaryrefslogtreecommitdiff
path: root/kerberosV/libexec/kpasswdd
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-05-13 15:53:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-05-13 15:53:20 +0000
commit04b0e06af0a03c19824f92a0548e0729bb9a444a (patch)
tree481811a683cc3b9e6ced1813dbb63fb0956af06f /kerberosV/libexec/kpasswdd
parentd9ba81d009ea7f002ad4ea20a2b0da22663b49b9 (diff)
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 'kerberosV/libexec/kpasswdd')
0 files changed, 0 insertions, 0 deletions