summaryrefslogtreecommitdiffstats
path: root/init/init_task.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2018-07-13 15:30:33 -0500
committerEric W. Biederman <ebiederm@xmission.com>2018-07-23 07:57:12 -0500
commit4ca1d3ee46130e9b939c02a93e3970dad151fed6 (patch)
tree7bf6b99caa95de54febc2597e9c2ef3d7bb9f033 /init/init_task.c
parent0729614992c946f6e8ccb9ef260aea1f06993df0 (diff)
downloadlinux-4ca1d3ee46130e9b939c02a93e3970dad151fed6.tar.bz2
fork: Move and describe why the code examines PIDNS_ADDING
Normally this would be something that would be handled by handling signals that are sent to a group of processes but in this case the forking process is not a member of the group being signaled. Thus special code is needed to prevent a race with pid namespaces exiting, and fork adding new processes within them. Move this test up before the signal restart just in case signals are also pending. Fatal conditions should take presedence over restarts. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'init/init_task.c')
0 files changed, 0 insertions, 0 deletions