summaryrefslogtreecommitdiffstats
path: root/include/pwd.h
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2012-07-04 19:51:25 +0000
committerpjd <pjd@FreeBSD.org>2012-07-04 19:51:25 +0000
commit8cbf06904c76a2c9ed6b6e796cc669bb7b92e090 (patch)
treed0dad201d7d17d8750958079b6795c4eed40e39a /include/pwd.h
parent860961ab47e87d7fdd9b6940ef70346e37f33708 (diff)
downloadFreeBSD-src-8cbf06904c76a2c9ed6b6e796cc669bb7b92e090.zip
FreeBSD-src-8cbf06904c76a2c9ed6b6e796cc669bb7b92e090.tar.gz
Prefer sysctl to open/read/close for obtaining random data.
This method is more sandbox-friendly and also should be faster as only one syscall is needed instead of three. In case of an error fall back to the old method. Reviewed by: simon, gleb MFC after: 2 weeks
Diffstat (limited to 'include/pwd.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud