[Toybox] [PATCH] ulimit: actually use the units we claim.
Rob Landley
rob at landley.net
Thu May 18 10:27:37 PDT 2023
On 5/17/23 12:40, enh wrote:
> So... display, change, display what you changed it to? (Except you know what you
> changed it to, there's no deltas, so it's just... reading back what you wrote to
> confirm it took?)
>
> yeah, exactly. (your later "what if there's a hard limit in the way?" point is a
> non-testing example where you might want to do that.)
Fetching it back and printing "Warning: -a capped at hard limit %lld" if they
don't match might be a better approach? (Could not set to requested value, print
warning to stderr.)
Again, probably an "ask chet". (Probably tomorrow, still recovering from travel.
International flights have gotten a bit less comfortable since pre-pandemic
times, which is saying something...)
Rob
More information about the Toybox
mailing list