Re: RUN_PRECMD hook
Roland Illig <[email protected]> Mon, 13 Apr 2026 19:38:23 +0200
| Newsgroups | gmane.os.netbsd.devel.packages |
|---|---|
| Message-ID | <[email protected]> |
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