Skip to content

prlimit

Bernhard Voelker util-linux 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 25 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/15prlimit: show all limits if called without optionssys-utils/prlimit.c+1 -21 reply
2/15prlimit: add opt_id array to match short options to limit idssys-utils/prlimit.c+22 -322 replies
3/15prlimit: fix diagnostic when setting current PIDs resources failssys-utils/prlimit.c+6 -21 reply
4/15prlimit: add warning diagnostic when attempting to change prlimit's limitssys-utils/prlimit.c+5 -24 replies
5/15prlimit: fix diagnostic when setting a limit failssys-utils/prlimit.c+11 -40 replies
6/15prlimit: enhance diagnostic when changing a limit fails: add limit namesys-utils/prlimit.c+8 -41 reply
7/15prlimit: fix case when getting missing limit is needed and PID is given latersys-utils/prlimit.c+34 -231 reply
8/15prlimit: give better diagnostic for illegal hard limit casesys-utils/prlimit.c+11 -00 replies
9/15prlimit: fix typo in man page, option --verbosesys-utils/prlimit.1+1 -11 reply
10/15prlimit: refactor code: separate modify and show clearlysys-utils/prlimit.c+8 -84 replies
11/15prlimit: avoid segfault due to array-out-of-bounds errorsys-utils/prlimit.c+22 -102 replies
12/15prlimit: add note to man page that setting limits without --pid is pointless.sys-utils/prlimit.1+3 -01 reply
13/15prlimit: enhance examples section of the man pagesys-utils/prlimit.1+1 -14 replies
14/15prlimit: avoid prlimit syscalls for limits unless to modify or to showsys-utils/prlimit.c+0 -01 reply
15/15prlimit: fix displaying of modified limitssys-utils/prlimit.c+1 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/15] prlimit

prlimit was not very graceful regarding option parsing.

The central change of this series is done in [PATCH 11/15] which changes the way the lims array is used/filled. Others prepare the code to have a smaller main patch, or fix problems which arouse from the different use of the lims array.

[PATCH 01/15] prlimit: show all limits if called without options
[PATCH 02/15] prlimit: add opt_id array to match short options to limit ids [PATCH 03/15] prlimit: fix diagnostic when setting current PIDs resources fails [PATCH 04/15] prlimit: add warning diagnostic when attempting to change prlimit's limits [PATCH 05/15] prlimit: fix diagnostic when setting a limit fails
[PATCH 06/15] prlimit: enhance diagnostic when changing a limit fails: add limit name [PATCH 07/15] prlimit: fix case when getting missing limit is needed and PID is given later [PATCH 08/15] prlimit: give better diagnostic for illegal hard limit case [PATCH 09/15] prlimit: fix typo in man page, option --verbose
[PATCH 10/15] prlimit: refactor code: separate modify and show clearly [PATCH 11/15] prlimit: avoid segfault due to array-out-of-bounds error [PATCH 12/15] prlimit: add note to man page that setting limits without --pid is pointless. [PATCH 13/15] prlimit: enhance examples section of the man page
[PATCH 14/15] prlimit: avoid prlimit syscalls for limits unless to modify or to show [PATCH 15/15] prlimit: fix displaying of modified limits

I hope I didn't screw up too much. Please let me know what you think about it.

Have a nice day,
Berny