summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-12-29 03:29:02 +0000
committerEric Andersen <andersen@codepoet.org>2001-12-29 03:29:02 +0000
commit3157236c72de816135729da9b43e98a9085e81e0 (patch)
tree81221394d57a7bfc543a2b6c80200cb60d53a01c
parent78f56485470663cd8737b5a79426dd209ede7ae1 (diff)
Add in the missing get_kernel_syms syscall
-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