summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_random.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-03-05 18:57:36 +0000
committerjhb <jhb@FreeBSD.org>2002-03-05 18:57:36 +0000
commit3a1d17e45b65f471a48cabb1b46335480f777c36 (patch)
tree7e1937b212c5be424e36cf0162f689d568fe1325 /sys/kern/kern_random.c
parent679afc69e30f49b444a094dee93fd3d00543507a (diff)
downloadFreeBSD-src-3a1d17e45b65f471a48cabb1b46335480f777c36.zip
FreeBSD-src-3a1d17e45b65f471a48cabb1b46335480f777c36.tar.gz
- Use td_ucred for jail checks.
- Move jail checks and some other checks involving constants and stack variables out from under Giant. This isn't perfectly safe atm because jail_sysvipc_allowed is read w/o a lock meaning that its value could be stale. This global variable will soon become a per-jail flag, however, at which time it will either not need a lock or will use the prison lock.
Diffstat (limited to 'sys/kern/kern_random.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud