diff options
author | green <green@FreeBSD.org> | 1999-10-09 20:47:59 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 1999-10-09 20:47:59 +0000 |
commit | 14b89019c6f151d71fd698017bd5f36e1843357d (patch) | |
tree | 787eed7bab22ec8900a8687e7efee05a03b5f3e0 /bin | |
parent | f980526bf65a754175b095da7e9c65301bc51ef6 (diff) | |
download | FreeBSD-src-14b89019c6f151d71fd698017bd5f36e1843357d.zip FreeBSD-src-14b89019c6f151d71fd698017bd5f36e1843357d.tar.gz |
This implements the RLIMIT_SBSIZE ("sbsize") administrative limits for
userland. Currently, it can be enforced by login and csh. More
shells supporting sbsize are welcome.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/csh/func.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/csh/func.c b/bin/csh/func.c index 070fc84..2a1b802 100644 --- a/bin/csh/func.c +++ b/bin/csh/func.c @@ -1142,6 +1142,7 @@ static struct limits { { RLIMIT_MEMLOCK, "memorylocked", 1024, "kbytes" }, { RLIMIT_NPROC, "maxproc", 1, "" }, { RLIMIT_NOFILE, "openfiles", 1, "" }, + { RLIMIT_SBSIZE, "sbsize ", 1, "bytes" }, { -1, NULL, 0, NULL } }; |