summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/div.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-04-13 23:07:05 +0000
committerjhb <jhb@FreeBSD.org>2002-04-13 23:07:05 +0000
commit95ee443e6cab0adc5860cb2ee5727179a23264ef (patch)
tree83c438d7ed639cb36b783fd625af91c5ce25df4e /lib/libc/stdlib/div.c
parent418e247b74b6a5a3ab7f271f4f90a7e646770a76 (diff)
downloadFreeBSD-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 'lib/libc/stdlib/div.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud