summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/crypto/ui
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-05-13 15:53:19 +0000
committermillert <millert@openbsd.org>2002-05-13 15:53:19 +0000
commitf8b604999e71856e81a4b6c18d49c037b6392b9c (patch)
treedf7e9e894ac99ee2b8c454dd4273935e91c24fb0 /lib/libssl/src/crypto/ui
parentminor knf. (diff)
downloadwireguard-openbsd-f8b604999e71856e81a4b6c18d49c037b6392b9c.tar.xz
wireguard-openbsd-f8b604999e71856e81a4b6c18d49c037b6392b9c.zip
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 'lib/libssl/src/crypto/ui')
0 files changed, 0 insertions, 0 deletions