Change the ability set of the invoking process (QNX Neutrino)
ability [ability-spec...]
QNX Neutrino
If the ability accepts a subrange, the above may be followed by a colon and a comma-separated list of subranges, in one of the following forms:
The ability utility lets you allow or deny abilities for the invoking process. You can specify multiple abilities.
If you specify allow, deny, lock, root, nonroot, or all without an ability name, the action applies to all abilities not specifically mentioned in another -A option.
For more information about abilities, see the entry for procmgr_ability() in the QNX Neutrino C Library Reference.
Deny forking while running as root, but allow the process to set _CS_HOSTNAME when non-root:
ability root,deny,fork nonroot,allow,confset:2