From nobody Thu Dec 21 13: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 4Sws8c00Xfz54pZR; Thu, 21 Dec 2023 13:43:44 +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 4Sws8b4Y3Wz4Ngh; Thu, 21 Dec 2023 13: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=1703166223; 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=vt2Ax6bsLjkT7gphe3AFftNwGngIfSJpxKAHppJ0a3o=; b=WVbT2X6lNxRafnP8/z2b9WJKB3YXXCahtbmi6cRBSQgkJ34dvgRd3N2ahuXhjgsY0H1OwU hwbi1sEor+sQ/Qkq3L0ti3Okqqbpis6W8DCMUTZ2I+1mF7Tj8DLanz/z/b3SD0NLoBKpu7 N2NKM3CiWW/ZliZKuUCKF/5Rej63AiSb1OlEk8f4oAm+gCxpQlvTAYkx9mh0WgMh3zTkjb /1hZGkdyZLVeaGkWqvQjmY8uyhACZYwW86QpmJ6Asee5K4sYMgB/AqRjRFSWXlpklLnPjh VVWwvOTkrJYvFa3XGnzd++clHJ5DshyY+VksSJFY0FcAJhg3wMiedXR+/YX99w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703166223; a=rsa-sha256; cv=none; b=B2ZaAs8lQHdC75dKDTNGCuFSSDFmnHiQQfFU1i+3+pwhCx3FSDs0KRBFiJS7swp6YmXzUV ORfEruG4bGAK6TJNPHomalP3HIJ0cyYQTU1/tPR1IqSh2q2STt9tYs9gToL4egVzav2zkP mRS2oPLRO7Nx2jzxjGKOFArq15jQfotpi0evL4x+ydsiRCNG/6BG1eYvodxjnH7cTsBvgy wEiCj0Kva74M9IDnS0tzJsJHwQyx+TXn2BC7iDfDCaQ5LXhYrVVSY4etbID2xwCPkxCtVx fSTHPzV781HaxLrohudM1x+KxyW0OEGg1BBJx4SARW+dT7ha/F+JpYwu6fb4PA== 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=1703166223; 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=vt2Ax6bsLjkT7gphe3AFftNwGngIfSJpxKAHppJ0a3o=; b=CrQuxdZ5wAjHtpwP/uYhvFL4IqZQwZ5+PF5pEV+LKx+lBSfb9yP6CKffKS/tCa3W6HXe6o ydpgqak4i/IRWEQ5MgiiFdyTtI5eNP2eR/6N+DBkKncwzQTTrkUGQ3X9t+pmwepX909Ydj lUWCMr9+5trPlPgUPse00u5hjyZch8hPJGWXAt3KDQanjkBV1bUvh+380mrClaM1Yk9MFm lH6cnRAvshMCEvdMOAZCHhIjFtf09jomasRoiEaa2B/PtAE5fvLrmw6cPlBo9JIfc319sS W/ylAWP2rCtLuB/w/PWiTSQ3X5Qd6wMcye6yAY7hvBFSYrntxzWWo8F/xP7CtQ== 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 4Sws8b3fhtzZdH; Thu, 21 Dec 2023 13: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 3BLDhhxP079413; Thu, 21 Dec 2023 13: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 3BLDhhU5079410; Thu, 21 Dec 2023 13:43:43 GMT (envelope-from git) Date: Thu, 21 Dec 2023 13:43:43 GMT Message-Id: <202312211343.3BLDhhU5079410@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Olivier Certner Subject: git: 56f758066c82 - stable/13 - 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: olce X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 56f758066c8272ce37394365945ae62c10456e49 Auto-Submitted: auto-generated The branch stable/13 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=56f758066c8272ce37394365945ae62c10456e49 commit 56f758066c8272ce37394365945ae62c10456e49 Author: Olivier Certner AuthorDate: 2023-08-17 23:54:48 +0000 Commit: Olivier Certner CommitDate: 2023-12-21 13:38:22 +0000 security(7): security.bsd.see*: Be more accurate Reviewed by: mhorne, pauamma_gundo.com Sponsored by: Kumacom SAS Differential Revision: https://reviews.freebsd.org/D41108 (cherry picked from commit 61b6e00bee1d39e9c688e728fbf3a4efcdb61e66) Approved by: markj (mentor) --- share/man/man7/security.7 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/share/man/man7/security.7 b/share/man/man7/security.7 index e84d3cf4fb4b..785cfcb6c7e5 100644 --- a/share/man/man7/security.7 +++ b/share/man/man7/security.7 @@ -26,7 +26,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd January 14, 2022 +.Dd August 18, 2023 .Dt SECURITY 7 .Os .Sh NAME @@ -956,16 +956,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