[Toybox] [PATCH] ulimit: actually use the units we claim.

Rob Landley rob at landley.net
Sun May 14 21:52:50 PDT 2023


On 5/14/23 23:47, Rob Landley wrote:
> So after some head scratching and false starts, what I'm currently leaning
> towards doing is:
> 
> 1) add units to ulimit like you did.
> 2) keep prlimit mostly like ulimit, but have it show/accept bytes.
> 3) have prlimit with no arguments default to -a (show all)
> 4) Add the HARD:SOFT parsing (to both). Keep ulimit's no-colon default to soft
> and make prlimit's no-colon default be "both".
> 5) Remove the multi-argument exclusions, go ahead and output all the enabled
> ones (with -a enabling all), but output them in alphabetical order instead of
> command line order. (This means the ulimit -c -c -c thing... ain't gonna?)

6) Maybe add -B to ulimit for "bytes" and poke Chet. :)

Rob


More information about the Toybox mailing list