From nobody Tue Oct 17 19:43:43 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 4S94Cz2lX7z4xvK8; Tue, 17 Oct 2023 19:43:43 +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 4S94Cz26PYz3LQR; Tue, 17 Oct 2023 19:43:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697571823; 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=dUBEAYaUQMwSRYIVrfKFbnUXE7bRX4e3JeDVmsGMyVM=; b=b7hmq1/QjWoBHioVqebaUw3exP9Wp79oo60C6v/WqTQX7u5m1G6axcPcC/au+s6TDPVS0G e0NyP+6JE3rUEYKfsMtGi0MnmlM/CKhPETWjij36wtuCFj3vb/5RgXPHGCCQFqXLcw1Ngc ddvhG2RM0+Pv/M98yCh0HSZTA2RiGQJvJnxHVjRBOT4KVwrK/DrT7qqLbHFtiV6zkRxnNy oiaUMvoI4YxLYdq6S/UjPyM2NxbgHxYV1oN69DsLmn7sMpRPpvruxJfIfL9lU6VWpOilLd s+dqqnMNKy6EU7Mswn3lZsBdxl//245XbUbzzTc5M9rh1XRM+CHqsWK3nctCsA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697571823; a=rsa-sha256; cv=none; b=lNKammlOAQ0zgZiac2YY5NDMWDvdC0/CP4naH7wS4E3C76bLaAofraaSEd7P7L19sbOY0Q mJNaWYqw+9PJ3JRYmTfCd/arEIQNq7XyF2z260X30fnkTmq1uYRVxWDAawiZ8F5p2OHPqK KL94IgUUKSYK4IfAxuMCZ5XKrbUOuT42Dn48/zY6o6JOKQCJ0A0zrSM50JZWT13/LnNaUZ IYyZlMyxCJWafA/hY6l43Vt1F7zYM4NmprzuQnWIEefcSSkMtKvHLm9Lxubt9scqOZC/Ok giztDjYv5kUlW8ZuzVwVFFLxl5uIDrpgnjtBJak3GuevE2Y2TigBqpyIN45MGw== 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=1697571823; 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=dUBEAYaUQMwSRYIVrfKFbnUXE7bRX4e3JeDVmsGMyVM=; b=lAI6S5KkZP3B0o995asHX7C15jPT21aasNRFXK2mdnEOh8VqwIhDancYNo4tmnADhB1GgJ f7XKBTt718ue70EFGrpAms87ChFQE9curM+tdiLbJZHMknpJhBNk7Ewd3kc2bVui+trQ45 btU3zj7qXWbfdgunmpv4mtpsQBln7Mte3kj95EbqiVSEKs8y/tZkWvqZ7v41z/1WTINkat Yj0uKlbyHqOH7CIBrRrMLnJ0Cw9sBwm6W4wKyueCrsJq86wRqxW8mC8ctvWXNCqA/7sExF E7aD/5wheBy2+cV+NagMtQrmvIo8pI+dw/Cga/W37l+DxL1cCVeD65nbNQMfZg== 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 4S94Cz1CKmzdFc; Tue, 17 Oct 2023 19:43:43 +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 39HJhhE6013621; Tue, 17 Oct 2023 19:43:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39HJhhRM013619; Tue, 17 Oct 2023 19:43:43 GMT (envelope-from git) Date: Tue, 17 Oct 2023 19:43:43 GMT Message-Id: <202310171943.39HJhhRM013619@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mitchell Horne Subject: git: 4a8585251944 - stable/14 - security(7): security.bsd.see*: Be more accurate 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: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 4a8585251944e1d8f0242ee7937204e4fbcd3e8f Auto-Submitted: auto-generated The branch stable/14 has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=4a8585251944e1d8f0242ee7937204e4fbcd3e8f commit 4a8585251944e1d8f0242ee7937204e4fbcd3e8f Author: Olivier Certner AuthorDate: 2023-08-17 23:54:48 +0000 Commit: Mitchell Horne CommitDate: 2023-10-17 19:42:59 +0000 security(7): security.bsd.see*: Be more accurate Reviewed by: mhorne, pauamma_gundo.com MFC after: 2 weeks Sponsored by: Kumacom SAS Differential Revision: https://reviews.freebsd.org/D41108 (cherry picked from commit 61b6e00bee1d39e9c688e728fbf3a4efcdb61e66) --- share/man/man7/security.7 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/share/man/man7/security.7 b/share/man/man7/security.7 index ebe5e66e22af..a48e3607f0e5 100644 --- a/share/man/man7/security.7 +++ b/share/man/man7/security.7 @@ -959,16 +959,18 @@ Backwards compatibility shims for the interim sysctls under will not be added. .Bl -tag -width security.bsd.unprivileged_proc_debug .It Dv security.bsd.see_other_uids -Controls visibility of processes owned by different uid. +Controls visibility and reachability of subjects (e.g., processes) and objects +(e.g., sockets) owned by a different uid. The knob directly affects the .Dv kern.proc sysctls filtering of data, which results in restricted output from utilities like .Xr ps 1 . .It Dv security.bsd.see_other_gids -Same, for processes owned by different gid. +Same, for subjects and objects owned by a different gid. .It Dv security.bsd.see_jail_proc -Same, for processes belonging to a jail. +Same, for subjects and objects belonging to a different jail, including +sub-jails. .It Dv security.bsd.conservative_signals When enabled, unprivileged users are only allowed to send job control and usual termination signals like