summaryrefslogtreecommitdiff
path: root/lib/libutil
diff options
context:
space:
mode:
authorBrian Feldman <green@FreeBSD.org>1999-10-09 20:47:59 +0000
committerBrian Feldman <green@FreeBSD.org>1999-10-09 20:47:59 +0000
commit6b3ced11a2b9225041e40efc39c5ffbcda94dab1 (patch)
tree5125c6f79d57e23f0d5dd15fbc6dbc80bb5c27a1 /lib/libutil
parentecf723083f6d5f8b90010e9d0b0dae93c9c1780c (diff)
Notes
Diffstat (limited to 'lib/libutil')
-rw-r--r--lib/libutil/login_class.31
-rw-r--r--lib/libutil/login_class.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/libutil/login_class.3 b/lib/libutil/login_class.3
index 4bb018577624..edbaa8931753 100644
--- a/lib/libutil/login_class.3
+++ b/lib/libutil/login_class.3
@@ -109,6 +109,7 @@ memoryuse RLIMIT_RSS
memorylocked RLIMIT_MEMLOCK
maxproc RLIMIT_NPROC
openfiles RLIMIT_NOFILE
+sbsize RLIMIT_SBSIZE
.Ed
.It LOGIN_SETPRIORITY
Set the scheduling priority for the current process based on the
diff --git a/lib/libutil/login_class.c b/lib/libutil/login_class.c
index 589ea4fdf400..2cd65bde96b2 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 }
};