+extern void vfork_return(struct proc *child, int32_t *retval, int rval);
+extern int exit1(struct proc *, int, int *);
+extern int exit1_internal(struct proc *, int, int *, boolean_t, boolean_t, int);
+extern int fork1(proc_t, thread_t *, int, coalition_t);
+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 locked);
+extern proc_t proc_findthread(thread_t thread);
+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);
+int proc_transstart(struct proc *, int locked, int non_blocking);
+void proc_transcommit(struct proc *, int locked);
+void proc_transend(struct proc *, int locked);
+int proc_transwait(struct proc *, int locked);
+void proc_rele_locked(struct proc * p);
+struct proc *proc_ref_locked(struct proc * p);
+void proc_knote(struct proc * p, long hint);
+void proc_knote_drain(struct proc *p);
+void workqueue_init_lock(proc_t p);
+void workqueue_destroy_lock(proc_t p);
+void proc_setregister(proc_t p);
+void proc_resetregister(proc_t p);
+/* returns the first thread_t in the process, or NULL XXX for NFS, DO NOT USE */
+thread_t proc_thread(proc_t);
+extern int proc_pendingsignals(proc_t, sigset_t);
+int proc_getpcontrol(int pid, int * pcontrolp);
+int proc_dopcontrol(proc_t p);
+int proc_resetpcontrol(int pid);
+#if PSYNCH
+void pth_proc_hashinit(proc_t);
+void pth_proc_hashdelete(proc_t);
+void pth_global_hashinit(void);
+extern thread_call_t psynch_thcall;
+void psynch_wq_cleanup(__unused void * param, __unused void * param1);
+extern lck_mtx_t * pthread_list_mlock;
+#endif /* PSYNCH */
+struct uthread * current_uthread(void);
+
+/* return 1 if process is forcing case-sensitive HFS+ access, 0 for default */
+extern int proc_is_forcing_hfs_case_sensitivity(proc_t);
+
+pid_t dtrace_proc_selfpid(void);
+pid_t dtrace_proc_selfppid(void);
+uid_t dtrace_proc_selfruid(void);