NAGARATHNAM MUTHUSAMY <nagarathnam.muthusamy@xxxxxxxxxx> writes:
On 3/23/2018 2:33 PM, ebiederm@xxxxxxxxxxxx wrote:Do you want to resend the translate_pid API with file descriptors as it
NAGARATHNAM MUTHUSAMY <nagarathnam.muthusamy@xxxxxxxxxx> writes:We do use IPC shared memory but it is a single large one, shared by multiple
Thanks!Does this look like it will address the issue you have been fighting
Reviewed-by: Nagarathnam Muthusamy <nagarathnam.muthusamy@xxxxxxxxxx>
with pids?
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.
was in the lwn article? That I will apply.
Eric