summaryrefslogtreecommitdiff
path: root/examples/chhostname.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2024-06-11 17:44:25 +0200
committerHelmut Grohne <helmut@subdivi.de>2024-06-11 18:09:04 +0200
commita457a6c7c8fa17e0cec137c68a6a090edeb23e57 (patch)
tree25d09219e03643812a9cb4f98f0dcd9dcd61bb9d /examples/chhostname.py
parente404a83f9225639636e1f955d0caf7df4df75cfe (diff)
downloadpython-linuxnamespaces-a457a6c7c8fa17e0cec137c68a6a090edeb23e57.tar.gz
unschroot: synchronize reparenting
Before this change, it could happen that we'd call prctl_set_child_subreaper before our parent actually died. Thus we'd quickly get the death signal. The additional synchronization point ensures that our previous parent process has been waited for (and thus we are reparented) before installing the death signal.
Diffstat (limited to 'examples/chhostname.py')
0 files changed, 0 insertions, 0 deletions