diff options
author | kib <kib@FreeBSD.org> | 2009-06-23 20:57:27 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2009-06-23 20:57:27 +0000 |
commit | e91d5cfe697741148ddb95a70d94e528df25f652 (patch) | |
tree | df8535674eb8cd6e5891dc1421be5690320af396 /lib/libutil/login_class.c | |
parent | fa686c638eece83a18de058d1934f4722487818b (diff) | |
download | FreeBSD-src-e91d5cfe697741148ddb95a70d94e528df25f652.zip FreeBSD-src-e91d5cfe697741148ddb95a70d94e528df25f652.tar.gz |
Usermode portion of the support for swap allocation accounting:
- update for getrlimit(2) manpage;
- support for setting RLIMIT_SWAP in login class;
- addition to the limits(1) and sh and csh limit-setting builtins;
- tuning(7) documentation on the sysctls controlling overcommit.
In collaboration with: pho
Reviewed by: alc
Approved by: re (kensmith)
Diffstat (limited to 'lib/libutil/login_class.c')
-rw-r--r-- | lib/libutil/login_class.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libutil/login_class.c b/lib/libutil/login_class.c index 5074519..d54b301 100644 --- a/lib/libutil/login_class.c +++ b/lib/libutil/login_class.c @@ -64,6 +64,7 @@ static struct login_res { { "sbsize", login_getcapsize, RLIMIT_SBSIZE }, { "vmemoryuse", login_getcapsize, RLIMIT_VMEM }, { "pseudoterminals", login_getcapnum, RLIMIT_NPTS }, + { "swapuse", login_getcapsize, RLIMIT_SWAP }, { NULL, 0, 0 } }; |