Commit 30280215 authored by Aditi Gaur's avatar Aditi Gaur Committed by Tim Wickberg
Browse files

Remove the pid argument from container_{g,p}_add_pid().

Removal of this argument forces the use of this function call only for
adding the calling process - and not any other process - to the job
container. This is needed for an in-development job container
plugin that adds jobs to namespaces. As it uses setns() system call -
which can only work on the calling process - the plugin thus relies
on being called from the calling process.

Bug 6567.
parent a7b7daec
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment