Skip to contentSkip to conversation

prlimit: add note to man page that setting limits without --pid is pointless.

PATCH Applied Bernhard Voelker 2 participants 2 messages Nov 14, 2011 – Nov 16, 2011 Util-Linux package

lore
Share & tools
lore
#0 lore raw

PATCH 12/15 prlimit: add note to man page that setting limits without --pid is pointless.

[PATCH 12/15] prlimit: add note to man page that setting limits without --pid is pointless.

---
 sys-utils/prlimit.1 |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
sys-utils/prlimit.1 +3 -0
index cc40ac4..fa45aca 100644
@@ -33,6 +33,9 @@ OPTIONS section.
 .SH GENERAL OPTIONS
 .IP "\fB\-p, \-\-pid\fP"
 Specify the process id, if none is given, it will use the running process.
+Please note that changing limits without specifying a PID is pointless,
+because then it will change the limit of the prlimit process which will
+shortly exit afterwards.
 .IP "\fB\-o, \-\-output \fIlist\fP"
 Define the output columns to use. If no output arrangement is 

specified, then a default set is used.
Use \fB\-\-help\fP to get list of all supported columns.

maintainer
#1 lore raw
Quoted 2 lines · Bernhard Voelker

[PATCH 12/15] prlimit: add note to man page that setting limits without --pid is pointless.

Not applied, we need the exec() call.

Karel

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com