gvisor/pkg/sentry/kernel/semaphore
Rahat Mahmood b904250b86 Fix capability check for sysv semaphores.
Capabilities for sysv sem operations were being checked against the
current task's user namespace. They should be checked against the user
namespace owning the ipc namespace for the sems instead, per
ipc/util.c:ipcperms().

PiperOrigin-RevId: 197063111
Change-Id: Iba29486b316f2e01ee331dda4e48a6ab7960d589
2018-05-17 15:38:11 -07:00
..
BUILD Check in gVisor. 2018-04-28 01:44:26 -04:00
semaphore.go Fix capability check for sysv semaphores. 2018-05-17 15:38:11 -07:00
semaphore_test.go Fix capability check for sysv semaphores. 2018-05-17 15:38:11 -07:00