From: jca@wxcvbn.org (Jérémie Courrèges-Anglas)
To: Gioele Barabucci <gioele@svario.it>
Cc: dash@vger.kernel.org
Subject: Re: [PATCH] man: Document ulimit -v
Date: Wed, 20 Jan 2016 19:02:47 +0100 [thread overview]
Message-ID: <87fuxs5dtk.fsf@ritchie.wxcvbn.org> (raw)
In-Reply-To: <56938FD6.3010600@svario.it> (Gioele Barabucci's message of "Mon, 11 Jan 2016 20:12:35 +0100")
Gioele Barabucci <gioele@svario.it> writes:
> Document that `ulimit` can set the `RLIMIT_AS` limit (virtual memory) with
> the `-v` flag.
I don't know much about RLIMIT_AS, but I know that it isn't supported on
all systems where dash runs, eg OpenBSD. Maybe is it Linux-specific?
Anyway, it would be better if the manpage said that the -v flag may not
be implemented on all platforms.
The same could be said about ulimit -w. (I did not check the other flags).
> Fixes: https://bugs.debian.org/78556
> Reported-by: Vincent Lefevre <vincent@vinc17.net>
> Signed-off-by: Gioele Barabucci <gioele@svario.it>
> ---
> src/dash.1 | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/src/dash.1 b/src/dash.1
> index 832eae7..8b8026d 100644
> --- a/src/dash.1
> +++ b/src/dash.1
> @@ -2114,7 +2114,7 @@ printed; for commands and tracked aliases the complete pathname of the
> command is printed.
> .It ulimit Xo
> .Op Fl H \*(Ba Fl S
> -.Op Fl a \*(Ba Fl tfdscmlpn Op Ar value
> +.Op Fl a \*(Ba Fl tfdscmlpnv Op Ar value
> .Xc
> Inquire about or set the hard or soft limits on processes or set new
> limits.
> @@ -2164,6 +2164,9 @@ show or set the limit on the number of processes this user can
> have at one time
> .It Fl n
> show or set the limit on the number files a process can have open at once
> +.It Fl v
> +show or set the limit on the total virtual memory that can be
> +in use by a process (in kilobytes)
> .It Fl r
> show or set the limit on the real-time scheduling priority of a process
> .El
--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
next prev parent reply other threads:[~2016-01-20 18:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-11 19:12 [PATCH] man: Document ulimit -v Gioele Barabucci
2016-01-20 18:02 ` Jérémie Courrèges-Anglas [this message]
2016-01-21 5:03 ` Herbert Xu
2016-01-21 7:25 ` Gioele Barabucci
2016-06-06 14:45 ` Herbert Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fuxs5dtk.fsf@ritchie.wxcvbn.org \
--to=jca@wxcvbn.org \
--cc=dash@vger.kernel.org \
--cc=gioele@svario.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.