Bug 257556 - POSIX shared memory: Allow listing shared memory segments by jail
Summary: POSIX shared memory: Allow listing shared memory segments by jail
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 13.0-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: Jamie Gritton
URL:
Keywords:
Depends on: 257554
Blocks:
  Show dependency treegraph
 
Reported: 2021-08-02 10:08 UTC by Michael Gmelin
Modified: 2021-08-06 21:39 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Gmelin freebsd_committer 2021-08-02 10:08:45 UTC
When listing POSIX shared memory segments using posixshmcontrol, it
would be nice to be able to limit the output based on jail id and/or
jail name, e.g.

    posixshmcontrol -j shmtest ls

This could be made work based on the jail's path, as this already
controls access to shared memory segments (and should also
work subjails/jail hierarchies - hence the dependency on bug #257554).

See also this discussion:
https://lists.freebsd.org/archives/freebsd-jail/2021-June/000029.html