git: a24674ecab24 - main - kern/kern_exit.c: make wait_fill_siginfo/wrusage global
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 01 Aug 2026 12:19:24 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=a24674ecab24abf6cc84262059b3e28bb0cd3a04
commit a24674ecab24abf6cc84262059b3e28bb0cd3a04
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-07-23 02:14:54 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-08-01 10:41:28 +0000
kern/kern_exit.c: make wait_fill_siginfo/wrusage global
Reviewed by: markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D58407
---
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 9b98550b9f8c..cd2d4a318992 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;