From owner-dev-commits-src-all@freebsd.org Fri Jun 25 16:13:15 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CBEA8665DD0; Fri, 25 Jun 2021 16:13:15 +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 4GBMVg5Fb8z4kY2; Fri, 25 Jun 2021 16:13:15 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 9C7D06535; Fri, 25 Jun 2021 16:13:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 15PGDFrR090029; Fri, 25 Jun 2021 16:13:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15PGDFhc090028; Fri, 25 Jun 2021 16:13:15 GMT (envelope-from git) Date: Fri, 25 Jun 2021 16:13:15 GMT Message-Id: <202106251613.15PGDFhc090028@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Michael Gmelin Subject: git: e349cc19cf1c - main - shm_open(2): Cross-reference posixshmcontrol(1) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: grembo X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e349cc19cf1c3a2315f0e5254a44de01d9ac61bf Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2021 16:13:15 -0000 The branch main has been updated by grembo (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=e349cc19cf1c3a2315f0e5254a44de01d9ac61bf commit e349cc19cf1c3a2315f0e5254a44de01d9ac61bf Author: Michael Gmelin AuthorDate: 2021-06-25 14:04:37 +0000 Commit: Michael Gmelin CommitDate: 2021-06-25 16:12:05 +0000 shm_open(2): Cross-reference posixshmcontrol(1) When debugging POSIX shared memory issues, it's really useful to learn that there is a command line tool now to manipulate shared memory segments. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D30896 --- lib/libc/sys/shm_open.2 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/libc/sys/shm_open.2 b/lib/libc/sys/shm_open.2 index e231115613cf..edf5440d44c4 100644 --- a/lib/libc/sys/shm_open.2 +++ b/lib/libc/sys/shm_open.2 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd September 26, 2019 +.Dd June 25, 2021 .Dt SHM_OPEN 2 .Os .Sh NAME @@ -52,7 +52,7 @@ The .Fn shm_open system call opens (or optionally creates) a -.Tn POSIX +POSIX shared memory object named .Fa path . The @@ -258,7 +258,7 @@ and .Dv O_TRUNC flags may be used in portable programs. .Pp -.Tn POSIX +POSIX specifications state that the result of using .Xr open 2 , .Xr read 2 , @@ -421,6 +421,7 @@ The required permissions are denied. requires write permission to the shared memory object. .El .Sh SEE ALSO +.Xr posixshmcontrol 1 , .Xr close 2 , .Xr fstat 2 , .Xr ftruncate 2 ,