git: 0f5085e8d253 - stable/13 - mips: Add sv_onexec_old and sv_onexit for COMPAT_FREEBSD32.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Thu, 12 May 2022 22:56:23 UTC
The branch stable/13 has been updated by jhb:

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

commit 0f5085e8d25352a83ce47a41dd6e9948b6aa091a
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-12 17:49:55 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-12 22:12:59 +0000

    mips: Add sv_onexec_old and sv_onexit for COMPAT_FREEBSD32.
    
    This is a direct commit to stable/13 as MIPS is not present in main.
---
 sys/mips/mips/freebsd32_machdep.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/mips/mips/freebsd32_machdep.c b/sys/mips/mips/freebsd32_machdep.c
index 5d7fd4719efb..521dea1666ab 100644
--- a/sys/mips/mips/freebsd32_machdep.c
+++ b/sys/mips/mips/freebsd32_machdep.c
@@ -104,6 +104,8 @@ struct sysentvec elf32_freebsd_sysvec = {
 	.sv_schedtail	= NULL,
 	.sv_thread_detach = NULL,
 	.sv_trap	= NULL,
+	.sv_onexec_old	= exec_onexec_old,
+	.sv_onexit	= exit_onexit,
 };
 INIT_SYSENTVEC(elf32_sysvec, &elf32_freebsd_sysvec);