git: eabe343afe62 - stable/15 - kern/kern_exit.c: make wait_fill_siginfo/wrusage global

Konstantin Belousov <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a8124af.44338.3caf89de__16866.9878317573$1786848826$gmane$org@gitrepo.freebsd.org>
The branch stable/15 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=eabe343afe62a80b8317913e899f63e8e874c46b

commit eabe343afe62a80b8317913e899f63e8e874c46b
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2026-07-23 02:14:54 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2026-08-16 02:41:35 +0000

    kern/kern_exit.c: make wait_fill_siginfo/wrusage global
    
    (cherry picked from commit a24674ecab24abf6cc84262059b3e28bb0cd3a04)
---
 sys/kern/kern_exit.c | 4 ++--
 sys/sys/proc.h       | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c
index 7fb3f115af9d..2e8e95e33d8c 100644
--- a/sys/kern/kern_exit.c
+++ b/sys/kern/kern_exit.c
@@ -1117,7 +1117,7 @@ proc_reap(struct thread *td, struct proc *p, int *status, int options)
 	atomic_add_int(&nprocs, -1);
 }
 
-static void
+void
 wait_fill_siginfo(struct proc *p, siginfo_t *siginfo)
 {
 	PROC_LOCK_ASSERT(p, MA_OWNED);
@@ -1160,7 +1160,7 @@ wait_fill_siginfo(struct proc *p, siginfo_t *siginfo)
 	 */
 }
 
-static void
+void
 wait_fill_wrusage(struct proc *p, struct __wrusage *wrusage)
 {
 	struct rusage *rup;
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index ac7b5bcc6020..59958bd97a32 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -1237,6 +1237,8 @@ void	cpu_throw(struct thread *, struct thread *) __dead2;
 void	cpu_update_pcb(struct thread *);
 bool	curproc_sigkilled(void);
 void	userret(struct thread *, struct trapframe *);
+void	wait_fill_siginfo(struct proc *p, struct __siginfo *siginfo);
+void	wait_fill_wrusage(struct proc *p, struct __wrusage *wrusage);
 
 void	cpu_exit(struct thread *);
 void	exit1(struct thread *, int, int) __dead2;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.