diff options
author | 2002-05-13 15:53:19 +0000 | |
---|---|---|
committer | 2002-05-13 15:53:19 +0000 | |
commit | f8b604999e71856e81a4b6c18d49c037b6392b9c (patch) | |
tree | df7e9e894ac99ee2b8c454dd4273935e91c24fb0 /lib/libssl/src/crypto/ui/ui.h | |
parent | minor knf. (diff) | |
download | wireguard-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/ui.h')
0 files changed, 0 insertions, 0 deletions