Back to all stories

The OpenBSD operating system has updated its top(1) command with a new flag, 'Q', which displays the status of chroot, pledge, and unveil for running processes. This addition aims to enhance system security by allowing users to quickly identify programs that are aware or unaware of their privileges. The 'Q' flag shows promises in the COMMAND column and state letters related to pledge, chroot, and unveil usage in the PRIV column, providing a more ergonomic alternative to using ps(1) with specific options or wrapping it in watch(1). To access this feature, users need to install a fresh OpenBSD snapshot.