فهرست منبع

Add in the missing get_kernel_syms syscall

Eric Andersen 22 سال پیش
والد
کامیت
3157236c72
1فایلهای تغییر یافته به همراه5 افزوده شده و 1 حذف شده
  1. 5 1
      libc/sysdeps/linux/common/syscalls.c

+ 5 - 1
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