summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-12-17 19:52:03 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-12-17 19:52:03 +0000
commit4e4f1f07e39d95aa348511b7ef0121e2f263754c (patch)
tree797f24e738c586e853c4a9a0fd46192b64312bcc /sbin
parent83be2ee7b43f27d0f0d633b47317d2013f1b6dae (diff)
Only call setlogin() if this proccess is a session leader.
In practice, this means the login name will be set only if we are exec'd by a shell. This is important because otherwise the parent shell's login name would change too.
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions