From nobody Fri Nov 20 15:10:57 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4jWJgj370Tz71y3V for ; Fri, 20 Nov 2026 15:10:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jWJgj1lYKz4jTJ for ; Fri, 20 Nov 2026 15:10:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1795187457; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EFp2n/isvylocp90JbWpxJMLgnn1wrI9AwfVOJlDOF4=; b=EZD2tqIuR3ajZ/+/5ORYdyS+Ryph/K830zmq98o/6NAeZ6bSfGi5K3jjaaQz+ItJgre124 HanzWZN8ilZppw6Hwz3D/D0i+9K2LE5uaQaHKbA1llB0D2WzT/GmBgrooRprW87d7mYMSE d4it/24ynL7OirKwzsVOzW8UgMSgUY48fBvIEvSuuz8zxeYQ3XfQd4J8YDMC/fbXosXo/l 4gYMePDbqmLHJlgkoSrH0kxMLnvtnkCN7ZvQPtcxKSTjB/z6AccO7NBzCYmf++uMfYeetj AnPEdqFm9DIE6+P2+fwbfaBm7a1Ez4EO94RFZPEeB+SqXtHxqSIr1tU5Tcw4lw== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1795187457; b=wlsbolRfR+0O03PfQ1ipXaVRHDtZfhOiaNfMAQe/A1yfvtNNI/QtaozmV/jvCNCt3Pju3o mirHaw79x3n/3ICCGZfQZnU+5b9cmmSQIlUULY0ZPw/Rtw+d2huG0O2hzf1bpSohN8x48N wDzK9pp428NUewc814Zp5raqz3m2+iI5VmUol1Iml/MlImQk+xGUy1BoC0Bc0c4jj7ATuM RjWHyNPBvWFcHJ8rEmCagS6xCcuOUog4yZ0J2PKbR3AD7Wk2uAtBOwJ4Ok/xxNOw+XZHjf U7lhRJ2GDtlsMD10fwVC5ceVYkHyHPqWwweW6ICfTwHnEjj/vmPD19/dUdiFiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1795187457; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EFp2n/isvylocp90JbWpxJMLgnn1wrI9AwfVOJlDOF4=; b=TivBIHtqBnzkacGitUu5drO9xR/H/jdSNKE8pXFX0bAvFlDOyyhMX5Ip3PESDBhacjMvDA ceo8Ba4x7SPpLnRKlkzWmqs0yVCUT8dloLeTwEwQLT0A9NMqoWl9S4nfew/26Pn6ipqkeE 9uBO7TLoXBC43C7zGlBm/eqeopK920QVwzP+LMzBvmO5mkw2QAucqQioBwZqZUdcsXlU/M Tq9EHrCA3ZbHQWYhthDqz4nrIvsnv9T73bnEtmG2focpc91UIFtjmOFe0ZT+Q/u19QyleI COqMRdefub+QhzbXgX6Qk3xd4vg8SBlyX2ipa6h/4os+BIrC+A5zgSMADSMjcA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4jWJgj1KD4ztPp for ; Fri, 20 Nov 2026 15:10:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1875b by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 20 Nov 2026 15:10:57 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 29691ecea350 - main - cap_enter.2: document clearing altroot List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org List-Id: Commit messages for all branches of the src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 29691ecea35062c154d3ae36bd486349dc82abae Auto-Submitted: auto-generated Date: Fri, 20 Nov 2026 15:10:57 +0000 Message-Id: <6b006301.1875b.3213e6ce@gitrepo.freebsd.org> The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=29691ecea35062c154d3ae36bd486349dc82abae commit 29691ecea35062c154d3ae36bd486349dc82abae Author: Konstantin Belousov AuthorDate: 2026-11-03 13:39:13 +0000 Commit: Konstantin Belousov CommitDate: 2026-11-20 15:10:27 +0000 cap_enter.2: document clearing altroot Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D60035 --- lib/libsys/cap_enter.2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libsys/cap_enter.2 b/lib/libsys/cap_enter.2 index d1248d4d8b8f..d55ba5808662 100644 --- a/lib/libsys/cap_enter.2 +++ b/lib/libsys/cap_enter.2 @@ -64,6 +64,8 @@ When combined with may be used to create kernel-enforced sandboxes in which appropriately-crafted applications or application components may be run. .Pp +Entering capability mode clears the alternative root set by +.Xr chaltroot 2 . Other threads are stopped while the call runs, so some of their interrupted system calls may return .Er EINTR .