]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC uipc_shm: Fix kern.ipc.posix_shm_list for jails
authorJamie Gritton <jamie@FreeBSD.org>
Wed, 29 Sep 2021 17:20:36 +0000 (10:20 -0700)
committerJamie Gritton <jamie@FreeBSD.org>
Thu, 7 Oct 2021 16:40:16 +0000 (09:40 -0700)
commit1ee0746e1af042f5c02f4121652f4ea0ec3788d3
tree6b2a494a4bfe7fcf7b217277a5bed89ac741febe
parentbdf50dc5afbce81cce2d0759ee36108c3cc8614b
MFC uipc_shm: Fix kern.ipc.posix_shm_list for jails

Fix error return of kern.ipc.posix_shm_list, which caused it (and thus
"posixshmcontrol ls") to fail for all jails that didn't happen to own
the last shm object in the list.

(cherry picked from commit 747a47261eee59b6e9c437cd2c1b3979df5c32ac)
sys/kern/uipc_shm.c