Syscalls: Remove modsym() syscall. There is no reason why appication code could ever use symbolic information from a symbol within a kernel module. The modsym() interface is only meaningful within the kernel.

This commit is contained in:
Gregory Nutt
2017-01-28 11:03:06 -06:00
parent a2150c1e35
commit 34e539926a
4 changed files with 2 additions and 6 deletions
+2 -3
View File
@@ -182,9 +182,8 @@
#ifdef CONFIG_MODULE
# define SYS_insmod __SYS_insmod
# define SYS_rmmod (__SYS_insmod+1)
# define SYS_modsym (__SYS_insmod+2)
# define SYS_modhandle (__SYS_insmod+3)
# define __SYS_posix_spawn (__SYS_insmod+4)
# define SYS_modhandle (__SYS_insmod+2)
# define __SYS_posix_spawn (__SYS_insmod+3)
#else
# define __SYS_posix_spawn __SYS_insmod
#endif