1 # SPDX-License-Identifier: GPL-2.0-only 2 # 3 # AArch32 (compat) system call definitions. 4 # 5 # Copyright (C) 2001-2005 Russell King 6 # Copyright (C) 2012 ARM Ltd. 7 # 8 # This file corresponds to arch/arm/tools/sysc 9 # for the native EABI syscalls and should be k 10 # Instead of the OABI syscalls, it contains po 11 # the compat entry points where they differ fr 12 # syscalls. 13 # 14 0 common restart_syscall sys_re 15 1 common exit sys_ex 16 2 common fork sys_fo 17 3 common read sys_re 18 4 common write sys_wr 19 5 common open sys_op 20 6 common close sys_cl 21 # 7 was sys_waitpid 22 8 common creat sys_cr 23 9 common link sys_li 24 10 common unlink sys_un 25 11 common execve sys_ex 26 12 common chdir sys_ch 27 # 13 was sys_time 28 14 common mknod sys_mk 29 15 common chmod sys_ch 30 16 common lchown sys_lc 31 # 17 was sys_break 32 # 18 was sys_stat 33 19 common lseek sys_ls 34 20 common getpid sys_ge 35 21 common mount sys_mo 36 # 22 was sys_umount 37 23 common setuid sys_se 38 24 common getuid sys_ge 39 # 25 was sys_stime 40 26 common ptrace sys_pt 41 # 27 was sys_alarm 42 # 28 was sys_fstat 43 29 common pause sys_pa 44 # 30 was sys_utime 45 # 31 was sys_stty 46 # 32 was sys_gtty 47 33 common access sys_ac 48 34 common nice sys_ni 49 # 35 was sys_ftime 50 36 common sync sys_sy 51 37 common kill sys_ki 52 38 common rename sys_re 53 39 common mkdir sys_mk 54 40 common rmdir sys_rm 55 41 common dup sys_du 56 42 common pipe sys_pi 57 43 common times sys_ti 58 # 44 was sys_prof 59 45 common brk sys_br 60 46 common setgid sys_se 61 47 common getgid sys_ge 62 # 48 was sys_signal 63 49 common geteuid sys_ge 64 50 common getegid sys_ge 65 51 common acct sys_ac 66 52 common umount2 sys_um 67 # 53 was sys_lock 68 54 common ioctl sys_io 69 55 common fcntl sys_fc 70 # 56 was sys_mpx 71 57 common setpgid sys_se 72 # 58 was sys_ulimit 73 # 59 was sys_olduname 74 60 common umask sys_um 75 61 common chroot sys_ch 76 62 common ustat sys_us 77 63 common dup2 sys_du 78 64 common getppid sys_ge 79 65 common getpgrp sys_ge 80 66 common setsid sys_se 81 67 common sigaction sys_si 82 # 68 was sys_sgetmask 83 # 69 was sys_ssetmask 84 70 common setreuid sys_se 85 71 common setregid sys_se 86 72 common sigsuspend sys_si 87 73 common sigpending sys_si 88 74 common sethostname sys_se 89 75 common setrlimit sys_se 90 # 76 was compat_sys_getrlimit 91 77 common getrusage sys_ge 92 78 common gettimeofday sys_ge 93 79 common settimeofday sys_se 94 80 common getgroups sys_ge 95 81 common setgroups sys_se 96 # 82 was compat_sys_select 97 83 common symlink sys_sy 98 # 84 was sys_lstat 99 85 common readlink sys_re 100 86 common uselib sys_us 101 87 common swapon sys_sw 102 88 common reboot sys_re 103 # 89 was sys_readdir 104 # 90 was sys_mmap 105 91 common munmap sys_mu 106 92 common truncate sys_tr 107 93 common ftruncate sys_ft 108 94 common fchmod sys_fc 109 95 common fchown sys_fc 110 96 common getpriority sys_ge 111 97 common setpriority sys_se 112 # 98 was sys_profil 113 99 common statfs sys_st 114 100 common fstatfs sys_fs 115 # 101 was sys_ioperm 116 # 102 was sys_socketcall 117 103 common syslog sys_sy 118 104 common setitimer sys_se 119 105 common getitimer sys_ge 120 106 common stat sys_ne 121 107 common lstat sys_ne 122 108 common fstat sys_ne 123 # 109 was sys_uname 124 # 110 was sys_iopl 125 111 common vhangup sys_vh 126 # 112 was sys_idle 127 # 113 was sys_syscall 128 114 common wait4 sys_wa 129 115 common swapoff sys_sw 130 116 common sysinfo sys_sy 131 # 117 was sys_ipc 132 118 common fsync sys_fs 133 119 common sigreturn sys_si 134 120 common clone sys_cl 135 121 common setdomainname sys_se 136 122 common uname sys_ne 137 # 123 was sys_modify_ldt 138 124 common adjtimex sys_ad 139 125 common mprotect sys_mp 140 126 common sigprocmask sys_si 141 # 127 was sys_create_module 142 128 common init_module sys_in 143 129 common delete_module sys_de 144 # 130 was sys_get_kernel_syms 145 131 common quotactl sys_qu 146 132 common getpgid sys_ge 147 133 common fchdir sys_fc 148 134 common bdflush sys_ni 149 135 common sysfs sys_sy 150 136 common personality sys_pe 151 # 137 was sys_afs_syscall 152 138 common setfsuid sys_se 153 139 common setfsgid sys_se 154 140 common _llseek sys_ll 155 141 common getdents sys_ge 156 142 common _newselect sys_se 157 143 common flock sys_fl 158 144 common msync sys_ms 159 145 common readv sys_re 160 146 common writev sys_wr 161 147 common getsid sys_ge 162 148 common fdatasync sys_fd 163 149 common _sysctl sys_ni 164 150 common mlock sys_ml 165 151 common munlock sys_mu 166 152 common mlockall sys_ml 167 153 common munlockall sys_mu 168 154 common sched_setparam sys_sc 169 155 common sched_getparam sys_sc 170 156 common sched_setscheduler sys_sc 171 157 common sched_getscheduler sys_sc 172 158 common sched_yield sys_sc 173 159 common sched_get_priority_max sys_sc 174 160 common sched_get_priority_min sys_sc 175 161 common sched_rr_get_interval sys_sc 176 162 common nanosleep sys_na 177 163 common mremap sys_mr 178 164 common setresuid sys_se 179 165 common getresuid sys_ge 180 # 166 was sys_vm86 181 # 167 was sys_query_module 182 168 common poll sys_po 183 169 common nfsservctl sys_ni 184 170 common setresgid sys_se 185 171 common getresgid sys_ge 186 172 common prctl sys_pr 187 173 common rt_sigreturn sys_rt 188 174 common rt_sigaction sys_rt 189 175 common rt_sigprocmask sys_rt 190 176 common rt_sigpending sys_rt 191 177 common rt_sigtimedwait sys_rt 192 178 common rt_sigqueueinfo sys_rt 193 179 common rt_sigsuspend sys_rt 194 180 common pread64 sys_pr 195 181 common pwrite64 sys_pw 196 182 common chown sys_ch 197 183 common getcwd sys_ge 198 184 common capget sys_ca 199 185 common capset sys_ca 200 186 common sigaltstack sys_si 201 187 common sendfile sys_se 202 # 188 reserved 203 # 189 reserved 204 190 common vfork sys_vf 205 # SuS compliant getrlimit 206 191 common ugetrlimit sys_ge 207 192 common mmap2 sys_mm 208 193 common truncate64 sys_tr 209 194 common ftruncate64 sys_ft 210 195 common stat64 sys_st 211 196 common lstat64 sys_ls 212 197 common fstat64 sys_fs 213 198 common lchown32 sys_lc 214 199 common getuid32 sys_ge 215 200 common getgid32 sys_ge 216 201 common geteuid32 sys_ge 217 202 common getegid32 sys_ge 218 203 common setreuid32 sys_se 219 204 common setregid32 sys_se 220 205 common getgroups32 sys_ge 221 206 common setgroups32 sys_se 222 207 common fchown32 sys_fc 223 208 common setresuid32 sys_se 224 209 common getresuid32 sys_ge 225 210 common setresgid32 sys_se 226 211 common getresgid32 sys_ge 227 212 common chown32 sys_ch 228 213 common setuid32 sys_se 229 214 common setgid32 sys_se 230 215 common setfsuid32 sys_se 231 216 common setfsgid32 sys_se 232 217 common getdents64 sys_ge 233 218 common pivot_root sys_pi 234 219 common mincore sys_mi 235 220 common madvise sys_ma 236 221 common fcntl64 sys_fc 237 # 222 for tux 238 # 223 is unused 239 224 common gettid sys_ge 240 225 common readahead sys_re 241 226 common setxattr sys_se 242 227 common lsetxattr sys_ls 243 228 common fsetxattr sys_fs 244 229 common getxattr sys_ge 245 230 common lgetxattr sys_lg 246 231 common fgetxattr sys_fg 247 232 common listxattr sys_li 248 233 common llistxattr sys_ll 249 234 common flistxattr sys_fl 250 235 common removexattr sys_re 251 236 common lremovexattr sys_lr 252 237 common fremovexattr sys_fr 253 238 common tkill sys_tk 254 239 common sendfile64 sys_se 255 240 common futex sys_fu 256 241 common sched_setaffinity sys_sc 257 242 common sched_getaffinity sys_sc 258 243 common io_setup sys_io 259 244 common io_destroy sys_io 260 245 common io_getevents sys_io 261 246 common io_submit sys_io 262 247 common io_cancel sys_io 263 248 common exit_group sys_ex 264 249 common lookup_dcookie sys_ni 265 250 common epoll_create sys_ep 266 251 common epoll_ctl sys_ep 267 252 common epoll_wait sys_ep 268 253 common remap_file_pages sys_re 269 # 254 for set_thread_area 270 # 255 for get_thread_area 271 256 common set_tid_address sys_se 272 257 common timer_create sys_ti 273 258 common timer_settime sys_ti 274 259 common timer_gettime sys_ti 275 260 common timer_getoverrun sys_ti 276 261 common timer_delete sys_ti 277 262 common clock_settime sys_cl 278 263 common clock_gettime sys_cl 279 264 common clock_getres sys_cl 280 265 common clock_nanosleep sys_cl 281 266 common statfs64 sys_st 282 267 common fstatfs64 sys_fs 283 268 common tgkill sys_tg 284 269 common utimes sys_ut 285 270 common arm_fadvise64_64 sys_ar 286 271 common pciconfig_iobase sys_pc 287 272 common pciconfig_read sys_pc 288 273 common pciconfig_write sys_pc 289 274 common mq_open sys_mq 290 275 common mq_unlink sys_mq 291 276 common mq_timedsend sys_mq 292 277 common mq_timedreceive sys_mq 293 278 common mq_notify sys_mq 294 279 common mq_getsetattr sys_mq 295 280 common waitid sys_wa 296 281 common socket sys_so 297 282 common bind sys_bi 298 283 common connect sys_co 299 284 common listen sys_li 300 285 common accept sys_ac 301 286 common getsockname sys_ge 302 287 common getpeername sys_ge 303 288 common socketpair sys_so 304 289 common send sys_se 305 290 common sendto sys_se 306 291 common recv sys_re 307 292 common recvfrom sys_re 308 293 common shutdown sys_sh 309 294 common setsockopt sys_se 310 295 common getsockopt sys_ge 311 296 common sendmsg sys_se 312 297 common recvmsg sys_re 313 298 common semop sys_se 314 299 common semget sys_se 315 300 common semctl sys_ol 316 301 common msgsnd sys_ms 317 302 common msgrcv sys_ms 318 303 common msgget sys_ms 319 304 common msgctl sys_ol 320 305 common shmat sys_sh 321 306 common shmdt sys_sh 322 307 common shmget sys_sh 323 308 common shmctl sys_ol 324 309 common add_key sys_ad 325 310 common request_key sys_re 326 311 common keyctl sys_ke 327 312 common semtimedop sys_se 328 313 common vserver sys_ni 329 314 common ioprio_set sys_io 330 315 common ioprio_get sys_io 331 316 common inotify_init sys_in 332 317 common inotify_add_watch sys_in 333 318 common inotify_rm_watch sys_in 334 319 common mbind sys_mb 335 320 common get_mempolicy sys_ge 336 321 common set_mempolicy sys_se 337 322 common openat sys_op 338 323 common mkdirat sys_mk 339 324 common mknodat sys_mk 340 325 common fchownat sys_fc 341 326 common futimesat sys_fu 342 327 common fstatat64 sys_fs 343 328 common unlinkat sys_un 344 329 common renameat sys_re 345 330 common linkat sys_li 346 331 common symlinkat sys_sy 347 332 common readlinkat sys_re 348 333 common fchmodat sys_fc 349 334 common faccessat sys_fa 350 335 common pselect6 sys_ps 351 336 common ppoll sys_pp 352 337 common unshare sys_un 353 338 common set_robust_list sys_se 354 339 common get_robust_list sys_ge 355 340 common splice sys_sp 356 341 common arm_sync_file_range sys_sy 357 342 common tee sys_te 358 343 common vmsplice sys_vm 359 344 common move_pages sys_mo 360 345 common getcpu sys_ge 361 346 common epoll_pwait sys_ep 362 347 common kexec_load sys_ke 363 348 common utimensat sys_ut 364 349 common signalfd sys_si 365 350 common timerfd_create sys_ti 366 351 common eventfd sys_ev 367 352 common fallocate sys_fa 368 353 common timerfd_settime sys_ti 369 354 common timerfd_gettime sys_ti 370 355 common signalfd4 sys_si 371 356 common eventfd2 sys_ev 372 357 common epoll_create1 sys_ep 373 358 common dup3 sys_du 374 359 common pipe2 sys_pi 375 360 common inotify_init1 sys_in 376 361 common preadv sys_pr 377 362 common pwritev sys_pw 378 363 common rt_tgsigqueueinfo sys_rt 379 364 common perf_event_open sys_pe 380 365 common recvmmsg sys_re 381 366 common accept4 sys_ac 382 367 common fanotify_init sys_fa 383 368 common fanotify_mark sys_fa 384 369 common prlimit64 sys_pr 385 370 common name_to_handle_at sys_na 386 371 common open_by_handle_at sys_op 387 372 common clock_adjtime sys_cl 388 373 common syncfs sys_sy 389 374 common sendmmsg sys_se 390 375 common setns sys_se 391 376 common process_vm_readv sys_pr 392 377 common process_vm_writev sys_pr 393 378 common kcmp sys_kc 394 379 common finit_module sys_fi 395 380 common sched_setattr sys_sc 396 381 common sched_getattr sys_sc 397 382 common renameat2 sys_re 398 383 common seccomp sys_se 399 384 common getrandom sys_ge 400 385 common memfd_create sys_me 401 386 common bpf sys_bp 402 387 common execveat sys_ex 403 388 common userfaultfd sys_us 404 389 common membarrier sys_me 405 390 common mlock2 sys_ml 406 391 common copy_file_range sys_co 407 392 common preadv2 sys_pr 408 393 common pwritev2 sys_pw 409 394 common pkey_mprotect sys_pk 410 395 common pkey_alloc sys_pk 411 396 common pkey_free sys_pk 412 397 common statx sys_st 413 398 common rseq sys_rs 414 399 common io_pgetevents sys_io 415 400 common migrate_pages sys_mi 416 401 common kexec_file_load sys_ke 417 # 402 is unused 418 403 common clock_gettime64 419 404 common clock_settime64 420 405 common clock_adjtime64 421 406 common clock_getres_time64 422 407 common clock_nanosleep_time64 423 408 common timer_gettime64 424 409 common timer_settime64 425 410 common timerfd_gettime64 426 411 common timerfd_settime64 427 412 common utimensat_time64 428 413 common pselect6_time64 429 414 common ppoll_time64 430 416 common io_pgetevents_time64 431 417 common recvmmsg_time64 432 418 common mq_timedsend_time64 433 419 common mq_timedreceive_time64 434 420 common semtimedop_time64 435 421 common rt_sigtimedwait_time64 436 422 common futex_time64 437 423 common sched_rr_get_interval_time64 438 424 common pidfd_send_signal 439 425 common io_uring_setup 440 426 common io_uring_enter 441 427 common io_uring_register 442 428 common open_tree 443 429 common move_mount 444 430 common fsopen 445 431 common fsconfig 446 432 common fsmount 447 433 common fspick 448 434 common pidfd_open 449 435 common clone3 450 436 common close_range 451 437 common openat2 452 438 common pidfd_getfd 453 439 common faccessat2 454 440 common process_madvise 455 441 common epoll_pwait2 456 442 common mount_setattr 457 443 common quotactl_fd 458 444 common landlock_create_ruleset 459 445 common landlock_add_rule 460 446 common landlock_restrict_self 461 # 447 reserved for memfd_secret 462 448 common process_mrelease 463 449 common futex_waitv 464 450 common set_mempolicy_home_node 465 451 common cachestat 466 452 common fchmodat2 467 453 common map_shadow_stack 468 454 common futex_wake 469 455 common futex_wait 470 456 common futex_requeue 471 457 common statmount 472 458 common listmount 473 459 common lsm_get_self_attr 474 460 common lsm_set_self_attr 475 461 common lsm_list_modules 476 462 common mseal
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.