diff options
author | zont <zont@FreeBSD.org> | 2012-12-18 07:27:50 +0000 |
---|---|---|
committer | zont <zont@FreeBSD.org> | 2012-12-18 07:27:50 +0000 |
commit | b56a027638876133cbec63c0ee0262507aae713b (patch) | |
tree | 72664e11a012718601fe39f49262b417a75e35c6 /lib/libc/stdlib/div.c | |
parent | 3a4e3b814af8211f139991b6ab47d3c08a587f80 (diff) | |
download | FreeBSD-src-b56a027638876133cbec63c0ee0262507aae713b.zip FreeBSD-src-b56a027638876133cbec63c0ee0262507aae713b.tar.gz |
- Set memorylocked limit to 64Kb for default login class.
This prevents unprivileged users to lock too much memory.
- Set memorylocked limit to 64Mb for daemon login class.
Some daemons such as amd(8) and watchdogd(8) calls mlockall(2) on
startup, they are run from init(8) which uses daemon login class.
- Set memorylocked limit to unlimited for root login class.
Suggested by: avg
Approved by: kib (mentor)
MFC after: 1 week
Diffstat (limited to 'lib/libc/stdlib/div.c')
0 files changed, 0 insertions, 0 deletions