-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
child: reconfigure Pdeathsig (release v0.4.1) #66
Conversation
The parent calls child with Pdeathsig, but it is cleared when newuidmap SUID binary is called rootless-containers#65 (comment) Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Now the child process is killed when the parent dies (rootless-containers/rootlesskit#66) rootless-containers/rootlesskit@e92d5e7...27a0c7a Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Now the child process is killed when the parent dies (rootless-containers/rootlesskit#66) Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Now the child process is killed when the parent dies (rootless-containers/rootlesskit#66) rootless-containers/rootlesskit@e92d5e7...27a0c7a Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp> Upstream-commit: 00c92a671933c0e3f9b67940746d31144902929f Component: engine
Now the child process is killed when the parent dies (rootless-containers/rootlesskit#66) rootless-containers/rootlesskit@e92d5e7...27a0c7a Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Now the child process is killed when the parent dies (rootless-containers/rootlesskit#66) rootless-containers/rootlesskit@e92d5e7...27a0c7a Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp> (cherry picked from commit 00c92a6) Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Now the child process is killed when the parent dies (rootless-containers/rootlesskit#66) rootless-containers/rootlesskit@e92d5e7...27a0c7a Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp> (cherry picked from commit 00c92a671933c0e3f9b67940746d31144902929f) Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp> Upstream-commit: 8f61032ec4dba329a7206c0d17c184d276db575d Component: engine
// https://github.com/rootless-containers/rootlesskit/issues/65#issuecomment-492343646 | ||
runtime.LockOSThread() | ||
err = unix.Prctl(unix.PR_SET_PDEATHSIG, uintptr(unix.SIGKILL), 0, 0, 0) | ||
runtime.UnlockOSThread() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is incorrect, for PDEATHSIG the parent is the thread, not the process. I'll leave a more detailed comment on the original issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you open an issue?
The parent calls child with Pdeathsig, but it is cleared when newuidmap SUID binary is called
#65 (comment)
Signed-off-by: Akihiro Suda akihiro.suda.cz@hco.ntt.co.jp