aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/proc.h
diff options
context:
space:
mode:
authorMariusz Zaborski <oshogbo@FreeBSD.org>2019-07-29 21:42:57 +0000
committerMariusz Zaborski <oshogbo@FreeBSD.org>2019-07-29 21:42:57 +0000
commit9db97ca0bd2e95f473f80f36f239fcee3adbba8b (patch)
tree62e36c5eac0287e891a2d4da351f4639c435f7fe /sys/sys/proc.h
parent8cf79416933380b0456c7287692307c1fe6b6ecd (diff)
downloadsrc-9db97ca0bd2e95f473f80f36f239fcee3adbba8b.tar.gz
src-9db97ca0bd2e95f473f80f36f239fcee3adbba8b.zip
proc: make clear_orphan an public API
This will be useful for other patches with process descriptors. Change its name as well. Reviewed by: markj, kib
Notes
Notes: svn path=/head/; revision=350429
Diffstat (limited to 'sys/sys/proc.h')
-rw-r--r--sys/sys/proc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index 54728697b945..feaa64af654c 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -1074,6 +1074,7 @@ void proc_wkilled(struct proc *p);
struct pstats *pstats_alloc(void);
void pstats_fork(struct pstats *src, struct pstats *dst);
void pstats_free(struct pstats *ps);
+void proc_clear_orphan(struct proc *p);
void reaper_abandon_children(struct proc *p, bool exiting);
int securelevel_ge(struct ucred *cr, int level);
int securelevel_gt(struct ucred *cr, int level);