summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/sysdeps/linux/common/syscalls.c6
1 files changed, 5 insertions, 1 deletions
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