1 2; Linux ABI system call generic name/number map, based on Linux file 3; include/uapi/asm-generic/unistd.h 4 5; #include's, #defines's, etc. may be included, and are copied to the output 6; files. However, #ifdef, etc will be copied, but any lines that don't start 7; with # will not. Caveat Emptor. 8 9#include <sys/param.h> 10#include <sys/sysent.h> 11#include <sys/sysproto.h> 12#include <arm64/linux/linux.h> 13#include <arm64/linux/linux_proto.h> 14 150 AUE_NULL UNIMPL linux_io_setup 161 AUE_NULL UNIMPL linux_io_destroy 172 AUE_NULL UNIMPL linux_io_submit 183 AUE_NULL UNIMPL linux_io_cancel 194 AUE_NULL UNIMPL linux_io_getevents 205 AUE_NULL STD { 21 int linux_setxattr( 22 const char *path, 23 const char *name, 24 void *value, 25 l_size_t size, 26 l_int flags 27 ); 28 } 296 AUE_NULL STD { 30 int linux_lsetxattr( 31 const char *path, 32 const char *name, 33 void *value, 34 l_size_t size, 35 l_int flags 36 ); 37 } 387 AUE_NULL STD { 39 int linux_fsetxattr( 40 l_int fd, 41 const char *name, 42 void *value, 43 l_size_t size, 44 l_int flags 45 ); 46 } 478 AUE_NULL STD { 48 int linux_getxattr( 49 const char *path, 50 const char *name, 51 void *value, 52 l_size_t size 53 ); 54 } 559 AUE_NULL STD { 56 int linux_lgetxattr( 57 const char *path, 58 const char *name, 59 void *value, 60 l_size_t size 61 ); 62 } 6310 AUE_NULL STD { 64 int linux_fgetxattr( 65 l_int fd, 66 const char *name, 67 void *value, 68 l_size_t size 69 ); 70 } 7111 AUE_NULL STD { 72 int linux_listxattr( 73 const char *path, 74 char *list, 75 l_size_t size 76 ); 77 } 7812 AUE_NULL STD { 79 int linux_llistxattr( 80 const char *path, 81 char *list, 82 l_size_t size 83 ); 84 } 8513 AUE_NULL STD { 86 int linux_flistxattr( 87 l_int fd, 88 char *list, 89 l_size_t size 90 ); 91 } 9214 AUE_NULL STD { 93 int linux_removexattr( 94 const char *path, 95 const char *name 96 ); 97 } 9815 AUE_NULL STD { 99 int linux_lremovexattr( 100 const char *path, 101 const char *name 102 ); 103 } 10416 AUE_NULL STD { 105 int linux_fremovexattr( 106 l_int fd, 107 const char *name 108 ); 109 } 11017 AUE_GETCWD STD { 111 int linux_getcwd( 112 char *buf, 113 l_ulong bufsize 114 ); 115 } 11618 AUE_NULL STD { 117 int linux_lookup_dcookie(void); 118 } 11919 AUE_NULL STD { 120 int linux_eventfd2( 121 l_uint initval, 122 l_int flags 123 ); 124 } 12520 AUE_NULL STD { 126 int linux_epoll_create1( 127 l_int flags 128 ); 129 } 13021 AUE_NULL STD { 131 int linux_epoll_ctl( 132 l_int epfd, 133 l_int op, 134 l_int fd, 135 struct epoll_event *event 136 ); 137 } 13822 AUE_NULL STD { 139 int linux_epoll_pwait( 140 l_int epfd, 141 struct epoll_event *events, 142 l_int maxevents, 143 l_int timeout, 144 l_sigset_t *mask, 145 l_size_t sigsetsize 146 ); 147 } 14823 AUE_DUP NOPROTO { 149 int dup( 150 u_int fd 151 ); 152 } 15324 AUE_NULL STD { 154 int linux_dup3( 155 l_int oldfd, 156 l_int newfd, 157 l_int flags 158 ); 159 } 16025 AUE_FCNTL STD { 161 int linux_fcntl( 162 l_uint fd, 163 l_uint cmd, 164 l_ulong arg 165 ); 166 } 16726 AUE_NULL STD { 168 int linux_inotify_init1( 169 l_int flags 170 ); 171 } 17227 AUE_NULL STD { 173 int linux_inotify_add_watch(void); 174 } 17528 AUE_NULL STD { 176 int linux_inotify_rm_watch(void); 177 } 17829 AUE_IOCTL STD { 179 int linux_ioctl( 180 l_uint fd, 181 l_uint cmd, 182 l_ulong arg 183 ); 184 } 18530 AUE_SETPRIORITY STD { 186 int linux_ioprio_set( 187 l_int which, 188 l_int who, 189 l_int ioprio 190 ); 191 } 19231 AUE_GETPRIORITY STD { 193 int linux_ioprio_get( 194 l_int which, 195 l_int who 196 ); 197 } 19832 AUE_FLOCK NOPROTO { 199 int flock( 200 int fd, 201 int how 202 ); 203 } 20433 AUE_MKNODAT STD { 205 int linux_mknodat( 206 l_int dfd, 207 const char *filename, 208 l_int mode, 209 l_dev_t dev 210 ); 211 } 21234 AUE_MKDIRAT STD { 213 int linux_mkdirat( 214 l_int dfd, 215 const char *pathname, 216 l_mode_t mode 217 ); 218 } 21935 AUE_UNLINKAT STD { 220 int linux_unlinkat( 221 l_int dfd, 222 const char *pathname, 223 l_int flag 224 ); 225 } 22636 AUE_SYMLINKAT STD { 227 int linux_symlinkat( 228 const char *oldname, 229 l_int newdfd, 230 const char *newname 231 ); 232 } 23337 AUE_LINKAT STD { 234 int linux_linkat( 235 l_int olddfd, 236 const char *oldname, 237 l_int newdfd, 238 const char *newname, 239 l_int flag 240 ); 241 } 24238 AUE_RENAMEAT STD { 243 int linux_renameat( 244 l_int olddfd, 245 const char *oldname, 246 l_int newdfd, 247 const char *newname 248 ); 249 } 25039 AUE_NULL UNIMPL linux_umount2 25140 AUE_MOUNT STD { 252 int linux_mount( 253 char *specialfile, 254 char *dir, 255 char *filesystemtype, 256 l_ulong rwflag, 257 void *data 258 ); 259 } 26041 AUE_PIVOT_ROOT STD { 261 int linux_pivot_root(void); 262 } 26342 AUE_NULL UNIMPL nfsservctl 26443 AUE_STATFS STD { 265 int linux_statfs( 266 char *path, 267 struct l_statfs_buf *buf 268 ); 269 } 27044 AUE_FSTATFS STD { 271 int linux_fstatfs( 272 l_uint fd, 273 struct l_statfs_buf *buf 274 ); 275 } 27645 AUE_TRUNCATE STD { 277 int linux_truncate( 278 char *path, 279 l_ulong length 280 ); 281 } 28246 AUE_FTRUNCATE STD { 283 int linux_ftruncate( 284 l_int fd, 285 l_long length 286 ); 287 } 28847 AUE_NULL STD { 289 int linux_fallocate( 290 l_int fd, 291 l_int mode, 292 l_loff_t offset, 293 l_loff_t len 294 ); 295 } 29648 AUE_FACCESSAT STD { 297 int linux_faccessat( 298 l_int dfd, 299 const char *filename, 300 l_int amode 301 ); 302 } 30349 AUE_CHDIR STD { 304 int linux_chdir( 305 char *path 306 ); 307 } 30850 AUE_FCHDIR NOPROTO { 309 int fchdir( 310 int fd 311 ); 312 } 31351 AUE_CHROOT NOPROTO { 314 int chroot( 315 char *path 316 ); 317 } 31852 AUE_FCHMOD NOPROTO { 319 int fchmod( 320 int fd, 321 int mode 322 ); 323 } 32453 AUE_FCHMODAT STD { 325 int linux_fchmodat( 326 l_int dfd, 327 const char *filename, 328 l_mode_t mode 329 ); 330 } 33154 AUE_FCHOWNAT STD { 332 int linux_fchownat( 333 l_int dfd, 334 const char *filename, 335 l_uid_t uid, 336 l_gid_t gid, 337 l_int flag 338 ); 339 } 34055 AUE_FCHOWN NOPROTO { 341 int fchown( 342 int fd, 343 int uid, 344 int gid 345 ); 346 } 34756 AUE_OPEN_RWTC STD { 348 int linux_openat( 349 l_int dfd, 350 const char *filename, 351 l_int flags, 352 l_mode_t mode 353 ); 354 } 35557 AUE_CLOSE NOPROTO { 356 int close( 357 int fd 358 ); 359 } 36058 AUE_NULL STD { 361 int linux_vhangup(void); 362 } 36359 AUE_NULL STD { 364 int linux_pipe2( 365 l_int *pipefds, 366 l_int flags 367 ); 368 } 36960 AUE_NULL UNIMPL linux_quotactl 37061 AUE_GETDIRENTRIES STD { 371 int linux_getdents64( 372 l_uint fd, 373 void *dirent, 374 l_uint count 375 ); 376 } 37762 AUE_LSEEK STD { 378 int linux_lseek( 379 l_uint fdes, 380 l_off_t off, 381 l_int whence 382 ); 383 } 38463 AUE_NULL NOPROTO { 385 int read( 386 int fd, 387 char *buf, 388 l_size_t nbyte 389 ); 390 } 39164 AUE_NULL STD { 392 int linux_write( 393 int fd, 394 char *buf, 395 l_size_t nbyte 396 ); 397 } 39865 AUE_READV NOPROTO { 399 int readv( 400 int fd, 401 struct iovec *iovp, 402 u_int iovcnt 403 ); 404 } 40566 AUE_WRITEV STD { 406 int linux_writev( 407 int fd, 408 struct iovec *iovp, 409 u_int iovcnt 410 ); 411 } 41267 AUE_PREAD STD { 413 int linux_pread( 414 l_uint fd, 415 char *buf, 416 l_size_t nbyte, 417 l_loff_t offset 418 ); 419 } 42068 AUE_PWRITE STD { 421 int linux_pwrite( 422 l_uint fd, 423 char *buf, 424 l_size_t nbyte, 425 l_loff_t offset 426 ); 427 } 42869 AUE_NULL STD { 429 int linux_preadv( 430 l_ulong fd, 431 struct iovec *vec, 432 l_ulong vlen, 433 l_ulong pos_l, 434 l_ulong pos_h 435 ); 436 } 43770 AUE_NULL STD { 438 int linux_pwritev( 439 l_ulong fd, 440 struct iovec *vec, 441 l_ulong vlen, 442 l_ulong pos_l, 443 l_ulong pos_h 444 ); 445 } 44671 AUE_SENDFILE STD { 447 int linux_sendfile( 448 l_int out, 449 l_int in, 450 l_off_t *offset, 451 l_size_t count 452 ); 453 } 45472 AUE_SELECT STD { 455 int linux_pselect6( 456 l_int nfds, 457 l_fd_set *readfds, 458 l_fd_set *writefds, 459 l_fd_set *exceptfds, 460 struct l_timespec *tsp, 461 l_uintptr_t *sig 462 ); 463 } 46473 AUE_POLL STD { 465 int linux_ppoll( 466 struct pollfd *fds, 467 l_uint nfds, 468 struct l_timespec *tsp, 469 l_sigset_t *sset, 470 l_size_t ssize 471 ); 472 } 47374 AUE_NULL STD { 474 int linux_signalfd4(void); 475 } 47675 AUE_NULL STD { 477 int linux_vmsplice(void); 478 } 47976 AUE_NULL STD { 480 int linux_splice( 481 int fd_in, 482 l_loff_t *off_in, 483 int fd_out, 484 l_loff_t *off_out, 485 l_size_t len, 486 l_uint flags 487 ); 488 } 48977 AUE_NULL STD { 490 int linux_tee(void); 491 } 49278 AUE_READLINKAT STD { 493 int linux_readlinkat( 494 l_int dfd, 495 const char *path, 496 char *buf, 497 l_int bufsiz 498 ); 499 } 50079 AUE_FSTATAT STD { 501 int linux_newfstatat( 502 l_int dfd, 503 char *pathname, 504 struct l_stat64 *statbuf, 505 l_int flag 506 ); 507 } 50880 AUE_FSTAT STD { 509 int linux_newfstat( 510 l_uint fd, 511 struct l_newstat *buf 512 ); 513 } 51481 AUE_NULL UNIMPL linux_sync 51582 AUE_FSYNC NOPROTO { 516 int fsync( 517 int fd 518 ); 519 } 52083 AUE_NULL STD { 521 int linux_fdatasync( 522 l_uint fd 523 ); 524 } 52584 AUE_NULL STD { 526 int linux_sync_file_range( 527 l_int fd, 528 l_loff_t offset, 529 l_loff_t nbytes, 530 l_uint flags 531 ); 532 } 53385 AUE_NULL STD { 534 int linux_timerfd_create( 535 l_int clockid, 536 l_int flags 537 ); 538 } 53986 AUE_NULL STD { 540 int linux_timerfd_settime( 541 l_int fd, 542 l_int flags, 543 const struct l_itimerspec *new_value, 544 struct l_itimerspec *old_value 545 ); 546 } 54787 AUE_NULL STD { 548 int linux_timerfd_gettime( 549 l_int fd, 550 struct l_itimerspec *old_value 551 ); 552 } 55388 AUE_FUTIMESAT STD { 554 int linux_utimensat( 555 l_int dfd, 556 const char *pathname, 557 const struct l_timespec *times, 558 l_int flags 559 ); 560 } 56189 AUE_ACCT NOPROTO { 562 int acct( 563 char *path 564 ); 565 } 56690 AUE_CAPGET STD { 567 int linux_capget( 568 struct l_user_cap_header *hdrp, 569 struct l_user_cap_data *datap 570 ); 571 } 57291 AUE_CAPSET STD { 573 int linux_capset( 574 struct l_user_cap_header *hdrp, 575 struct l_user_cap_data *datap 576 ); 577 } 57892 AUE_PERSONALITY STD { 579 int linux_personality( 580 l_uint per 581 ); 582 } 58393 AUE_EXIT STD { 584 int linux_exit( 585 u_int rval 586 ); 587 } 58894 AUE_EXIT STD { 589 int linux_exit_group( 590 l_int error_code 591 ); 592 } 59395 AUE_WAIT6 STD { 594 int linux_waitid( 595 l_int idtype, 596 l_pid_t id, 597 l_siginfo_t *info, 598 l_int options, 599 struct rusage *rusage 600 ); 601 } 60296 AUE_NULL STD { 603 int linux_set_tid_address( 604 l_int *tidptr 605 ); 606 } 60797 AUE_NULL STD { 608 int linux_unshare(void); 609 } 61098 AUE_NULL STD { 611 int linux_sys_futex( 612 uint32_t *uaddr, 613 l_int op, 614 uint32_t val, 615 struct l_timespec *timeout, 616 uint32_t *uaddr2, 617 uint32_t val3 618 ); 619 } 62099 AUE_NULL STD { 621 int linux_set_robust_list( 622 struct linux_robust_list_head *head, 623 l_size_t len 624 ); 625 } 626100 AUE_NULL STD { 627 int linux_get_robust_list( 628 l_int pid, 629 struct linux_robust_list_head **head, 630 l_size_t *len 631 ); 632 } 633101 AUE_NULL STD { 634 int linux_nanosleep( 635 const struct l_timespec *rqtp, 636 struct l_timespec *rmtp 637 ); 638 } 639102 AUE_GETITIMER STD { 640 int linux_getitimer( 641 l_int which, 642 struct l_itimerval *itv 643 ); 644 } 645103 AUE_SETITIMER STD { 646 int linux_setitimer( 647 l_int which, 648 struct l_itimerval *itv, 649 struct l_itimerval *oitv 650 ); 651 } 652104 AUE_NULL STD { 653 int linux_kexec_load(void); 654 } 655105 AUE_NULL STD { 656 int linux_init_module(void); 657 } 658106 AUE_NULL STD { 659 int linux_delete_module(void); 660 } 661107 AUE_NULL STD { 662 int linux_timer_create( 663 clockid_t clock_id, 664 struct sigevent *evp, 665 l_timer_t *timerid 666 ); 667 } 668108 AUE_NULL STD { 669 int linux_timer_gettime( 670 l_timer_t timerid, 671 struct itimerspec *setting 672 ); 673 } 674109 AUE_NULL STD { 675 int linux_timer_getoverrun( 676 l_timer_t timerid 677 ); 678 } 679110 AUE_NULL STD { 680 int linux_timer_settime( 681 l_timer_t timerid, 682 l_int flags, 683 const struct itimerspec *new, 684 struct itimerspec *old 685 ); 686 } 687111 AUE_NULL STD { 688 int linux_timer_delete( 689 l_timer_t timerid 690 ); 691 } 692112 AUE_CLOCK_SETTIME STD { 693 int linux_clock_settime( 694 clockid_t which, 695 struct l_timespec *tp 696 ); 697 } 698113 AUE_NULL STD { 699 int linux_clock_gettime( 700 clockid_t which, 701 struct l_timespec *tp 702 ); 703 } 704114 AUE_NULL STD { 705 int linux_clock_getres( 706 clockid_t which, 707 struct l_timespec *tp 708 ); 709 } 710115 AUE_NULL STD { 711 int linux_clock_nanosleep( 712 clockid_t which, 713 l_int flags, 714 struct l_timespec *rqtp, 715 struct l_timespec *rmtp 716 ); 717 } 718116 AUE_NULL STD { 719 int linux_syslog( 720 l_int type, 721 char *buf, 722 l_int len 723 ); 724 } 725117 AUE_PTRACE STD { 726 int linux_ptrace( 727 l_long req, 728 l_long pid, 729 l_ulong addr, 730 l_ulong data 731 ); 732 } 733118 AUE_SCHED_SETPARAM STD { 734 int linux_sched_setparam( 735 l_pid_t pid, 736 struct sched_param *param 737 ); 738 } 739119 AUE_SCHED_SETSCHEDULER STD { 740 int linux_sched_setscheduler( 741 l_pid_t pid, 742 l_int policy, 743 struct sched_param *param 744 ); 745 } 746120 AUE_SCHED_GETSCHEDULER STD { 747 int linux_sched_getscheduler( 748 l_pid_t pid 749 ); 750 } 751121 AUE_SCHED_GETPARAM STD { 752 int linux_sched_getparam( 753 l_pid_t pid, 754 struct sched_param *param 755 ); 756 } 757122 AUE_NULL STD { 758 int linux_sched_setaffinity( 759 l_pid_t pid, 760 l_uint len, 761 l_ulong *user_mask_ptr 762 ); 763 } 764123 AUE_NULL STD { 765 int linux_sched_getaffinity( 766 l_pid_t pid, 767 l_uint len, 768 l_ulong *user_mask_ptr 769 ); 770 } 771124 AUE_NULL NOPROTO { 772 int sched_yield(void); 773 } 774125 AUE_SCHED_GET_PRIORITY_MAX STD { 775 int linux_sched_get_priority_max( 776 l_int policy 777 ); 778 } 779126 AUE_SCHED_GET_PRIORITY_MIN STD { 780 int linux_sched_get_priority_min( 781 l_int policy 782 ); 783 } 784127 AUE_SCHED_RR_GET_INTERVAL STD { 785 int linux_sched_rr_get_interval( 786 l_pid_t pid, 787 struct l_timespec *interval 788 ); 789 } 790128 AUE_NULL UNIMPL restart_syscall 791129 AUE_KILL STD { 792 int linux_kill( 793 l_pid_t pid, 794 l_int signum 795 ); 796 } 797130 AUE_NULL STD { 798 int linux_tkill( 799 l_pid_t tid, 800 l_int sig 801 ); 802 } 803131 AUE_NULL STD { 804 int linux_tgkill( 805 l_pid_t tgid, 806 l_pid_t pid, 807 l_int sig 808 ); 809 } 810132 AUE_NULL STD { 811 int linux_sigaltstack( 812 l_stack_t *uss, 813 l_stack_t *uoss 814 ); 815 } 816133 AUE_NULL STD { 817 int linux_rt_sigsuspend( 818 l_sigset_t *newset, 819 l_size_t sigsetsize 820 ); 821 } 822134 AUE_NULL STD { 823 int linux_rt_sigaction( 824 l_int sig, 825 l_sigaction_t *act, 826 l_sigaction_t *oact, 827 l_size_t sigsetsize 828 ); 829 } 830135 AUE_NULL STD { 831 int linux_rt_sigprocmask( 832 l_int how, 833 l_sigset_t *mask, 834 l_sigset_t *omask, 835 l_size_t sigsetsize 836 ); 837 } 838136 AUE_NULL STD { 839 int linux_rt_sigpending( 840 l_sigset_t *set, 841 l_size_t sigsetsize 842 ); 843 } 844137 AUE_NULL STD { 845 int linux_rt_sigtimedwait( 846 l_sigset_t *mask, 847 l_siginfo_t *ptr, 848 struct l_timespec *timeout, 849 l_size_t sigsetsize 850 ); 851 } 852138 AUE_NULL STD { 853 int linux_rt_sigqueueinfo( 854 l_pid_t pid, 855 l_int sig, 856 l_siginfo_t *info 857 ); 858 } 859139 AUE_NULL STD { 860 int linux_rt_sigreturn(void); 861 } 862140 AUE_SETPRIORITY NOPROTO { 863 int setpriority( 864 int which, 865 int who, 866 int prio 867 ); 868 } 869141 AUE_GETPRIORITY STD { 870 int linux_getpriority( 871 l_int which, 872 l_int who 873 ); 874 } 875142 AUE_REBOOT STD { 876 int linux_reboot( 877 l_int magic1, 878 l_int magic2, 879 l_uint cmd, 880 void *arg 881 ); 882 } 883143 AUE_SETREGID NOPROTO { 884 int setregid( 885 gid_t rgid, 886 gid_t egid 887 ); 888 } 889144 AUE_SETGID NOPROTO { 890 int setgid( 891 gid_t gid 892 ); 893 } 894145 AUE_SETREUID NOPROTO { 895 int setreuid( 896 uid_t ruid, 897 uid_t euid 898 ); 899 } 900146 AUE_SETUID NOPROTO { 901 int setuid( 902 uid_t uid 903 ); 904 } 905147 AUE_SETRESUID NOPROTO { 906 int setresuid( 907 uid_t ruid, 908 uid_t euid, 909 uid_t suid 910 ); 911 } 912148 AUE_GETRESUID NOPROTO { 913 int getresuid( 914 uid_t *ruid, 915 uid_t *euid, 916 uid_t *suid 917 ); 918 } 919149 AUE_SETRESGID NOPROTO { 920 int setresgid( 921 gid_t rgid, 922 gid_t egid, 923 gid_t sgid 924 ); 925 } 926150 AUE_GETRESGID NOPROTO { 927 int getresgid( 928 gid_t *rgid, 929 gid_t *egid, 930 gid_t *sgid 931 ); 932 } 933151 AUE_SETFSUID STD { 934 int linux_setfsuid( 935 l_uid_t uid 936 ); 937 } 938152 AUE_SETFSGID STD { 939 int linux_setfsgid( 940 l_gid_t gid 941 ); 942 } 943153 AUE_NULL STD { 944 int linux_times( 945 struct l_times_argv *buf 946 ); 947 } 948154 AUE_SETPGRP NOPROTO { 949 int setpgid( 950 int pid, 951 int pgid 952 ); 953 } 954155 AUE_GETPGID NOPROTO { 955 int getpgid( 956 int pid 957 ); 958 } 959156 AUE_GETSID STD { 960 int linux_getsid( 961 l_pid_t pid 962 ); 963 } 964157 AUE_SETSID NOPROTO { 965 int setsid(void); 966 } 967158 AUE_GETGROUPS STD { 968 int linux_getgroups( 969 l_int gidsetsize, 970 l_gid_t *grouplist 971 ); 972 } 973159 AUE_SETGROUPS STD { 974 int linux_setgroups( 975 l_int gidsetsize, 976 l_gid_t *grouplist 977 ); 978 } 979160 AUE_NULL STD { 980 int linux_newuname( 981 struct l_new_utsname *buf 982 ); 983 } 984161 AUE_SYSCTL STD { 985 int linux_sethostname( 986 char *hostname, 987 l_uint len 988 ); 989 } 990162 AUE_SYSCTL STD { 991 int linux_setdomainname( 992 char *name, 993 l_int len 994 ); 995 } 996163 AUE_GETRLIMIT STD { 997 int linux_getrlimit( 998 l_uint resource, 999 struct l_rlimit *rlim 1000 ); 1001 } 1002164 AUE_SETRLIMIT STD { 1003 int linux_setrlimit( 1004 l_uint resource, 1005 struct l_rlimit *rlim 1006 ); 1007 } 1008165 AUE_GETRUSAGE NOPROTO { 1009 int getrusage( 1010 int who, 1011 struct rusage *rusage 1012 ); 1013 } 1014166 AUE_UMASK NOPROTO { 1015 int umask( 1016 int newmask 1017 ); 1018 } 1019167 AUE_PRCTL STD { 1020 int linux_prctl( 1021 l_int option, 1022 l_uintptr_t arg2, 1023 l_uintptr_t arg3, 1024 l_uintptr_t arg4, 1025 l_uintptr_t arg5 1026 ); 1027 } 1028168 AUE_NULL STD { 1029 int linux_getcpu( 1030 l_uint *cpu, 1031 l_uint *node, 1032 void *cache 1033 ); 1034 } 1035169 AUE_NULL NOPROTO { 1036 int gettimeofday( 1037 struct l_timeval *tp, 1038 struct timezone *tzp 1039 ); 1040 } 1041170 AUE_SETTIMEOFDAY NOPROTO { 1042 int settimeofday( 1043 struct l_timeval *tv, 1044 struct timezone *tzp 1045 ); 1046 } 1047171 AUE_ADJTIME STD { 1048 int linux_adjtimex(void); 1049 } 1050172 AUE_GETPID STD { 1051 int linux_getpid(void); 1052 } 1053173 AUE_GETPPID STD { 1054 int linux_getppid(void); 1055 } 1056174 AUE_GETUID STD { 1057 int linux_getuid(void); 1058 } 1059175 AUE_GETEUID NOPROTO { 1060 int geteuid(void); 1061 } 1062176 AUE_GETGID STD { 1063 int linux_getgid(void); 1064 } 1065177 AUE_GETEGID NOPROTO { 1066 int getegid(void); 1067 } 1068178 AUE_NULL STD { 1069 int linux_gettid(void); 1070 } 1071179 AUE_NULL STD { 1072 int linux_sysinfo( 1073 struct l_sysinfo *info 1074 ); 1075 } 1076180 AUE_NULL STD { 1077 int linux_mq_open( 1078 const char *name, 1079 l_int oflag, 1080 l_mode_t mode, 1081 struct mq_attr *attr 1082 ); 1083 } 1084181 AUE_NULL STD { 1085 int linux_mq_unlink( 1086 const char *name 1087 ); 1088 } 1089182 AUE_NULL STD { 1090 int linux_mq_timedsend( 1091 l_mqd_t mqd, 1092 const char *msg_ptr, 1093 l_size_t msg_len, 1094 l_uint msg_prio, 1095 const struct l_timespec *abs_timeout 1096 ); 1097 } 1098183 AUE_NULL STD { 1099 int linux_mq_timedreceive( 1100 l_mqd_t mqd, 1101 char *msg_ptr, 1102 l_size_t msg_len, 1103 l_uint *msg_prio, 1104 const struct l_timespec *abs_timeout 1105 ); 1106 } 1107184 AUE_NULL STD { 1108 int linux_mq_notify( 1109 l_mqd_t mqd, 1110 const struct l_timespec *abs_timeout 1111 ); 1112 } 1113185 AUE_NULL STD { 1114 int linux_mq_getsetattr( 1115 l_mqd_t mqd, 1116 const struct mq_attr *attr, 1117 struct mq_attr *oattr 1118 ); 1119 } 1120186 AUE_NULL STD { 1121 int linux_msgget( 1122 l_key_t key, 1123 l_int msgflg 1124 ); 1125 } 1126187 AUE_NULL STD { 1127 int linux_msgctl( 1128 l_int msqid, 1129 l_int cmd, 1130 struct l_msqid_ds *buf 1131 ); 1132 } 1133188 AUE_NULL STD { 1134 int linux_msgrcv( 1135 l_int msqid, 1136 struct l_msgbuf *msgp, 1137 l_size_t msgsz, 1138 l_long msgtyp, 1139 l_int msgflg 1140 ); 1141 } 1142189 AUE_NULL STD { 1143 int linux_msgsnd( 1144 l_int msqid, 1145 struct l_msgbuf *msgp, 1146 l_size_t msgsz, 1147 l_int msgflg 1148 ); 1149 } 1150190 AUE_NULL STD { 1151 int linux_semget( 1152 l_key_t key, 1153 l_int nsems, 1154 l_int semflg 1155 ); 1156 } 1157191 AUE_NULL STD { 1158 int linux_semctl( 1159 l_int semid, 1160 l_int semnum, 1161 l_int cmd, 1162 union l_semun arg 1163 ); 1164 } 1165192 AUE_NULL STD { 1166 int linux_semtimedop( 1167 l_int semid, 1168 struct sembuf *tsops, 1169 l_size_t nsops, 1170 struct l_timespec *timeout 1171 ); 1172 } 1173193 AUE_NULL NOPROTO { 1174 int semop( 1175 l_int semid, 1176 struct sembuf *sops, 1177 l_size_t nsops 1178 ); 1179 } 1180194 AUE_NULL STD { 1181 int linux_shmget( 1182 l_key_t key, 1183 l_size_t size, 1184 l_int shmflg 1185 ); 1186 } 1187195 AUE_NULL STD { 1188 int linux_shmctl( 1189 l_int shmid, 1190 l_int cmd, 1191 struct l_shmid_ds *buf 1192 ); 1193 } 1194196 AUE_NULL STD { 1195 int linux_shmat( 1196 l_int shmid, 1197 char *shmaddr, 1198 l_int shmflg 1199 ); 1200 } 1201197 AUE_NULL STD { 1202 int linux_shmdt( 1203 char *shmaddr 1204 ); 1205 } 1206198 AUE_SOCKET STD { 1207 int linux_socket( 1208 l_int domain, 1209 l_int type, 1210 l_int protocol 1211 ); 1212 } 1213199 AUE_SOCKETPAIR STD { 1214 int linux_socketpair( 1215 l_int domain, 1216 l_int type, 1217 l_int protocol, 1218 l_uintptr_t rsv 1219 ); 1220 } 1221200 AUE_BIND STD { 1222 int linux_bind( 1223 l_int s, 1224 l_uintptr_t name, 1225 l_int namelen 1226 ); 1227 } 1228201 AUE_LISTEN STD { 1229 int linux_listen( 1230 l_int s, 1231 l_int backlog 1232 ); 1233 } 1234202 AUE_ACCEPT STD { 1235 int linux_accept( 1236 l_int s, 1237 l_uintptr_t addr, 1238 l_uintptr_t namelen 1239 ); 1240 } 1241203 AUE_CONNECT STD { 1242 int linux_connect( 1243 l_int s, 1244 l_uintptr_t name, 1245 l_int namelen 1246 ); 1247 } 1248204 AUE_GETSOCKNAME STD { 1249 int linux_getsockname( 1250 l_int s, 1251 l_uintptr_t addr, 1252 l_uintptr_t namelen 1253 ); 1254 } 1255205 AUE_GETPEERNAME STD { 1256 int linux_getpeername( 1257 l_int s, 1258 l_uintptr_t addr, 1259 l_uintptr_t namelen 1260 ); 1261 } 1262206 AUE_SENDTO STD { 1263 int linux_sendto( 1264 l_int s, 1265 l_uintptr_t msg, 1266 l_size_t len, 1267 l_uint flags, 1268 l_uintptr_t to, 1269 l_int tolen 1270 ); 1271 } 1272207 AUE_RECVFROM STD { 1273 int linux_recvfrom( 1274 l_int s, 1275 l_uintptr_t buf, 1276 l_size_t len, 1277 l_uint flags, 1278 l_uintptr_t from, 1279 l_uintptr_t fromlen 1280 ); 1281 } 1282208 AUE_SETSOCKOPT STD { 1283 int linux_setsockopt( 1284 l_int s, 1285 l_int level, 1286 l_int optname, 1287 l_uintptr_t optval, 1288 l_int optlen 1289 ); 1290 } 1291209 AUE_GETSOCKOPT STD { 1292 int linux_getsockopt( 1293 l_int s, 1294 l_int level, 1295 l_int optname, 1296 l_uintptr_t optval, 1297 l_uintptr_t optlen 1298 ); 1299 } 1300210 AUE_NULL STD { 1301 int linux_shutdown( 1302 l_int s, 1303 l_int how 1304 ); 1305 } 1306211 AUE_SENDMSG STD { 1307 int linux_sendmsg( 1308 l_int s, 1309 l_uintptr_t msg, 1310 l_uint flags 1311 ); 1312 } 1313212 AUE_RECVMSG STD { 1314 int linux_recvmsg( 1315 l_int s, 1316 l_uintptr_t msg, 1317 l_uint flags 1318 ); 1319 } 1320213 AUE_NULL UNIMPL linux_readahead 1321214 AUE_NULL STD { 1322 int linux_brk( 1323 l_ulong dsend 1324 ); 1325 } 1326215 AUE_MUNMAP NOPROTO { 1327 int munmap( 1328 void *addr, 1329 l_size_t len 1330 ); 1331 } 1332216 AUE_NULL STD { 1333 int linux_mremap( 1334 l_ulong addr, 1335 l_ulong old_len, 1336 l_ulong new_len, 1337 l_ulong flags, 1338 l_ulong new_addr 1339 ); 1340 } 1341217 AUE_NULL STD { 1342 int linux_add_key(void); 1343 } 1344218 AUE_NULL STD { 1345 int linux_request_key(void); 1346 } 1347219 AUE_NULL STD { 1348 int linux_keyctl(void); 1349 } 1350220 AUE_RFORK STD { 1351 int linux_clone( 1352 l_ulong flags, 1353 l_ulong stack, 1354 l_int *parent_tidptr, 1355 l_ulong tls, 1356 l_int *child_tidptr 1357 ); 1358 } 1359221 AUE_EXECVE STD { 1360 int linux_execve( 1361 char *path, 1362 l_uintptr_t *argp, 1363 l_uintptr_t *envp 1364 ); 1365 } 1366222 AUE_MMAP STD { 1367 int linux_mmap2( 1368 l_ulong addr, 1369 l_ulong len, 1370 l_ulong prot, 1371 l_ulong flags, 1372 l_ulong fd, 1373 l_ulong pgoff 1374 ); 1375 } 1376223 AUE_NULL STD { 1377 int linux_fadvise64( 1378 l_int fd, 1379 l_loff_t offset, 1380 l_size_t len, 1381 l_int advice 1382 ); 1383 } 1384224 AUE_SWAPON NOPROTO { 1385 int swapon( 1386 char *name 1387 ); 1388 } 1389225 AUE_SWAPOFF STD { 1390 int linux_swapoff(void); 1391 } 1392226 AUE_MPROTECT STD { 1393 int linux_mprotect( 1394 l_ulong addr, 1395 l_size_t len, 1396 l_ulong prot 1397 ); 1398 } 1399227 AUE_MSYNC STD { 1400 int linux_msync( 1401 l_ulong addr, 1402 l_size_t len, 1403 l_int fl 1404 ); 1405 } 1406228 AUE_MLOCK NOPROTO { 1407 int mlock( 1408 const void *addr, 1409 size_t len 1410 ); 1411 } 1412229 AUE_MUNLOCK NOPROTO { 1413 int munlock( 1414 const void *addr, 1415 size_t len 1416 ); 1417 } 1418230 AUE_MLOCKALL NOPROTO { 1419 int mlockall( 1420 int how 1421 ); 1422 } 1423231 AUE_MUNLOCKALL NOPROTO { 1424 int munlockall(void); 1425 } 1426232 AUE_MINCORE STD { 1427 int linux_mincore( 1428 l_ulong start, 1429 l_size_t len, 1430 u_char *vec 1431 ); 1432 } 1433233 AUE_MADVISE STD { 1434 int linux_madvise( 1435 l_ulong addr, 1436 l_size_t len, 1437 l_int behav 1438 ); 1439 } 1440234 AUE_NULL STD { 1441 int linux_remap_file_pages(void); 1442 } 1443235 AUE_NULL STD { 1444 int linux_mbind(void); 1445 } 1446236 AUE_NULL STD { 1447 int linux_get_mempolicy(void); 1448 } 1449237 AUE_NULL STD { 1450 int linux_set_mempolicy(void); 1451 } 1452238 AUE_NULL STD { 1453 int linux_migrate_pages(void); 1454 } 1455239 AUE_NULL STD { 1456 int linux_move_pages(void); 1457 } 1458240 AUE_NULL STD { 1459 int linux_rt_tgsigqueueinfo( 1460 l_pid_t tgid, 1461 l_pid_t tid, 1462 l_int sig, 1463 l_siginfo_t *uinfo 1464 ); 1465 } 1466241 AUE_NULL STD { 1467 int linux_perf_event_open(void); 1468 } 1469242 AUE_ACCEPT STD { 1470 int linux_accept4( 1471 l_int s, 1472 l_uintptr_t addr, 1473 l_uintptr_t namelen, 1474 l_int flags 1475 ); 1476 } 1477243 AUE_NULL STD { 1478 int linux_recvmmsg( 1479 l_int s, 1480 struct l_mmsghdr *msg, 1481 l_uint vlen, 1482 l_uint flags, 1483 struct l_timespec *timeout 1484 ); 1485 } 1486244-259 AUE_NULL UNIMPL unimpl_md_syscall 1487260 AUE_WAIT4 STD { 1488 int linux_wait4( 1489 l_pid_t pid, 1490 l_int *status, 1491 l_int options, 1492 struct rusage *rusage 1493 ); 1494 } 1495261 AUE_NULL STD { 1496 int linux_prlimit64( 1497 l_pid_t pid, 1498 l_uint resource, 1499 struct rlimit *new, 1500 struct rlimit *old 1501 ); 1502 } 1503262 AUE_NULL STD { 1504 int linux_fanotify_init(void); 1505 } 1506263 AUE_NULL STD { 1507 int linux_fanotify_mark(void); 1508 } 1509264 AUE_NULL STD { 1510 int linux_name_to_handle_at( 1511 l_int dirfd, 1512 const char *name, 1513 struct l_file_handle *handle, 1514 l_int *mnt_id, 1515 l_int flags 1516 ); 1517 } 1518265 AUE_NULL STD { 1519 int linux_open_by_handle_at( 1520 l_int mountdirfd, 1521 struct l_file_handle *handle, 1522 l_int flags 1523 ); 1524 } 1525266 AUE_NULL STD { 1526 int linux_clock_adjtime(void); 1527 } 1528267 AUE_SYNC STD { 1529 int linux_syncfs( 1530 l_int fd 1531 ); 1532 } 1533268 AUE_NULL STD { 1534 int linux_setns( 1535 l_int fd, 1536 l_int nstype 1537 ); 1538 } 1539269 AUE_NULL STD { 1540 int linux_sendmmsg( 1541 l_int s, 1542 struct l_mmsghdr *msg, 1543 l_uint vlen, 1544 l_uint flags 1545 ); 1546 } 1547270 AUE_NULL STD { 1548 int linux_process_vm_readv( 1549 l_pid_t pid, 1550 const struct iovec *lvec, 1551 l_ulong liovcnt, 1552 const struct iovec *rvec, 1553 l_ulong riovcnt, 1554 l_ulong flags 1555 ); 1556 } 1557271 AUE_NULL STD { 1558 int linux_process_vm_writev( 1559 l_pid_t pid, 1560 const struct iovec *lvec, 1561 l_ulong liovcnt, 1562 const struct iovec *rvec, 1563 l_ulong riovcnt, 1564 l_ulong flags 1565 ); 1566 } 1567272 AUE_NULL STD { 1568 int linux_kcmp( 1569 l_pid_t pid1, 1570 l_pid_t pid2, 1571 l_int type, 1572 l_ulong idx1, 1573 l_ulong idx 1574 ); 1575 } 1576273 AUE_NULL STD { 1577 int linux_finit_module( 1578 l_int fd, 1579 const char *uargs, 1580 l_int flags 1581 ); 1582 } 1583274 AUE_NULL STD { 1584 int linux_sched_setattr( 1585 l_pid_t pid, 1586 void *attr, 1587 l_uint flags 1588 ); 1589 } 1590275 AUE_NULL STD { 1591 int linux_sched_getattr( 1592 l_pid_t pid, 1593 void *attr, 1594 l_uint size, 1595 l_uint flags 1596 ); 1597 } 1598276 AUE_NULL STD { 1599 int linux_renameat2( 1600 l_int olddfd, 1601 const char *oldname, 1602 l_int newdfd, 1603 const char *newname, 1604 l_uint flags 1605 ); 1606 } 1607277 AUE_NULL STD { 1608 int linux_seccomp( 1609 l_uint op, 1610 l_uint flags, 1611 const char *uargs 1612 ); 1613 } 1614278 AUE_NULL STD { 1615 int linux_getrandom( 1616 char *buf, 1617 l_size_t count, 1618 l_uint flags 1619 ); 1620 } 1621279 AUE_NULL STD { 1622 int linux_memfd_create( 1623 const char *uname_ptr, 1624 l_uint flags 1625 ); 1626 } 1627280 AUE_NULL STD { 1628 int linux_bpf( 1629 l_int cmd, 1630 void *attr, 1631 l_uint size 1632 ); 1633 } 1634281 AUE_NULL STD { 1635 int linux_execveat( 1636 l_int dfd, 1637 const char *filename, 1638 const char **argv, 1639 const char **envp, 1640 l_int flags 1641 ); 1642 } 1643282 AUE_NULL STD { 1644 int linux_userfaultfd( 1645 l_int flags 1646 ); 1647 } 1648283 AUE_NULL STD { 1649 int linux_membarrier( 1650 l_int cmd, 1651 l_int flags 1652 ); 1653 } 1654284 AUE_NULL STD { 1655 int linux_mlock2( 1656 l_ulong start, 1657 l_size_t len, 1658 l_int flags 1659 ); 1660 } 1661285 AUE_NULL STD { 1662 int linux_copy_file_range( 1663 l_int fd_in, 1664 l_loff_t *off_in, 1665 l_int fd_out, 1666 l_loff_t *off_out, 1667 l_size_t len, 1668 l_uint flags 1669 ); 1670 } 1671286 AUE_NULL STD { 1672 int linux_preadv2( 1673 l_ulong fd, 1674 const struct iovec *vec, 1675 l_ulong vlen, 1676 l_ulong pos_l, 1677 l_ulong pos_h, 1678 l_int flags 1679 ); 1680 } 1681287 AUE_NULL STD { 1682 int linux_pwritev2( 1683 l_ulong fd, 1684 const struct iovec *vec, 1685 l_ulong vlen, 1686 l_ulong pos_l, 1687 l_ulong pos_h, 1688 l_int flags 1689 ); 1690 } 1691288 AUE_NULL STD { 1692 int linux_pkey_mprotect( 1693 l_ulong start, 1694 l_size_t len, 1695 l_ulong prot, 1696 l_int pkey 1697 ); 1698 } 1699289 AUE_NULL STD { 1700 int linux_pkey_alloc( 1701 l_ulong flags, 1702 l_ulong init_val 1703 ); 1704 } 1705290 AUE_NULL STD { 1706 int linux_pkey_free( 1707 l_int pkey 1708 ); 1709 } 1710; Linux 4.11: 1711291 AUE_NULL STD { 1712 int linux_statx( 1713 l_int dirfd, 1714 const char *pathname, 1715 l_uint flags, 1716 l_uint mask, 1717 void *statxbuf 1718 ); 1719 } 1720; Linux 4.18: 1721292 AUE_NULL STD { 1722 int linux_io_pgetevents(void); 1723 } 1724293 AUE_NULL STD { 1725 int linux_rseq( 1726 struct linux_rseq *rseq, 1727 uint32_t rseq_len, 1728 l_int flags, 1729 uint32_t sig 1730 ); 1731 } 1732294 AUE_NULL STD { 1733 int linux_kexec_file_load(void); 1734 } 1735; Linux 5.1: 1736295-423 AUE_NULL UNIMPL unimpl_md_syscall 1737424 AUE_NULL STD { 1738 int linux_pidfd_send_signal( 1739 l_int pidfd, 1740 l_int sig, 1741 l_siginfo_t *info, 1742 l_uint flags 1743 ); 1744 } 1745425 AUE_NULL STD { 1746 int linux_io_uring_setup(void); 1747 } 1748426 AUE_NULL STD { 1749 int linux_io_uring_enter(void); 1750 } 1751427 AUE_NULL STD { 1752 int linux_io_uring_register(void); 1753 } 1754; Linux 5.2: 1755428 AUE_NULL STD { 1756 int linux_open_tree(void); 1757 } 1758429 AUE_NULL STD { 1759 int linux_move_mount(void); 1760 } 1761430 AUE_NULL STD { 1762 int linux_fsopen(void); 1763 } 1764431 AUE_NULL STD { 1765 int linux_fsconfig(void); 1766 } 1767432 AUE_NULL STD { 1768 int linux_fsmount(void); 1769 } 1770433 AUE_NULL STD { 1771 int linux_fspick(void); 1772 } 1773; Linux 5.3: 1774434 AUE_NULL STD { 1775 int linux_pidfd_open(void); 1776 } 1777435 AUE_NULL STD { 1778 int linux_clone3( 1779 struct l_user_clone_args *uargs, 1780 l_size_t usize 1781 ); 1782 } 1783; Linux 5.9: 1784436 AUE_CLOSERANGE STD { 1785 int linux_close_range( 1786 l_uint first, 1787 l_uint last, 1788 l_uint flags 1789 ); 1790 } 1791; Linux 5.6: 1792437 AUE_NULL STD { 1793 int linux_openat2(void); 1794 } 1795438 AUE_NULL STD { 1796 int linux_pidfd_getfd(void); 1797 } 1798; Linux 5.8: 1799439 AUE_NULL STD { 1800 int linux_faccessat2( 1801 l_int dfd, 1802 const char *filename, 1803 l_int amode, 1804 l_int flags 1805 ); 1806 } 1807; Linux 5.10: 1808440 AUE_NULL STD { 1809 int linux_process_madvise(void); 1810 } 1811; Linux 5.11: 1812441 AUE_NULL STD { 1813 int linux_epoll_pwait2( 1814 l_int epfd, 1815 struct epoll_event *events, 1816 l_int maxevents, 1817 struct l_timespec *timeout, 1818 l_sigset_t *mask, 1819 l_size_t sigsetsize 1820 ); 1821 } 1822; Linux 5.12: 1823442 AUE_NULL STD { 1824 int linux_mount_setattr(void); 1825 } 1826; Linux 5.14: 1827443 AUE_NULL STD { 1828 int linux_quotactl_fd(void); 1829 } 1830; Linux 5.13: 1831444 AUE_NULL STD { 1832 int linux_landlock_create_ruleset(void); 1833 } 1834445 AUE_NULL STD { 1835 int linux_landlock_add_rule(void); 1836 } 1837446 AUE_NULL STD { 1838 int linux_landlock_restrict_self(void); 1839 } 1840; Linux 5.14: 1841447 AUE_NULL STD { 1842 int linux_memfd_secret(void); 1843 } 1844; Linux 5.15: 1845448 AUE_NULL STD { 1846 int linux_process_mrelease(void); 1847 } 1848; Linux 5.16: 1849449 AUE_NULL STD { 1850 int linux_futex_waitv(void); 1851 } 1852; Linux 5.17: 1853450 AUE_NULL STD { 1854 int linux_set_mempolicy_home_node(void); 1855 } 1856; Linux 6.5: 1857451 AUE_NULL STD { 1858 int linux_cachestat(void); 1859 } 1860; Linux 6.6: 1861452 AUE_NULL STD { 1862 int linux_fchmodat2(void); 1863 } 1864 1865 ; vim: syntax=off 1866