[Bug 257554] POSIX shared memory: Can't list allocations within jails
Date: Mon, 02 Aug 2021 09:50:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257554
Bug ID: 257554
Summary: POSIX shared memory: Can't list allocations within
jails
Product: Base System
Version: 13.0-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: grembo@FreeBSD.org
The sysctl kern.ipc.posix_shm_list isn't marked as jail-safe, which
results in problems listing POSIX shared memory allocations from
within a jail:
# posixshmcontrol ls
posixshmcontrol: cannot get kern.ipc.posix_shm_list length:
Operation not permitted
while accessing them directly works, e.g.:
# posixshmcontrol stat /xyz
output as expected...
See also the jails mailing list:
https://lists.freebsd.org/archives/freebsd-jail/2021-June/000029.html
--
You are receiving this mail because:
You are the assignee for the bug.