git: eabe343afe62 - stable/15 - kern/kern_exit.c: make wait_fill_siginfo/wrusage global
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 16 Aug 2026 02:47:11 UTC
The branch stable/15 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=eabe343afe62a80b8317913e899f63e8e874c46b
commit eabe343afe62a80b8317913e899f63e8e874c46b
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-07-23 02:14:54 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
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;