+extern void vfork_return(struct proc *child, register_t *retval, int rval);
+extern int exit1(struct proc *, int, int *);
+extern void vfork_exit_internal(struct proc *p, int rv, int forced);
+extern void proc_reparentlocked(struct proc *child, struct proc * newparent, int cansignal, int locked);
+extern int pgrp_iterate(struct pgrp * pgrp, int flags, int (*callout)(proc_t , void *), void *arg, int (*filterfn)(proc_t , void *), void *filterarg);
+extern int proc_iterate(int flags, int (*callout)(proc_t , void *), void *arg, int (*filterfn)(proc_t , void *), void *filterarg);
+extern int proc_rebootscan(int (*callout)(proc_t , void *), void *arg, int (*filterfn)(proc_t , void *), void *filterarg);
+extern int proc_childrenwalk(proc_t p, int (*callout)(proc_t , void *), void *arg);
+extern proc_t proc_findinternal(int pid, int funneled);
+extern void proc_refdrain(proc_t);
+extern void proc_childdrainlocked(proc_t);
+extern void proc_childdrainstart(proc_t);
+extern void proc_childdrainend(proc_t);
+extern void proc_checkdeadrefs(proc_t);
+struct proc *pfind_locked(pid_t);
+extern struct pgrp *pgfind(pid_t);
+extern void pg_rele(struct pgrp * pgrp);
+extern struct session * session_find_internal(pid_t sessid);
+extern struct pgrp * proc_pgrp(proc_t);
+extern struct pgrp * tty_pgrp(struct tty * tp);
+extern struct pgrp * pgfind_internal(pid_t);
+extern struct session * proc_session(proc_t);
+extern void pgrp_lock(struct pgrp * pgrp);
+extern void pgrp_unlock(struct pgrp * pgrp);
+extern void session_lock(struct session * sess);
+extern void session_unlock(struct session * sess);
+extern struct session * pgrp_session(struct pgrp * pgrp);
+extern void session_rele(struct session *sess);
+extern int isbackground(proc_t p, struct tty *tp);
+extern proc_t proc_parent(proc_t);
+extern proc_t proc_parentholdref(proc_t);
+extern int proc_parentdropref(proc_t, int);
+int itimerfix(struct timeval *tv);
+int itimerdecr(struct proc * p, struct itimerval *itp, int usec);
+void proc_signalstart(struct proc *, int locked);
+void proc_signalend(struct proc *, int locked);
+void proc_transstart(struct proc *, int locked);
+void proc_transend(struct proc *, int locked);
+void proc_transwait(struct proc *, int locked);
+void proc_rele_locked(struct proc * p);
+void proc_knote(struct proc * p, long hint);
+void workqueue_init_lock(proc_t p);
+void workqueue_destroy_lock(proc_t p);