Home›OpenBSD Journal›Article

OpenBSD top(1) adds flag to show chroot, pledge and unveil status

Nov 6, 2026

AI summary AI-generated, may contain mistakes

A recent commit by Klemens Nanni added a new -Q flag (and corresponding key) to OpenBSD's top(1) command, allowing users to view each process' use of the chroot(2), pledge(2) and unveil(2) security facilities. The change modified several source files including display.c, machine.c, machine.h, top.1 and top.c. This enhancement makes the top(1) command considerably more useful for monitoring process security statuses.

With one recent commit, the top(1) command on OpenBSD became quite a bit more useful. The commit adds a new -Q flag to show each process' use of the chroot(2), pledge(2) and unveil(2) facilities.

The commit message reads,

List:       openbsd-cvs
Subject:    CVS: cvs.openbsd.org: src
From:       Klemens Nanni <kn () cvs ! openbsd ! org>
Date:       2026-11-05 17:54:16

CVSROOT:	/cvs
Module name:	src
Changes by:	kn@cvs.openbsd.org	2026/11/05 11:54:16

Modified files:
	usr.bin/top    : display.c machine.c machine.h top.1 top.c 

Log message:
add Q flag/key to show pledge/chroot/unveil usage
Keep reading

Out of respect for the author only the opening is shown here. Read the rest on the original site, or in HorizonReader with highlights, notes and AI help.

More from OpenBSD Journal

Game of Trees 0.131 released

Version 0.131 of Game of Trees has been released (and the port updated). The changes are: Read more…

LibreSSL 4.3.5 and 4.4.1 released

AI summaryThe LibreSSL project has announced the release of versions 4.3.5 and 4.4.1, which include bugfixes. The announcement, made by Brent Cook on the openbsd-announce mailing list on 2026-11-11, states that the releases will soon be available in the LibreSSL directory of local OpenBSD mirrors.

OpenSSH 10.6p2 released

AI summaryOpenSSH 10.6p2 has been released with a workaround for a critical vulnerability affecting Linux systems that use musl libc without PAM, such as Alpine Linux. Users of affected systems are urged to immediately set PasswordAuthentication=no or disable SSH, while non-Linux systems, Linux/glibc systems, and Linux systems using PAM are not vulnerable. The OpenSSH team considers the root cause of the bug to be outside OpenSSH itself but was well positioned to deliver a quick mitigation.

Work on GEFS (the Good Enough File System) for OpenBSD progresses

AI summaryOri Bernstein's GEFS ('Good Enough File System') work for OpenBSD is progressing, with his EuroBSDCon 2026 presentation ranking among the conference's most-viewed videos. He has posted updated, rebased code on the tech@ mailing list containing several important steps toward making the new file system ready for general use. He also thanked Martijn and other community members who tested the code and submitted patches.

LibreSSL 4.4.0, 4.3.4, 4.2.3 released

LibreSSL 4.4.0, 4.3.4 and 4.2.3 have been released. From the release notes: Read more…