summaryrefslogtreecommitdiff
path: root/proc/proc.h
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2017-03-09 23:51:54 +0100
committerJustus Winter <justus@gnupg.org>2017-03-09 23:55:41 +0100
commit150ff2ad69344d8555c14b42b2658313f16e9d1e (patch)
tree53d00a5d93e81ec3ecef541fbf8874c2ee8e1288 /proc/proc.h
parentfb3698ebbb375472832939d5534363d42de624f2 (diff)
proc: Refactor.
* proc/mgt.c (namespace_find_root): New function. (process_has_exited): Use new function. * proc/proc.h (namespace_find_root): New declaration.
Diffstat (limited to 'proc/proc.h')
-rw-r--r--proc/proc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proc/proc.h b/proc/proc.h
index ffb54bf0..c0696149 100644
--- a/proc/proc.h
+++ b/proc/proc.h
@@ -201,6 +201,7 @@ void leave_pgrp (struct proc *);
void join_pgrp (struct proc *);
void boot_setsid (struct proc *);
+struct proc *namespace_find_root (struct proc *);
void process_has_exited (struct proc *);
void alert_parent (struct proc *);
void reparent_zombies (struct proc *);