From nobody Fri Sep 1 08:14:45 2023 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 4RcW6F5Nhfz4sDpb; Fri, 1 Sep 2023 08:14:45 +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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RcW6F4Z7pz3KjQ; Fri, 1 Sep 2023 08:14:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693556085; 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=hSY7Ew+VsKs5i2A74A1IgkYM48FFAX42ROV2FFh+gVs=; b=UFHc96UjNd+PnngkM1CJWlOlDkRQIHDOSbn9I/M0Gwx1vUCButpMBMzdCqZ2CfGi2sW1T3 LaxEoCzKLFyNkaW9lb6dO601IgHy1nJx1adcVDBWHhKb0R8GvXbBktRy1YsL56iOtQwboJ OAQQ3S8tN7u6+LF/2ku14QB52GNZDmsKQpuy5qmZrK8tDBSk0wx+0yCUlytOoZqRn7tpU0 pRyWiXqdg7Oc5dMkM2bWUuGU+O6gRSQ+jY7DU2tD3TcpjgqfEadADzXRS8Uo1nZf1GkRSS EAAVdVzSo9muBiLaDvKUGWu2cCWieDj9tPwbsMal8826Ho/QTtD/LXIGDZ6RAg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693556085; a=rsa-sha256; cv=none; b=s55N1VdrDtq2RY+CcDtbLRDT7KfPDAZn3si5SVq328r8Ikt4mtFwq4zx+jA1MMFbPe0jtZ scXlTYa3zbyRsvV6Vtr3PDpFY6zEF89ixBsLiaenrZ6DVHvA3rVu1GUw4B+sfA9IlyDeVl 587l5zCBOM7f1/a6Nm0d8gtLZrR3RGmr9jR79imTH3h0TmNvxzZKSRe7pwHu22Fb72LpT+ qY4HS4S+bFiMjdriX1yMbyl+VrB7N7uutUcjIHsBEz7I7Ib2ELF/CdhBmPedRqCdpeknoe cLDec83Psob7ZPP9/httc0+d/cCDZfC5Z75BHKT52N1cE2biWlZSkoPYJ46PqA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693556085; 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=hSY7Ew+VsKs5i2A74A1IgkYM48FFAX42ROV2FFh+gVs=; b=WB0q6ho2Wfxqa6xmdcjrJ/hxXeCgVkCgYOrWnMzFnzlCtMtisiEkOpdyqi5KHBNCwxqTnI 2P8xu5CRp2D1Ga2v0EqWSJtXpyxwuJrNc/Gioh3v5e+IZZIL6adyxlYztwUJqoFecuCvE+ UUSodCdvEz5MKp8E0WltfFQcmx4T/tlIncmIBWEhgvC7Q+GEjJTxBZPIEaK/aAFmSSh/+r Js0EiYOhaUZ8mZGqSRUhB3v8nrmg61CkKq1fz3DeNN0jkWWhQd7h+8+u0ivhL12u8OSqd8 q0YIKnMA0Qmis/qpCH3cPI0fnYi0noVgDrYea1nUYexba6lXMUKo7xsd63SkXA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RcW6F3fcyztTx; Fri, 1 Sep 2023 08:14:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3818EjBA008549; Fri, 1 Sep 2023 08:14:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3818EjHK008546; Fri, 1 Sep 2023 08:14:45 GMT (envelope-from git) Date: Fri, 1 Sep 2023 08:14:45 GMT Message-Id: <202309010814.3818EjHK008546@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dmitry Chagin Subject: git: 315d7bbbb4e4 - main - extattr(9): Mention system namespace restrictions in a jail List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dchagin X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 315d7bbbb4e4b35d195a0a74ede229b1f64d42cc Auto-Submitted: auto-generated The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=315d7bbbb4e4b35d195a0a74ede229b1f64d42cc commit 315d7bbbb4e4b35d195a0a74ede229b1f64d42cc Author: Dmitry Chagin AuthorDate: 2023-09-01 08:12:51 +0000 Commit: Dmitry Chagin CommitDate: 2023-09-01 08:12:51 +0000 extattr(9): Mention system namespace restrictions in a jail Reported by: netchild Reviewed by: gbe Differential revision: https://reviews.freebsd.org/D41676 MFC after: 1 week --- share/man/man9/extattr.9 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/share/man/man9/extattr.9 b/share/man/man9/extattr.9 index 3a49746d1eb1..c765a55e9059 100644 --- a/share/man/man9/extattr.9 +++ b/share/man/man9/extattr.9 @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd December 23, 1999 +.Dd September 1, 2023 .Dt EXTATTR 9 .Os .Sh NAME @@ -54,6 +54,10 @@ attribute data is protected according the normal discretionary and mandatory protections associated with the data in the file or directory; system attribute data is protected such that appropriate privilege is required to directly access or manipulate these attributes. +By default processes in a +.Xr jail 8 +can not access to the system attribute data unless allow.extattr +configuration parameter is specified. .Pp Reads of extended attribute data may return specific contiguous regions of the meta-data, in the style of @@ -77,6 +81,7 @@ Appropriate vnode extended attribute calls are: and .Xr VOP_SETEXTATTR 9 . .Sh SEE ALSO +.Xr jail 8 , .Xr VFS 9 , .Xr VFS_EXTATTRCTL 9 , .Xr VOP_GETEXTATTR 9 ,