diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-09-26 22:36:10 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-09-26 22:36:10 -0400 |
commit | 1c5f8f85df96dd7c17d63eed2d7da18b3ad00b6d (patch) | |
tree | c207fba027e33ada37d5e043528922241d024626 /arch/sh | |
parent | 765ae317ce030217af556dc46bec238dab15091e (diff) |
sh: Move syscall table in to syscall.S.
Move the syscall table in to its own file, as per sh64. The entry.S
bits will end up being considerably different in the sh2/sh2a cases,
so this lets us keep things in sync somewhat..
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/kernel/Makefile | 2 | ||||
-rw-r--r-- | arch/sh/kernel/entry.S | 297 | ||||
-rw-r--r-- | arch/sh/kernel/syscalls.S | 324 |
3 files changed, 325 insertions, 298 deletions
diff --git a/arch/sh/kernel/Makefile b/arch/sh/kernel/Makefile index f05cd96f8867..2de82b66af4a 100644 --- a/arch/sh/kernel/Makefile +++ b/arch/sh/kernel/Makefile | |||
@@ -6,7 +6,7 @@ extra-y := head.o init_task.o vmlinux.lds | |||
6 | 6 | ||
7 | obj-y := process.o signal.o entry.o traps.o irq.o \ | 7 | obj-y := process.o signal.o entry.o traps.o irq.o \ |
8 | ptrace.o setup.o time.o sys_sh.o semaphore.o \ | 8 | ptrace.o setup.o time.o sys_sh.o semaphore.o \ |
9 | io.o io_generic.o sh_ksyms.o | 9 | io.o io_generic.o sh_ksyms.o syscalls.o |
10 | 10 | ||
11 | obj-y += cpu/ timers/ | 11 | obj-y += cpu/ timers/ |
12 | 12 | ||
diff --git a/arch/sh/kernel/entry.S b/arch/sh/kernel/entry.S index 7dfd2ba75f7f..a3a717adbf43 100644 --- a/arch/sh/kernel/entry.S +++ b/arch/sh/kernel/entry.S | |||
@@ -838,300 +838,3 @@ ENTRY(exception_none) | |||
838 | rts | 838 | rts |
839 | nop | 839 | nop |
840 | 840 | ||
841 | .data | ||
842 | ENTRY(sys_call_table) | ||
843 | .long sys_ni_syscall /* 0 - old "setup()" system call*/ | ||
844 | .long sys_exit | ||
845 | .long sys_fork | ||
846 | .long sys_read | ||
847 | .long sys_write | ||
848 | .long sys_open /* 5 */ | ||
849 | .long sys_close | ||
850 | .long sys_waitpid | ||
851 | .long sys_creat | ||
852 | .long sys_link | ||
853 | .long sys_unlink /* 10 */ | ||
854 | .long sys_execve | ||
855 | .long sys_chdir | ||
856 | .long sys_time | ||
857 | .long sys_mknod | ||
858 | .long sys_chmod /* 15 */ | ||
859 | .long sys_lchown16 | ||
860 | .long sys_ni_syscall /* old break syscall holder */ | ||
861 | .long sys_stat | ||
862 | .long sys_lseek | ||
863 | .long sys_getpid /* 20 */ | ||
864 | .long sys_mount | ||
865 | .long sys_oldumount | ||
866 | .long sys_setuid16 | ||
867 | .long sys_getuid16 | ||
868 | .long sys_stime /* 25 */ | ||
869 | .long sys_ptrace | ||
870 | .long sys_alarm | ||
871 | .long sys_fstat | ||
872 | .long sys_pause | ||
873 | .long sys_utime /* 30 */ | ||
874 | .long sys_ni_syscall /* old stty syscall holder */ | ||
875 | .long sys_ni_syscall /* old gtty syscall holder */ | ||
876 | .long sys_access | ||
877 | .long sys_nice | ||
878 | .long sys_ni_syscall /* 35 */ /* old ftime syscall holder */ | ||
879 | .long sys_sync | ||
880 | .long sys_kill | ||
881 | .long sys_rename | ||
882 | .long sys_mkdir | ||
883 | .long sys_rmdir /* 40 */ | ||
884 | .long sys_dup | ||
885 | .long sys_pipe | ||
886 | .long sys_times | ||
887 | .long sys_ni_syscall /* old prof syscall holder */ | ||
888 | .long sys_brk /* 45 */ | ||
889 | .long sys_setgid16 | ||
890 | .long sys_getgid16 | ||
891 | .long sys_signal | ||
892 | .long sys_geteuid16 | ||
893 | .long sys_getegid16 /* 50 */ | ||
894 | .long sys_acct | ||
895 | .long sys_umount /* recycled never used phys() */ | ||
896 | .long sys_ni_syscall /* old lock syscall holder */ | ||
897 | .long sys_ioctl | ||
898 | .long sys_fcntl /* 55 */ | ||
899 | .long sys_ni_syscall /* old mpx syscall holder */ | ||
900 | .long sys_setpgid | ||
901 | .long sys_ni_syscall /* old ulimit syscall holder */ | ||
902 | .long sys_ni_syscall /* sys_olduname */ | ||
903 | .long sys_umask /* 60 */ | ||
904 | .long sys_chroot | ||
905 | .long sys_ustat | ||
906 | .long sys_dup2 | ||
907 | .long sys_getppid | ||
908 | .long sys_getpgrp /* 65 */ | ||
909 | .long sys_setsid | ||
910 | .long sys_sigaction | ||
911 | .long sys_sgetmask | ||
912 | .long sys_ssetmask | ||
913 | .long sys_setreuid16 /* 70 */ | ||
914 | .long sys_setregid16 | ||
915 | .long sys_sigsuspend | ||
916 | .long sys_sigpending | ||
917 | .long sys_sethostname | ||
918 | .long sys_setrlimit /* 75 */ | ||
919 | .long sys_old_getrlimit | ||
920 | .long sys_getrusage | ||
921 | .long sys_gettimeofday | ||
922 | .long sys_settimeofday | ||
923 | .long sys_getgroups16 /* 80 */ | ||
924 | .long sys_setgroups16 | ||
925 | .long sys_ni_syscall /* sys_oldselect */ | ||
926 | .long sys_symlink | ||
927 | .long sys_lstat | ||
928 | .long sys_readlink /* 85 */ | ||
929 | .long sys_uselib | ||
930 | .long sys_swapon | ||
931 | .long sys_reboot | ||
932 | .long old_readdir | ||
933 | .long old_mmap /* 90 */ | ||
934 | .long sys_munmap | ||
935 | .long sys_truncate | ||
936 | .long sys_ftruncate | ||
937 | .long sys_fchmod | ||
938 | .long sys_fchown16 /* 95 */ | ||
939 | .long sys_getpriority | ||
940 | .long sys_setpriority | ||
941 | .long sys_ni_syscall /* old profil syscall holder */ | ||
942 | .long sys_statfs | ||
943 | .long sys_fstatfs /* 100 */ | ||
944 | .long sys_ni_syscall /* ioperm */ | ||
945 | .long sys_socketcall | ||
946 | .long sys_syslog | ||
947 | .long sys_setitimer | ||
948 | .long sys_getitimer /* 105 */ | ||
949 | .long sys_newstat | ||
950 | .long sys_newlstat | ||
951 | .long sys_newfstat | ||
952 | .long sys_uname | ||
953 | .long sys_ni_syscall /* 110 */ /* iopl */ | ||
954 | .long sys_vhangup | ||
955 | .long sys_ni_syscall /* idle */ | ||
956 | .long sys_ni_syscall /* vm86old */ | ||
957 | .long sys_wait4 | ||
958 | .long sys_swapoff /* 115 */ | ||
959 | .long sys_sysinfo | ||
960 | .long sys_ipc | ||
961 | .long sys_fsync | ||
962 | .long sys_sigreturn | ||
963 | .long sys_clone /* 120 */ | ||
964 | .long sys_setdomainname | ||
965 | .long sys_newuname | ||
966 | .long sys_ni_syscall /* sys_modify_ldt */ | ||
967 | .long sys_adjtimex | ||
968 | .long sys_mprotect /* 125 */ | ||
969 | .long sys_sigprocmask | ||
970 | .long sys_ni_syscall /* old "create_module" */ | ||
971 | .long sys_init_module | ||
972 | .long sys_delete_module | ||
973 | .long sys_ni_syscall /* 130: old "get_kernel_syms" */ | ||
974 | .long sys_quotactl | ||
975 | .long sys_getpgid | ||
976 | .long sys_fchdir | ||
977 | .long sys_bdflush | ||
978 | .long sys_sysfs /* 135 */ | ||
979 | .long sys_personality | ||
980 | .long sys_ni_syscall /* for afs_syscall */ | ||
981 | .long sys_setfsuid16 | ||
982 | .long sys_setfsgid16 | ||
983 | .long sys_llseek /* 140 */ | ||
984 | .long sys_getdents | ||
985 | .long sys_select | ||
986 | .long sys_flock | ||
987 | .long sys_msync | ||
988 | .long sys_readv /* 145 */ | ||
989 | .long sys_writev | ||
990 | .long sys_getsid | ||
991 | .long sys_fdatasync | ||
992 | .long sys_sysctl | ||
993 | .long sys_mlock /* 150 */ | ||
994 | .long sys_munlock | ||
995 | .long sys_mlockall | ||
996 | .long sys_munlockall | ||
997 | .long sys_sched_setparam | ||
998 | .long sys_sched_getparam /* 155 */ | ||
999 | .long sys_sched_setscheduler | ||
1000 | .long sys_sched_getscheduler | ||
1001 | .long sys_sched_yield | ||
1002 | .long sys_sched_get_priority_max | ||
1003 | .long sys_sched_get_priority_min /* 160 */ | ||
1004 | .long sys_sched_rr_get_interval | ||
1005 | .long sys_nanosleep | ||
1006 | .long sys_mremap | ||
1007 | .long sys_setresuid16 | ||
1008 | .long sys_getresuid16 /* 165 */ | ||
1009 | .long sys_ni_syscall /* vm86 */ | ||
1010 | .long sys_ni_syscall /* old "query_module" */ | ||
1011 | .long sys_poll | ||
1012 | .long sys_nfsservctl | ||
1013 | .long sys_setresgid16 /* 170 */ | ||
1014 | .long sys_getresgid16 | ||
1015 | .long sys_prctl | ||
1016 | .long sys_rt_sigreturn | ||
1017 | .long sys_rt_sigaction | ||
1018 | .long sys_rt_sigprocmask /* 175 */ | ||
1019 | .long sys_rt_sigpending | ||
1020 | .long sys_rt_sigtimedwait | ||
1021 | .long sys_rt_sigqueueinfo | ||
1022 | .long sys_rt_sigsuspend | ||
1023 | .long sys_pread_wrapper /* 180 */ | ||
1024 | .long sys_pwrite_wrapper | ||
1025 | .long sys_chown16 | ||
1026 | .long sys_getcwd | ||
1027 | .long sys_capget | ||
1028 | .long sys_capset /* 185 */ | ||
1029 | .long sys_sigaltstack | ||
1030 | .long sys_sendfile | ||
1031 | .long sys_ni_syscall /* streams1 */ | ||
1032 | .long sys_ni_syscall /* streams2 */ | ||
1033 | .long sys_vfork /* 190 */ | ||
1034 | .long sys_getrlimit | ||
1035 | .long sys_mmap2 | ||
1036 | .long sys_truncate64 | ||
1037 | .long sys_ftruncate64 | ||
1038 | .long sys_stat64 /* 195 */ | ||
1039 | .long sys_lstat64 | ||
1040 | .long sys_fstat64 | ||
1041 | .long sys_lchown | ||
1042 | .long sys_getuid | ||
1043 | .long sys_getgid /* 200 */ | ||
1044 | .long sys_geteuid | ||
1045 | .long sys_getegid | ||
1046 | .long sys_setreuid | ||
1047 | .long sys_setregid | ||
1048 | .long sys_getgroups /* 205 */ | ||
1049 | .long sys_setgroups | ||
1050 | .long sys_fchown | ||
1051 | .long sys_setresuid | ||
1052 | .long sys_getresuid | ||
1053 | .long sys_setresgid /* 210 */ | ||
1054 | .long sys_getresgid | ||
1055 | .long sys_chown | ||
1056 | .long sys_setuid | ||
1057 | .long sys_setgid | ||
1058 | .long sys_setfsuid /* 215 */ | ||
1059 | .long sys_setfsgid | ||
1060 | .long sys_pivot_root | ||
1061 | .long sys_mincore | ||
1062 | .long sys_madvise | ||
1063 | .long sys_getdents64 /* 220 */ | ||
1064 | .long sys_fcntl64 | ||
1065 | .long sys_ni_syscall /* reserved for TUX */ | ||
1066 | .long sys_ni_syscall /* Reserved for Security */ | ||
1067 | .long sys_gettid | ||
1068 | .long sys_readahead /* 225 */ | ||
1069 | .long sys_setxattr | ||
1070 | .long sys_lsetxattr | ||
1071 | .long sys_fsetxattr | ||
1072 | .long sys_getxattr | ||
1073 | .long sys_lgetxattr /* 230 */ | ||
1074 | .long sys_fgetxattr | ||
1075 | .long sys_listxattr | ||
1076 | .long sys_llistxattr | ||
1077 | .long sys_flistxattr | ||
1078 | .long sys_removexattr /* 235 */ | ||
1079 | .long sys_lremovexattr | ||
1080 | .long sys_fremovexattr | ||
1081 | .long sys_tkill | ||
1082 | .long sys_sendfile64 | ||
1083 | .long sys_futex /* 240 */ | ||
1084 | .long sys_sched_setaffinity | ||
1085 | .long sys_sched_getaffinity | ||
1086 | .long sys_ni_syscall | ||
1087 | .long sys_ni_syscall | ||
1088 | .long sys_io_setup /* 245 */ | ||
1089 | .long sys_io_destroy | ||
1090 | .long sys_io_getevents | ||
1091 | .long sys_io_submit | ||
1092 | .long sys_io_cancel | ||
1093 | .long sys_fadvise64 /* 250 */ | ||
1094 | .long sys_ni_syscall | ||
1095 | .long sys_exit_group | ||
1096 | .long sys_lookup_dcookie | ||
1097 | .long sys_epoll_create | ||
1098 | .long sys_epoll_ctl /* 255 */ | ||
1099 | .long sys_epoll_wait | ||
1100 | .long sys_remap_file_pages | ||
1101 | .long sys_set_tid_address | ||
1102 | .long sys_timer_create | ||
1103 | .long sys_timer_settime /* 260 */ | ||
1104 | .long sys_timer_gettime | ||
1105 | .long sys_timer_getoverrun | ||
1106 | .long sys_timer_delete | ||
1107 | .long sys_clock_settime | ||
1108 | .long sys_clock_gettime /* 265 */ | ||
1109 | .long sys_clock_getres | ||
1110 | .long sys_clock_nanosleep | ||
1111 | .long sys_statfs64 | ||
1112 | .long sys_fstatfs64 | ||
1113 | .long sys_tgkill /* 270 */ | ||
1114 | .long sys_utimes | ||
1115 | .long sys_fadvise64_64_wrapper | ||
1116 | .long sys_ni_syscall /* Reserved for vserver */ | ||
1117 | .long sys_ni_syscall /* Reserved for mbind */ | ||
1118 | .long sys_ni_syscall /* 275 - get_mempolicy */ | ||
1119 | .long sys_ni_syscall /* set_mempolicy */ | ||
1120 | .long sys_mq_open | ||
1121 | .long sys_mq_unlink | ||
1122 | .long sys_mq_timedsend | ||
1123 | .long sys_mq_timedreceive /* 280 */ | ||
1124 | .long sys_mq_notify | ||
1125 | .long sys_mq_getsetattr | ||
1126 | .long sys_ni_syscall /* Reserved for kexec */ | ||
1127 | .long sys_waitid | ||
1128 | .long sys_add_key /* 285 */ | ||
1129 | .long sys_request_key | ||
1130 | .long sys_keyctl | ||
1131 | .long sys_ioprio_set | ||
1132 | .long sys_ioprio_get | ||
1133 | .long sys_inotify_init /* 290 */ | ||
1134 | .long sys_inotify_add_watch | ||
1135 | .long sys_inotify_rm_watch | ||
1136 | |||
1137 | /* End of entry.S */ | ||
diff --git a/arch/sh/kernel/syscalls.S b/arch/sh/kernel/syscalls.S new file mode 100644 index 000000000000..f500304cbd69 --- /dev/null +++ b/arch/sh/kernel/syscalls.S | |||
@@ -0,0 +1,324 @@ | |||
1 | /* | ||
2 | * arch/sh/kernel/syscalls.S | ||
3 | * | ||
4 | * System call table for SuperH | ||
5 | * | ||
6 | * Copyright (C) 1999, 2000, 2002 Niibe Yutaka | ||
7 | * Copyright (C) 2003 Paul Mundt | ||
8 | * | ||
9 | * This file is subject to the terms and conditions of the GNU General Public | ||
10 | * License. See the file "COPYING" in the main directory of this archive | ||
11 | * for more details. | ||
12 | * | ||
13 | */ | ||
14 | #include <linux/sys.h> | ||
15 | #include <linux/linkage.h> | ||
16 | |||
17 | #if !defined(CONFIG_NFSD) && !defined(CONFIG_NFSD_MODULE) | ||
18 | #define sys_nfsservctl sys_ni_syscall | ||
19 | #endif | ||
20 | |||
21 | #if !defined(CONFIG_MMU) | ||
22 | #define sys_madvise sys_ni_syscall | ||
23 | #define sys_readahead sys_ni_syscall | ||
24 | #define sys_mprotect sys_ni_syscall | ||
25 | #define sys_msync sys_ni_syscall | ||
26 | #define sys_mlock sys_ni_syscall | ||
27 | #define sys_munlock sys_ni_syscall | ||
28 | #define sys_mlockall sys_ni_syscall | ||
29 | #define sys_munlockall sys_ni_syscall | ||
30 | #define sys_mremap sys_ni_syscall | ||
31 | #define sys_mincore sys_ni_syscall | ||
32 | #define sys_remap_file_pages sys_ni_syscall | ||
33 | #endif | ||
34 | |||
35 | .data | ||
36 | ENTRY(sys_call_table) | ||
37 | .long sys_ni_syscall /* 0 - old "setup()" system call*/ | ||
38 | .long sys_exit | ||
39 | .long sys_fork | ||
40 | .long sys_read | ||
41 | .long sys_write | ||
42 | .long sys_open /* 5 */ | ||
43 | .long sys_close | ||
44 | .long sys_waitpid | ||
45 | .long sys_creat | ||
46 | .long sys_link | ||
47 | .long sys_unlink /* 10 */ | ||
48 | .long sys_execve | ||
49 | .long sys_chdir | ||
50 | .long sys_time | ||
51 | .long sys_mknod | ||
52 | .long sys_chmod /* 15 */ | ||
53 | .long sys_lchown16 | ||
54 | .long sys_ni_syscall /* old break syscall holder */ | ||
55 | .long sys_stat | ||
56 | .long sys_lseek | ||
57 | .long sys_getpid /* 20 */ | ||
58 | .long sys_mount | ||
59 | .long sys_oldumount | ||
60 | .long sys_setuid16 | ||
61 | .long sys_getuid16 | ||
62 | .long sys_stime /* 25 */ | ||
63 | .long sys_ptrace | ||
64 | .long sys_alarm | ||
65 | .long sys_fstat | ||
66 | .long sys_pause | ||
67 | .long sys_utime /* 30 */ | ||
68 | .long sys_ni_syscall /* old stty syscall holder */ | ||
69 | .long sys_ni_syscall /* old gtty syscall holder */ | ||
70 | .long sys_access | ||
71 | .long sys_nice | ||
72 | .long sys_ni_syscall /* 35 */ /* old ftime syscall holder */ | ||
73 | .long sys_sync | ||
74 | .long sys_kill | ||
75 | .long sys_rename | ||
76 | .long sys_mkdir | ||
77 | .long sys_rmdir /* 40 */ | ||
78 | .long sys_dup | ||
79 | .long sys_pipe | ||
80 | .long sys_times | ||
81 | .long sys_ni_syscall /* old prof syscall holder */ | ||
82 | .long sys_brk /* 45 */ | ||
83 | .long sys_setgid16 | ||
84 | .long sys_getgid16 | ||
85 | .long sys_signal | ||
86 | .long sys_geteuid16 | ||
87 | .long sys_getegid16 /* 50 */ | ||
88 | .long sys_acct | ||
89 | .long sys_umount /* recycled never used phys() */ | ||
90 | .long sys_ni_syscall /* old lock syscall holder */ | ||
91 | .long sys_ioctl | ||
92 | .long sys_fcntl /* 55 */ | ||
93 | .long sys_ni_syscall /* old mpx syscall holder */ | ||
94 | .long sys_setpgid | ||
95 | .long sys_ni_syscall /* old ulimit syscall holder */ | ||
96 | .long sys_ni_syscall /* sys_olduname */ | ||
97 | .long sys_umask /* 60 */ | ||
98 | .long sys_chroot | ||
99 | .long sys_ustat | ||
100 | .long sys_dup2 | ||
101 | .long sys_getppid | ||
102 | .long sys_getpgrp /* 65 */ | ||
103 | .long sys_setsid | ||
104 | .long sys_sigaction | ||
105 | .long sys_sgetmask | ||
106 | .long sys_ssetmask | ||
107 | .long sys_setreuid16 /* 70 */ | ||
108 | .long sys_setregid16 | ||
109 | .long sys_sigsuspend | ||
110 | .long sys_sigpending | ||
111 | .long sys_sethostname | ||
112 | .long sys_setrlimit /* 75 */ | ||
113 | .long sys_old_getrlimit | ||
114 | .long sys_getrusage | ||
115 | .long sys_gettimeofday | ||
116 | .long sys_settimeofday | ||
117 | .long sys_getgroups16 /* 80 */ | ||
118 | .long sys_setgroups16 | ||
119 | .long sys_ni_syscall /* sys_oldselect */ | ||
120 | .long sys_symlink | ||
121 | .long sys_lstat | ||
122 | .long sys_readlink /* 85 */ | ||
123 | .long sys_uselib | ||
124 | .long sys_swapon | ||
125 | .long sys_reboot | ||
126 | .long old_readdir | ||
127 | .long old_mmap /* 90 */ | ||
128 | .long sys_munmap | ||
129 | .long sys_truncate | ||
130 | .long sys_ftruncate | ||
131 | .long sys_fchmod | ||
132 | .long sys_fchown16 /* 95 */ | ||
133 | .long sys_getpriority | ||
134 | .long sys_setpriority | ||
135 | .long sys_ni_syscall /* old profil syscall holder */ | ||
136 | .long sys_statfs | ||
137 | .long sys_fstatfs /* 100 */ | ||
138 | .long sys_ni_syscall /* ioperm */ | ||
139 | .long sys_socketcall | ||
140 | .long sys_syslog | ||
141 | .long sys_setitimer | ||
142 | .long sys_getitimer /* 105 */ | ||
143 | .long sys_newstat | ||
144 | .long sys_newlstat | ||
145 | .long sys_newfstat | ||
146 | .long sys_uname | ||
147 | .long sys_ni_syscall /* 110 */ /* iopl */ | ||
148 | .long sys_vhangup | ||
149 | .long sys_ni_syscall /* idle */ | ||
150 | .long sys_ni_syscall /* vm86old */ | ||
151 | .long sys_wait4 | ||
152 | .long sys_swapoff /* 115 */ | ||
153 | .long sys_sysinfo | ||
154 | .long sys_ipc | ||
155 | .long sys_fsync | ||
156 | .long sys_sigreturn | ||
157 | .long sys_clone /* 120 */ | ||
158 | .long sys_setdomainname | ||
159 | .long sys_newuname | ||
160 | .long sys_ni_syscall /* sys_modify_ldt */ | ||
161 | .long sys_adjtimex | ||
162 | .long sys_mprotect /* 125 */ | ||
163 | .long sys_sigprocmask | ||
164 | .long sys_ni_syscall /* old "create_module" */ | ||
165 | .long sys_init_module | ||
166 | .long sys_delete_module | ||
167 | .long sys_ni_syscall /* 130: old "get_kernel_syms" */ | ||
168 | .long sys_quotactl | ||
169 | .long sys_getpgid | ||
170 | .long sys_fchdir | ||
171 | .long sys_bdflush | ||
172 | .long sys_sysfs /* 135 */ | ||
173 | .long sys_personality | ||
174 | .long sys_ni_syscall /* for afs_syscall */ | ||
175 | .long sys_setfsuid16 | ||
176 | .long sys_setfsgid16 | ||
177 | .long sys_llseek /* 140 */ | ||
178 | .long sys_getdents | ||
179 | .long sys_select | ||
180 | .long sys_flock | ||
181 | .long sys_msync | ||
182 | .long sys_readv /* 145 */ | ||
183 | .long sys_writev | ||
184 | .long sys_getsid | ||
185 | .long sys_fdatasync | ||
186 | .long sys_sysctl | ||
187 | .long sys_mlock /* 150 */ | ||
188 | .long sys_munlock | ||
189 | .long sys_mlockall | ||
190 | .long sys_munlockall | ||
191 | .long sys_sched_setparam | ||
192 | .long sys_sched_getparam /* 155 */ | ||
193 | .long sys_sched_setscheduler | ||
194 | .long sys_sched_getscheduler | ||
195 | .long sys_sched_yield | ||
196 | .long sys_sched_get_priority_max | ||
197 | .long sys_sched_get_priority_min /* 160 */ | ||
198 | .long sys_sched_rr_get_interval | ||
199 | .long sys_nanosleep | ||
200 | .long sys_mremap | ||
201 | .long sys_setresuid16 | ||
202 | .long sys_getresuid16 /* 165 */ | ||
203 | .long sys_ni_syscall /* vm86 */ | ||
204 | .long sys_ni_syscall /* old "query_module" */ | ||
205 | .long sys_poll | ||
206 | .long sys_nfsservctl | ||
207 | .long sys_setresgid16 /* 170 */ | ||
208 | .long sys_getresgid16 | ||
209 | .long sys_prctl | ||
210 | .long sys_rt_sigreturn | ||
211 | .long sys_rt_sigaction | ||
212 | .long sys_rt_sigprocmask /* 175 */ | ||
213 | .long sys_rt_sigpending | ||
214 | .long sys_rt_sigtimedwait | ||
215 | .long sys_rt_sigqueueinfo | ||
216 | .long sys_rt_sigsuspend | ||
217 | .long sys_pread_wrapper /* 180 */ | ||
218 | .long sys_pwrite_wrapper | ||
219 | .long sys_chown16 | ||
220 | .long sys_getcwd | ||
221 | .long sys_capget | ||
222 | .long sys_capset /* 185 */ | ||
223 | .long sys_sigaltstack | ||
224 | .long sys_sendfile | ||
225 | .long sys_ni_syscall /* streams1 */ | ||
226 | .long sys_ni_syscall /* streams2 */ | ||
227 | .long sys_vfork /* 190 */ | ||
228 | .long sys_getrlimit | ||
229 | .long sys_mmap2 | ||
230 | .long sys_truncate64 | ||
231 | .long sys_ftruncate64 | ||
232 | .long sys_stat64 /* 195 */ | ||
233 | .long sys_lstat64 | ||
234 | .long sys_fstat64 | ||
235 | .long sys_lchown | ||
236 | .long sys_getuid | ||
237 | .long sys_getgid /* 200 */ | ||
238 | .long sys_geteuid | ||
239 | .long sys_getegid | ||
240 | .long sys_setreuid | ||
241 | .long sys_setregid | ||
242 | .long sys_getgroups /* 205 */ | ||
243 | .long sys_setgroups | ||
244 | .long sys_fchown | ||
245 | .long sys_setresuid | ||
246 | .long sys_getresuid | ||
247 | .long sys_setresgid /* 210 */ | ||
248 | .long sys_getresgid | ||
249 | .long sys_chown | ||
250 | .long sys_setuid | ||
251 | .long sys_setgid | ||
252 | .long sys_setfsuid /* 215 */ | ||
253 | .long sys_setfsgid | ||
254 | .long sys_pivot_root | ||
255 | .long sys_mincore | ||
256 | .long sys_madvise | ||
257 | .long sys_getdents64 /* 220 */ | ||
258 | .long sys_fcntl64 | ||
259 | .long sys_ni_syscall /* reserved for TUX */ | ||
260 | .long sys_ni_syscall /* Reserved for Security */ | ||
261 | .long sys_gettid | ||
262 | .long sys_readahead /* 225 */ | ||
263 | .long sys_setxattr | ||
264 | .long sys_lsetxattr | ||
265 | .long sys_fsetxattr | ||
266 | .long sys_getxattr | ||
267 | .long sys_lgetxattr /* 230 */ | ||
268 | .long sys_fgetxattr | ||
269 | .long sys_listxattr | ||
270 | .long sys_llistxattr | ||
271 | .long sys_flistxattr | ||
272 | .long sys_removexattr /* 235 */ | ||
273 | .long sys_lremovexattr | ||
274 | .long sys_fremovexattr | ||
275 | .long sys_tkill | ||
276 | .long sys_sendfile64 | ||
277 | .long sys_futex /* 240 */ | ||
278 | .long sys_sched_setaffinity | ||
279 | .long sys_sched_getaffinity | ||
280 | .long sys_ni_syscall | ||
281 | .long sys_ni_syscall | ||
282 | .long sys_io_setup /* 245 */ | ||
283 | .long sys_io_destroy | ||
284 | .long sys_io_getevents | ||
285 | .long sys_io_submit | ||
286 | .long sys_io_cancel | ||
287 | .long sys_fadvise64 /* 250 */ | ||
288 | .long sys_ni_syscall | ||
289 | .long sys_exit_group | ||
290 | .long sys_lookup_dcookie | ||
291 | .long sys_epoll_create | ||
292 | .long sys_epoll_ctl /* 255 */ | ||
293 | .long sys_epoll_wait | ||
294 | .long sys_remap_file_pages | ||
295 | .long sys_set_tid_address | ||
296 | .long sys_timer_create | ||
297 | .long sys_timer_settime /* 260 */ | ||
298 | .long sys_timer_gettime | ||
299 | .long sys_timer_getoverrun | ||
300 | .long sys_timer_delete | ||
301 | .long sys_clock_settime | ||
302 | .long sys_clock_gettime /* 265 */ | ||
303 | .long sys_clock_getres | ||
304 | .long sys_clock_nanosleep | ||
305 | .long sys_statfs64 | ||
306 | .long sys_fstatfs64 | ||
307 | .long sys_tgkill /* 270 */ | ||
308 | .long sys_utimes | ||
309 | .long sys_fadvise64_64_wrapper | ||
310 | .long sys_ni_syscall /* Reserved for vserver */ | ||
311 | .long sys_ni_syscall /* Reserved for mbind */ | ||
312 | .long sys_ni_syscall /* 275 - get_mempolicy */ | ||
313 | .long sys_ni_syscall /* set_mempolicy */ | ||
314 | .long sys_mq_open | ||
315 | .long sys_mq_unlink | ||
316 | .long sys_mq_timedsend | ||
317 | .long sys_mq_timedreceive /* 280 */ | ||
318 | .long sys_mq_notify | ||
319 | .long sys_mq_getsetattr | ||
320 | .long sys_kexec_load | ||
321 | .long sys_waitid | ||
322 | .long sys_add_key /* 285 */ | ||
323 | .long sys_request_key | ||
324 | .long sys_keyctl | ||