From 3157236c72de816135729da9b43e98a9085e81e0 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 29 Dec 2001 03:29:02 +0000 Subject: Add in the missing get_kernel_syms syscall --- libc/sysdeps/linux/common/syscalls.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libc') diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c index f5c441a6a..d2a04a922 100644 --- a/libc/sysdeps/linux/common/syscalls.c +++ b/libc/sysdeps/linux/common/syscalls.c @@ -988,7 +988,11 @@ _syscall5(int, init_module, void *, first, void *, second, void *, third, # endif #endif -//#define __NR_get_kernel_syms 130 +#define __NR_get_kernel_syms 130 +#ifdef L_get_kernel_syms +struct kernel_sym; +_syscall1(int, get_kernel_syms, struct kernel_sym *, table); +#endif //#define __NR_quotactl 131 -- cgit v1.2.3