Small improvements to the chpst(8) utility of the runit suite.
Functionality:
- New
-Noption causes-0,-1and-2to reopen standard descriptors to /dev/null, before any chroot, rather than closing them. -/ +rootworks just like-/ root, but account lookups (-u/-U) and lockfiles (-l/-L) are performed before chroot(2).-xoption exits successfully and silently if file locking fails, like setlock.- New
-Aoption sets or clears an alarm(2). - Soft resource limit options now accept '=', just like softlimit.
-2now preserves previously swallowed error messages
Documentation:
- usage() text displays all options, including previously undocumented
rlimits
-rand-t - man page and html document all options