Skip to content
  • Konstantin Belousov's avatar
    Add a kern.ipc.posix_shm_list sysctl. · 56d0e33e
    Konstantin Belousov authored
    The sysctl provides the listing on named linked posix shared memory
    segments existing in the system.
    
    Reuse shm_fill_kinfo() for filling individual struct kinfo_file.
    Remove unneeded lock around reading of shmfd->shm_mode.
    
    Reviewed by:	jilles, tmunro
    Sponsored by:	The FreeBSD Foundation
    MFC after:	1 week
    Differential revision:	https://reviews.freebsd.org/D20258
    56d0e33e