git: daa4c25953a7 - main - sysent: regen after adding COMPAT15 support

From: Brooks Davis <brooks_at_FreeBSD.org>
Date: Tue, 10 Nov 2026 10:17:11 UTC
The branch main has been updated by brooks:

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

commit daa4c25953a75dab8d7d2fbdb822c00c48620d5c
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2026-11-10 10:14:59 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2026-11-10 10:16:55 +0000

    sysent: regen after adding COMPAT15 support
---
 sys/compat/freebsd32/freebsd32_proto.h  | 6 ++++++
 sys/compat/freebsd32/freebsd32_sysent.c | 6 ++++++
 sys/kern/init_sysent.c                  | 6 ++++++
 sys/sys/sysproto.h                      | 6 ++++++
 4 files changed, 24 insertions(+)

diff --git a/sys/compat/freebsd32/freebsd32_proto.h b/sys/compat/freebsd32/freebsd32_proto.h
index 3be07464c967..b1d901a4a9c9 100644
--- a/sys/compat/freebsd32/freebsd32_proto.h
+++ b/sys/compat/freebsd32/freebsd32_proto.h
@@ -1170,6 +1170,12 @@ int	freebsd11_freebsd32_fstatat(struct thread *, struct freebsd11_freebsd32_fsta
 
 #endif /* COMPAT_FREEBSD14 */
 
+
+#ifdef COMPAT_FREEBSD15
+
+
+#endif /* COMPAT_FREEBSD15 */
+
 #define	FREEBSD32_SYS_AUE_freebsd32_wait4	AUE_WAIT4
 #define	FREEBSD32_SYS_AUE_freebsd4_freebsd32_getfsstat	AUE_GETFSSTAT
 #define	FREEBSD32_SYS_AUE_ofreebsd32_lseek	AUE_LSEEK
diff --git a/sys/compat/freebsd32/freebsd32_sysent.c b/sys/compat/freebsd32/freebsd32_sysent.c
index 7b0e72fb323c..51567d004cc9 100644
--- a/sys/compat/freebsd32/freebsd32_sysent.c
+++ b/sys/compat/freebsd32/freebsd32_sysent.c
@@ -65,6 +65,12 @@
 #define compat14(n, name) .sy_narg = 0, .sy_call = (sy_call_t *)nosys
 #endif
 
+#ifdef COMPAT_FREEBSD15
+#define compat15(n, name) .sy_narg = n, .sy_call = (sy_call_t *)__CONCAT(freebsd15_, name)
+#else
+#define compat15(n, name) .sy_narg = 0, .sy_call = (sy_call_t *)nosys
+#endif
+
 /* The casts are bogus but will do for now. */
 struct sysent freebsd32_sysent[] = {
 	{ .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC },	/* 0 = syscall */
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index c4a009ba62b9..dc58d8eb2c6f 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -64,6 +64,12 @@
 #define compat14(n, name) .sy_narg = 0, .sy_call = (sy_call_t *)nosys
 #endif
 
+#ifdef COMPAT_FREEBSD15
+#define compat15(n, name) .sy_narg = n, .sy_call = (sy_call_t *)__CONCAT(freebsd15_, name)
+#else
+#define compat15(n, name) .sy_narg = 0, .sy_call = (sy_call_t *)nosys
+#endif
+
 /* The casts are bogus but will do for now. */
 struct sysent sysent[] = {
 	{ .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC },	/* 0 = syscall */
diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h
index 62eef4e185df..22d026454804 100644
--- a/sys/sys/sysproto.h
+++ b/sys/sys/sysproto.h
@@ -2868,6 +2868,12 @@ int	freebsd14_setgroups(struct thread *, struct freebsd14_setgroups_args *);
 
 #endif /* COMPAT_FREEBSD14 */
 
+
+#ifdef COMPAT_FREEBSD15
+
+
+#endif /* COMPAT_FREEBSD15 */
+
 #define	SYS_AUE__exit	AUE_EXIT
 #define	SYS_AUE_fork	AUE_FORK
 #define	SYS_AUE_read	AUE_READ