diff options
author | kib <kib@FreeBSD.org> | 2009-10-18 12:55:39 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2009-10-18 12:55:39 +0000 |
commit | 04ed7ad878f2337842722490833d752a981f88e6 (patch) | |
tree | b104fad03850ee99331316f7022c7c050836f762 /sys/sun4v | |
parent | 8c2c0fd2b0706b366cd32fd428fbf34dce9fc50b (diff) | |
download | FreeBSD-src-04ed7ad878f2337842722490833d752a981f88e6.zip FreeBSD-src-04ed7ad878f2337842722490833d752a981f88e6.tar.gz |
Remove spurious call to priv_check(PRIV_VM_SWAP_NOQUOTA).
Call priv_check(PRIV_VM_SWAP_NORLIMIT) only when per-uid limit is
actually exceed.
Both changes aim at calling priv_check(9) only for the cases when
privilege is actually exercised by the process.
Reported and tested by: rwatson
Reviewed by: alc
MFC after: 3 days
Diffstat (limited to 'sys/sun4v')
0 files changed, 0 insertions, 0 deletions