Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Mar 2022 23:09:52 GMT
From:      Jamie Gritton <jamie@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 803d7f4ccdca - stable/13 - posixshm: Allow jails to use kern.ipc.posix_shm_list
Message-ID:  <202203022309.222N9qNM061091@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jamie:

URL: https://cgit.FreeBSD.org/src/commit/?id=803d7f4ccdca197a1b2fcb2c8ecc2e4bf18f15d0

commit 803d7f4ccdca197a1b2fcb2c8ecc2e4bf18f15d0
Author:     Jamie Gritton <jamie@FreeBSD.org>
AuthorDate: 2022-02-24 17:30:49 +0000
Commit:     Jamie Gritton <jamie@FreeBSD.org>
CommitDate: 2022-03-02 23:08:00 +0000

    posixshm: Allow jails to use kern.ipc.posix_shm_list
    
    PR:             257554
    Reported by:    grembo@
    
    (cherry picked from commit d7c4ea7d728e7480477eaedf79fac84e7d1aefde)
---
 sys/kern/uipc_shm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/uipc_shm.c b/sys/kern/uipc_shm.c
index 2c9cf92fe5ad..d1038766fb19 100644
--- a/sys/kern/uipc_shm.c
+++ b/sys/kern/uipc_shm.c
@@ -1948,7 +1948,7 @@ sysctl_posix_shm_list(SYSCTL_HANDLER_ARGS)
 }
 
 SYSCTL_PROC(_kern_ipc, OID_AUTO, posix_shm_list,
-    CTLFLAG_RD | CTLFLAG_MPSAFE | CTLTYPE_OPAQUE,
+    CTLFLAG_RD | CTLFLAG_PRISON | CTLFLAG_MPSAFE | CTLTYPE_OPAQUE,
     NULL, 0, sysctl_posix_shm_list, "",
     "POSIX SHM list");
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203022309.222N9qNM061091>