From f396f9b6c96f6d68d4e3606ddb090287230fc565 Mon Sep 17 00:00:00 2001 From: Mitchell Horne Date: Sat, 29 Oct 2022 12:30:32 -0300 Subject: [PATCH] linux, linux64: fix module load The previous commit added references to to the syscallnames arrays, but failed to add the relevant source files to the module build. Thus, the modules failed to load due to missing symbols. Reported by: cy Fixes: 1da65dcb1c57 ("linux: populate sv_syscallnames in each sysentvec") Sponsored by: The FreeBSD Foundation --- sys/modules/linux/Makefile | 1 + sys/modules/linux64/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile index 808f87f87dc..2cd7c54cd21 100644 --- a/sys/modules/linux/Makefile +++ b/sys/modules/linux/Makefile @@ -25,6 +25,7 @@ SRCS= linux${SFX}_dummy_machdep.c \ linux_signal.c \ linux_socket.c \ linux_stats.c \ + linux${SFX}_syscalls.c \ linux_sysctl.c \ linux${SFX}_sysent.c \ linux${SFX}_sysvec.c \ diff --git a/sys/modules/linux64/Makefile b/sys/modules/linux64/Makefile index 3d7b973742e..ef6644c3deb 100644 --- a/sys/modules/linux64/Makefile +++ b/sys/modules/linux64/Makefile @@ -22,6 +22,7 @@ SRCS= linux_dummy_machdep.c \ linux_signal.c \ linux_socket.c \ linux_stats.c \ + linux_syscalls.c \ linux_sysctl.c \ linux_sysent.c \ linux_sysvec.c \