Thread (2 messages) 2 messages, 2 authors, 2018-03-23

Re: [REVIEW][PATCH 09/11] ipc/shm: Fix shmctl(..., IPC_STAT, ...) between pid namespaces.

From: NAGARATHNAM MUTHUSAMY <hidden>
Date: 2018-03-23 21:41:55
Also in: linux-security-module, lkml


On 3/23/2018 2:33 PM, ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org wrote:
NAGARATHNAM MUTHUSAMY [off-list ref] writes:
quoted
Thanks!

Reviewed-by: Nagarathnam Muthusamy <redacted>
Does this look like it will address the issue you have been fighting
with pids?
We do use IPC shared memory but it is a single large one, shared by multiple
levels. We are currently looking into using a similar solution based on 
file locks.
When a new level is created, a file representing that level could be 
created in
a common path which could be locked by the init process of that level.
Parent levels could query the locking pid of that file to get the pid 
translation
of the init process of the required level. Then it could open a file 
descriptor
and use the translate_pid API for further translations.

Thanks,
Nagarathnam.
Eric
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help