summaryrefslogtreecommitdiffstats
path: root/usr.bin/passwd/Makefile
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-04-13 23:28:23 +0000
committerjhb <jhb@FreeBSD.org>2002-04-13 23:28:23 +0000
commit300593a2ccab2cee97f538018bf9d0e16c8a54d8 (patch)
tree7241c58ab0fa7ede2a6a615c14169cf4afdc5f64 /usr.bin/passwd/Makefile
parente9c672efdc402dcaa17cfd89803208da905181ec (diff)
downloadFreeBSD-src-300593a2ccab2cee97f538018bf9d0e16c8a54d8.zip
FreeBSD-src-300593a2ccab2cee97f538018bf9d0e16c8a54d8.tar.gz
- Change donice() to take a thread as the first argument instead of a
process so it can use td_ucred. - Require the target process of donice() to be locked when donice() is called. - Use td_ucred. - Lock the target process of p_cansee() and while reading the credentials of a process. - Change the logic of rtprio() slightly so it does it's copyin() if needed prior to locking the target process. - rtprio() no longer needs Giant. In theory with full KSE it would still need Giant to protect p_ucred of curproc for the p_canfoo() functions but p_canfoo() will be changing to using td_ucred of curthread before full KSE hits the tree.
Diffstat (limited to 'usr.bin/passwd/Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud