aboutsummaryrefslogtreecommitdiff
path: root/proc/proc.h
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2017-03-09 23:10:05 +0100
committerJustus Winter <justus@gnupg.org>2017-03-09 23:55:41 +0100
commitfb3698ebbb375472832939d5534363d42de624f2 (patch)
treed0287347546182f573ab20a442fd8abdc55d5e0c /proc/proc.h
parentb66e7d0f2c4e0754e51ffce14386e1884c29d08e (diff)
downloadhurd-fb3698ebbb375472832939d5534363d42de624f2.tar.gz
hurd-fb3698ebbb375472832939d5534363d42de624f2.tar.bz2
hurd-fb3698ebbb375472832939d5534363d42de624f2.zip
proc: Remove erroneous process entry.
Previously, there was a spurious copy of PID 1 in the process table, usually PID 8. PID 1, usually a sysvinit compatible process, needs to be PID 1 even though it is not actually the first process on the Hurd. To this end, PID 1 is reserved, and the task is later supplied to proc via proc_set_init_task once startup starts sysvinit. Fixes 8d16db0cc28b2d911aee918d5c3582ad29ddfeed. * proc/mgt.c (S_proc_set_init_task): Check if sysvinit's task already made it into the process table, and remove it if so.
Diffstat (limited to 'proc/proc.h')
0 files changed, 0 insertions, 0 deletions