Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Aug 2021 09:50:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 257554] POSIX shared memory: Can't list allocations within jails
Message-ID:  <bug-257554-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257554

            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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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