diff options
author | jhb <jhb@FreeBSD.org> | 2002-04-13 23:07:05 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-04-13 23:07:05 +0000 |
commit | 95ee443e6cab0adc5860cb2ee5727179a23264ef (patch) | |
tree | 83c438d7ed639cb36b783fd625af91c5ce25df4e /sys/fs/procfs | |
parent | 418e247b74b6a5a3ab7f271f4f90a7e646770a76 (diff) | |
download | FreeBSD-src-95ee443e6cab0adc5860cb2ee5727179a23264ef.zip FreeBSD-src-95ee443e6cab0adc5860cb2ee5727179a23264ef.tar.gz |
- Change the algorithms of the syscalls to modify process credentials to
allocate a blank cred first, lock the process, perform checks on the
old process credential, copy the old process credential into the new
blank credential, modify the new credential, update the process
credential pointer, unlock the process, and cleanup rather than trying
to allocate a new credential after performing the checks on the old
credential.
- Cleanup _setugid() a little bit.
- setlogin() doesn't need Giant thanks to pgrp/session locking and
td_ucred.
Diffstat (limited to 'sys/fs/procfs')
0 files changed, 0 insertions, 0 deletions