summaryrefslogtreecommitdiffstats
path: root/lib/libutil/login_class.c
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>1999-10-09 20:47:59 +0000
committergreen <green@FreeBSD.org>1999-10-09 20:47:59 +0000
commit14b89019c6f151d71fd698017bd5f36e1843357d (patch)
tree787eed7bab22ec8900a8687e7efee05a03b5f3e0 /lib/libutil/login_class.c
parentf980526bf65a754175b095da7e9c65301bc51ef6 (diff)
downloadFreeBSD-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 'lib/libutil/login_class.c')
-rw-r--r--lib/libutil/login_class.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libutil/login_class.c b/lib/libutil/login_class.c
index 589ea4f..2cd65bd 100644
--- a/lib/libutil/login_class.c
+++ b/lib/libutil/login_class.c
@@ -59,6 +59,7 @@ static struct login_res {
{ "maxproc", login_getcapnum, RLIMIT_NPROC },
{ "openfiles", login_getcapnum, RLIMIT_NOFILE },
{ "coredumpsize", login_getcapsize, RLIMIT_CORE },
+ { "sbsize", login_getcapnum, RLIMIT_SBSIZE },
{ NULL, 0, 0 }
};
OpenPOWER on IntegriCloud