aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2009-06-23 20:57:27 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2009-06-23 20:57:27 +0000
commitc9253e931d306584898f210227172785fe663d45 (patch)
treedf8535674eb8cd6e5891dc1421be5690320af396 /bin
parent3364c323e6ad143e0e95e2d1c7c3c3b880515860 (diff)
downloadsrc-c9253e931d306584898f210227172785fe663d45.tar.gz
src-c9253e931d306584898f210227172785fe663d45.zip
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)
Notes
Notes: svn path=/head/; revision=194767
Diffstat (limited to 'bin')
-rw-r--r--bin/sh/miscbltin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/miscbltin.c b/bin/sh/miscbltin.c
index acb565468d16..a663c7535a55 100644
--- a/bin/sh/miscbltin.c
+++ b/bin/sh/miscbltin.c
@@ -403,7 +403,7 @@ ulimitcmd(int argc __unused, char **argv __unused)
struct rlimit limit;
what = 'f';
- while ((optc = nextopt("HSatfdsmcnuvlbp")) != '\0')
+ while ((optc = nextopt("HSatfdsmcnuvlbpw")) != '\0')
switch (optc) {
case 'H':
how = HARD;