Date: Sun, 31 Oct 2021 01:05:20 GMT From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: b4c7d45c8490 - main - sys/proc.h: put proc_add_orphan() into proper place Message-ID: <202110310105.19V15K6k015479@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=b4c7d45c849071b31936fec6ec43f3d4df3ef3d8 commit b4c7d45c849071b31936fec6ec43f3d4df3ef3d8 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2021-10-29 22:02:32 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2021-10-31 01:05:14 +0000 sys/proc.h: put proc_add_orphan() into proper place Noted by: markj Reviewed by: emaste, markjd Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D32738 --- sys/sys/proc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/proc.h b/sys/sys/proc.h index 177efd5257af..6bc9c82bb698 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -1127,6 +1127,7 @@ int p_canwait(struct thread *td, struct proc *p); struct pargs *pargs_alloc(int len); void pargs_drop(struct pargs *pa); void pargs_hold(struct pargs *pa); +void proc_add_orphan(struct proc *child, struct proc *parent); int proc_getargv(struct thread *td, struct proc *p, struct sbuf *sb); int proc_getauxv(struct thread *td, struct proc *p, struct sbuf *sb); int proc_getenvv(struct thread *td, struct proc *p, struct sbuf *sb); @@ -1137,7 +1138,6 @@ void proc_linkup(struct proc *p, struct thread *td); struct proc *proc_realparent(struct proc *child); void proc_reap(struct thread *td, struct proc *p, int *status, int options); void proc_reparent(struct proc *child, struct proc *newparent, bool set_oppid); -void proc_add_orphan(struct proc *child, struct proc *parent); void proc_set_traced(struct proc *p, bool stop); void proc_wkilled(struct proc *p); struct pstats *pstats_alloc(void);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110310105.19V15K6k015479>