1/* SPDX-License-Identifier: GPL-2.0 */ 2ENTRY(sys_call_table) 3 .long sys_restart_syscall /* 0 - old "setup()" system call, 4 * used for restarting */ 5 .long sys_exit 6 .long sys_fork 7 .long sys_read 8 .long sys_write 9 .long sys_open /* 5 */ 10 .long sys_close 11 .long sys_waitpid 12 .long sys_creat 13 .long sys_link 14 .long sys_unlink /* 10 */ 15 .long sys_execve 16 .long sys_chdir 17 .long sys_time 18 .long sys_mknod 19 .long sys_chmod /* 15 */ 20 .long sys_lchown 21 .long sys_ni_syscall /* old break syscall holder */ 22 .long sys_ni_syscall /* old stat */ 23 .long sys_lseek 24 .long sys_getpid /* 20 */ 25 .long sys_mount 26 .long sys_oldumount 27 .long sys_setuid 28 .long sys_getuid 29 .long sys_stime /* 25 */ 30 .long sys_ptrace 31 .long sys_alarm 32 .long sys_ni_syscall /* oldfstat */ 33 .long sys_pause 34 .long sys_utime /* 30 */ 35 .long sys_ni_syscall /* old stty syscall holder */ 36 .long sys_ni_syscall /* old gtty syscall holder */ 37 .long sys_access 38 .long sys_nice 39 .long sys_ni_syscall /* 35 - old ftime syscall holder */ 40 .long sys_sync 41 .long sys_kill 42 .long sys_rename 43 .long sys_mkdir 44 .long sys_rmdir /* 40 */ 45 .long sys_dup 46 .long sys_pipe 47 .long sys_times 48 .long sys_ni_syscall /* old prof syscall holder */ 49 .long sys_brk /* 45 */ 50 .long sys_setgid 51 .long sys_getgid 52 .long sys_signal 53 .long sys_geteuid 54 .long sys_getegid /* 50 */ 55 .long sys_acct 56 .long sys_umount /* recycled never used phys() */ 57 .long sys_ni_syscall /* old lock syscall holder */ 58 .long sys_ioctl 59 .long sys_fcntl /* 55 */ 60 .long sys_ni_syscall /* old mpx syscall holder */ 61 .long sys_setpgid 62 .long sys_ni_syscall /* old ulimit syscall holder */ 63 .long sys_ni_syscall /* olduname */ 64 .long sys_umask /* 60 */ 65 .long sys_chroot 66 .long sys_ustat 67 .long sys_dup2 68 .long sys_getppid 69 .long sys_getpgrp /* 65 */ 70 .long sys_setsid 71 .long sys_ni_syscall /* sys_sigaction */ 72 .long sys_sgetmask 73 .long sys_ssetmask 74 .long sys_setreuid /* 70 */ 75 .long sys_setregid 76 .long sys_ni_syscall /* sys_sigsuspend_wrapper */ 77 .long sys_sigpending 78 .long sys_sethostname 79 .long sys_setrlimit /* 75 */ 80 .long sys_ni_syscall /* old_getrlimit */ 81 .long sys_getrusage 82 .long sys_gettimeofday 83 .long sys_settimeofday 84 .long sys_getgroups /* 80 */ 85 .long sys_setgroups 86 .long sys_ni_syscall /* old_select */ 87 .long sys_symlink 88 .long sys_ni_syscall /* oldlstat */ 89 .long sys_readlink /* 85 */ 90 .long sys_uselib 91 .long sys_swapon 92 .long sys_reboot 93 .long sys_ni_syscall /* old_readdir */ 94 .long sys_mmap /* 90 */ /* old_mmap */ 95 .long sys_munmap 96 .long sys_truncate 97 .long sys_ftruncate 98 .long sys_fchmod 99 .long sys_fchown /* 95 */ 100 .long sys_getpriority 101 .long sys_setpriority 102 .long sys_ni_syscall /* old profil syscall holder */ 103 .long sys_statfs 104 .long sys_fstatfs /* 100 */ 105 .long sys_ni_syscall /* ioperm */ 106 .long sys_socketcall 107 .long sys_syslog /* operation with system console */ 108 .long sys_setitimer 109 .long sys_getitimer /* 105 */ 110 .long sys_newstat 111 .long sys_newlstat 112 .long sys_newfstat 113 .long sys_ni_syscall /* uname */ 114 .long sys_ni_syscall /* 110 */ /* iopl */ 115 .long sys_vhangup 116 .long sys_ni_syscall /* old "idle" system call */ 117 .long sys_ni_syscall /* old sys_vm86old */ 118 .long sys_wait4 119 .long sys_swapoff /* 115 */ 120 .long sys_sysinfo 121 .long sys_ni_syscall /* old sys_ipc */ 122 .long sys_fsync 123 .long sys_ni_syscall /* sys_sigreturn_wrapper */ 124 .long sys_clone /* 120 */ 125 .long sys_setdomainname 126 .long sys_newuname 127 .long sys_ni_syscall /* modify_ldt */ 128 .long sys_adjtimex 129 .long sys_mprotect /* 125: sys_mprotect */ 130 .long sys_sigprocmask 131 .long sys_ni_syscall /* old "create_module" */ 132 .long sys_init_module 133 .long sys_delete_module 134 .long sys_ni_syscall /* 130: old "get_kernel_syms" */ 135 .long sys_quotactl 136 .long sys_getpgid 137 .long sys_fchdir 138 .long sys_bdflush 139 .long sys_sysfs /* 135 */ 140 .long sys_personality 141 .long sys_ni_syscall /* reserved for afs_syscall */ 142 .long sys_setfsuid 143 .long sys_setfsgid 144 .long sys_llseek /* 140 */ 145 .long sys_getdents 146 .long sys_select 147 .long sys_flock 148 .long sys_msync 149 .long sys_readv /* 145 */ 150 .long sys_writev 151 .long sys_getsid 152 .long sys_fdatasync 153 .long sys_sysctl 154 .long sys_mlock /* 150: sys_mlock */ 155 .long sys_munlock 156 .long sys_mlockall 157 .long sys_munlockall 158 .long sys_sched_setparam 159 .long sys_sched_getparam /* 155 */ 160 .long sys_sched_setscheduler 161 .long sys_sched_getscheduler 162 .long sys_sched_yield 163 .long sys_sched_get_priority_max 164 .long sys_sched_get_priority_min /* 160 */ 165 .long sys_sched_rr_get_interval 166 .long sys_nanosleep 167 .long sys_mremap 168 .long sys_setresuid 169 .long sys_getresuid /* 165 */ 170 .long sys_ni_syscall /* sys_vm86 */ 171 .long sys_ni_syscall /* Old sys_query_module */ 172 .long sys_poll 173 .long sys_ni_syscall /* old nfsservctl */ 174 .long sys_setresgid /* 170 */ 175 .long sys_getresgid 176 .long sys_prctl 177 .long sys_rt_sigreturn_wrapper 178 .long sys_rt_sigaction 179 .long sys_rt_sigprocmask /* 175 */ 180 .long sys_rt_sigpending 181 .long sys_rt_sigtimedwait 182 .long sys_rt_sigqueueinfo 183 .long sys_rt_sigsuspend 184 .long sys_pread64 /* 180 */ 185 .long sys_pwrite64 186 .long sys_chown 187 .long sys_getcwd 188 .long sys_capget 189 .long sys_capset /* 185 */ 190 .long sys_ni_syscall /* sigaltstack */ 191 .long sys_sendfile 192 .long sys_ni_syscall /* reserved for streams1 */ 193 .long sys_ni_syscall /* reserved for streams2 */ 194 .long sys_vfork /* 190 */ 195 .long sys_getrlimit 196 .long sys_mmap2 197 .long sys_truncate64 198 .long sys_ftruncate64 199 .long sys_stat64 /* 195 */ 200 .long sys_lstat64 201 .long sys_fstat64 202 .long sys_lchown 203 .long sys_getuid 204 .long sys_getgid /* 200 */ 205 .long sys_geteuid 206 .long sys_getegid 207 .long sys_setreuid 208 .long sys_setregid 209 .long sys_getgroups /* 205 */ 210 .long sys_setgroups 211 .long sys_fchown 212 .long sys_setresuid 213 .long sys_getresuid 214 .long sys_setresgid /* 210 */ 215 .long sys_getresgid 216 .long sys_chown 217 .long sys_setuid 218 .long sys_setgid 219 .long sys_setfsuid /* 215 */ 220 .long sys_setfsgid 221 .long sys_pivot_root 222 .long sys_mincore 223 .long sys_madvise 224 .long sys_getdents64 /* 220 */ 225 .long sys_fcntl64 226 .long sys_ni_syscall /* reserved for TUX */ 227 .long sys_ni_syscall 228 .long sys_gettid 229 .long sys_readahead /* 225 */ 230 .long sys_setxattr 231 .long sys_lsetxattr 232 .long sys_fsetxattr 233 .long sys_getxattr 234 .long sys_lgetxattr /* 230 */ 235 .long sys_fgetxattr 236 .long sys_listxattr 237 .long sys_llistxattr 238 .long sys_flistxattr 239 .long sys_removexattr /* 235 */ 240 .long sys_lremovexattr 241 .long sys_fremovexattr 242 .long sys_tkill 243 .long sys_sendfile64 244 .long sys_futex /* 240 */ 245 .long sys_sched_setaffinity 246 .long sys_sched_getaffinity 247 .long sys_ni_syscall /* set_thread_area */ 248 .long sys_ni_syscall /* get_thread_area */ 249 .long sys_io_setup /* 245 */ 250 .long sys_io_destroy 251 .long sys_io_getevents 252 .long sys_io_submit 253 .long sys_io_cancel 254 .long sys_fadvise64 /* 250 */ 255 .long sys_ni_syscall 256 .long sys_exit_group 257 .long sys_lookup_dcookie 258 .long sys_epoll_create 259 .long sys_epoll_ctl /* 255 */ 260 .long sys_epoll_wait 261 .long sys_remap_file_pages 262 .long sys_set_tid_address 263 .long sys_timer_create 264 .long sys_timer_settime /* 260 */ 265 .long sys_timer_gettime 266 .long sys_timer_getoverrun 267 .long sys_timer_delete 268 .long sys_clock_settime 269 .long sys_clock_gettime /* 265 */ 270 .long sys_clock_getres 271 .long sys_clock_nanosleep 272 .long sys_statfs64 273 .long sys_fstatfs64 274 .long sys_tgkill /* 270 */ 275 .long sys_utimes 276 .long sys_fadvise64_64 277 .long sys_ni_syscall /* sys_vserver */ 278 .long sys_mbind 279 .long sys_get_mempolicy 280 .long sys_set_mempolicy 281 .long sys_mq_open 282 .long sys_mq_unlink 283 .long sys_mq_timedsend 284 .long sys_mq_timedreceive /* 280 */ 285 .long sys_mq_notify 286 .long sys_mq_getsetattr 287 .long sys_kexec_load 288 .long sys_waitid 289 .long sys_ni_syscall /* 285 */ /* available */ 290 .long sys_add_key 291 .long sys_request_key 292 .long sys_keyctl 293 .long sys_ioprio_set 294 .long sys_ioprio_get /* 290 */ 295 .long sys_inotify_init 296 .long sys_inotify_add_watch 297 .long sys_inotify_rm_watch 298 .long sys_ni_syscall /* sys_migrate_pages */ 299 .long sys_openat /* 295 */ 300 .long sys_mkdirat 301 .long sys_mknodat 302 .long sys_fchownat 303 .long sys_futimesat 304 .long sys_fstatat64 /* 300 */ 305 .long sys_unlinkat 306 .long sys_renameat 307 .long sys_linkat 308 .long sys_symlinkat 309 .long sys_readlinkat /* 305 */ 310 .long sys_fchmodat 311 .long sys_faccessat 312 .long sys_pselect6 313 .long sys_ppoll 314 .long sys_unshare /* 310 */ 315 .long sys_set_robust_list 316 .long sys_get_robust_list 317 .long sys_splice 318 .long sys_sync_file_range 319 .long sys_tee /* 315 */ 320 .long sys_vmsplice 321 .long sys_move_pages 322 .long sys_getcpu 323 .long sys_epoll_pwait 324 .long sys_utimensat /* 320 */ 325 .long sys_signalfd 326 .long sys_timerfd_create 327 .long sys_eventfd 328 .long sys_fallocate 329 .long sys_semtimedop /* 325 */ 330 .long sys_timerfd_settime 331 .long sys_timerfd_gettime 332 .long sys_semctl 333 .long sys_semget 334 .long sys_semop /* 330 */ 335 .long sys_msgctl 336 .long sys_msgget 337 .long sys_msgrcv 338 .long sys_msgsnd 339 .long sys_shmat /* 335 */ 340 .long sys_shmctl 341 .long sys_shmdt 342 .long sys_shmget 343 .long sys_signalfd4 /* new syscall */ 344 .long sys_eventfd2 /* 340 */ 345 .long sys_epoll_create1 346 .long sys_dup3 347 .long sys_pipe2 348 .long sys_inotify_init1 349 .long sys_socket /* 345 */ 350 .long sys_socketpair 351 .long sys_bind 352 .long sys_listen 353 .long sys_accept 354 .long sys_connect /* 350 */ 355 .long sys_getsockname 356 .long sys_getpeername 357 .long sys_sendto 358 .long sys_send 359 .long sys_recvfrom /* 355 */ 360 .long sys_recv 361 .long sys_setsockopt 362 .long sys_getsockopt 363 .long sys_shutdown 364 .long sys_sendmsg /* 360 */ 365 .long sys_recvmsg 366 .long sys_accept4 367 .long sys_preadv 368 .long sys_pwritev 369 .long sys_rt_tgsigqueueinfo /* 365 */ 370 .long sys_perf_event_open 371 .long sys_recvmmsg 372 .long sys_fanotify_init 373 .long sys_fanotify_mark 374 .long sys_prlimit64 /* 370 */ 375 .long sys_name_to_handle_at 376 .long sys_open_by_handle_at 377 .long sys_clock_adjtime 378 .long sys_syncfs 379 .long sys_setns /* 375 */ 380 .long sys_sendmmsg 381 .long sys_process_vm_readv 382 .long sys_process_vm_writev 383 .long sys_kcmp 384 .long sys_finit_module /* 380 */ 385 .long sys_sched_setattr 386 .long sys_sched_getattr 387 .long sys_renameat2 388 .long sys_seccomp 389 .long sys_getrandom /* 385 */ 390 .long sys_memfd_create 391 .long sys_bpf 392 .long sys_execveat 393 .long sys_userfaultfd 394 .long sys_membarrier /* 390 */ 395 .long sys_mlock2 396 .long sys_copy_file_range 397 .long sys_preadv2 398 .long sys_pwritev2 399 .long sys_pkey_mprotect /* 395 */ 400 .long sys_pkey_alloc 401 .long sys_pkey_free 402 .long sys_statx 403 .long sys_io_pgetevents 404 .long sys_rseq 405