diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-11-17 16:01:00 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-11-17 16:01:00 -0800 |
commit | 1947ca5714a76f53c759a438c4dadf8705e56f2c (patch) | |
tree | e5949dce7a2198a53b472a72b69d4fada6bf0eac /kernel | |
parent | b897d2ee0b88584bff7ef3a056682cb9b11b075a (diff) | |
download | history-1947ca5714a76f53c759a438c4dadf8705e56f2c.tar.gz |
Fix reading /proc/<pid>/mem when parent dies.
We should not touch "self_exec_id" here. The parent changed,
not we.
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/exit.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 1cf910bde58a8d..04f797a7d11f94 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -529,7 +529,6 @@ static inline void reparent_thread(task_t *p, task_t *father, int traced) /* We don't want people slaying init. */ if (p->exit_signal != -1) p->exit_signal = SIGCHLD; - p->self_exec_id++; if (p->pdeath_signal) /* We already hold the tasklist_lock here. */ |