#OpenBSD top(1) has a new 'Q' flag, like ps(1) displays the pledge/unveil/chroot process states, in addition the current pledge promises in the COMMAND column.
kn@ modified src/usr.bin/top/*: add Q flag/key to show pledge/chroot/unveil usage
Show promises in COMMAND and ps(1) state letters pertaining to pledge, chroot and unveil usage in PRIV instead of TIME.
To quickly identify programs (un)aware of their privileges and thus in extend the system's security.
A non-root user it not enough and alternatives like ps(1) -o state,pledge in tree-mode or wrapped in watch(1) are not nearly as ergonomic as top(1).
p and P are already in use, Q has no meaning, but is free.
OK deraadt
:flan_thumbs: