Bug 257556

Summary: POSIX shared memory: Allow listing shared memory segments by jail
Product: Base System Reporter: Michael Gmelin <grembo>
Component: binAssignee: Jamie Gritton <jamie>
Status: New ---    
Severity: Affects Only Me CC: emaste, rob2g2-freebsd
Priority: ---    
Version: 13.0-RELEASE   
Hardware: Any   
OS: Any   
Bug Depends on: 257554    
Bug Blocks:    

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: