tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: RUN_PRECMD hook



Am 13.04.2026 um 08:29 schrieb Jonathan Perkin:
> * On 2026-04-12 at 21:02 BST, Roland Illig wrote:
> 
>>> Any better ideas?  Would a more specific LIMIT_RESOURCES feature that is
>>> analogous to UNLIMIT_RESOURCES be more appropriate, or just too complex?
>>
>> As long as you need only the ulimit case, I prefer to have a more
>> specific API that only allows ulimit changes. That way, its purpose will
>> be clear even five years later.
> 
> I guess the simplest way to do this would be for it to just be called 
> ULIMIT_PRECMD or something.

Agreed. My RUN_PRECMDS suggestion made the API even more complicated
than your original suggestion. :)

Roland



Home | Main Index | Thread Index | Old Index