1 $FreeBSD$ 2 3; Linux ABI system call generic name/number map, based on Linux file 4; include/uapi/asm-generic/unistd.h 5 6#include <sys/param.h> 7#include <sys/sysent.h> 8#include <sys/sysproto.h> 9#include <compat/linux/linux_sysproto.h> 10#include <arm64/linux/linux.h> 11#include <arm64/linux/linux_proto.h> 12 13; Isn't pretty, but there seems to be no other way to trap nosys 14#define nosys linux_nosys 15 160 AUE_NULL UNIMPL linux_io_setup 171 AUE_NULL UNIMPL linux_io_destroy 182 AUE_NULL UNIMPL linux_io_submit 193 AUE_NULL UNIMPL linux_io_cancel 204 AUE_NULL UNIMPL linux_io_getevents 215 AUE_NULL STD { 22 int linux_setxattr( 23 const char *path, 24 const char *name, 25 const char *value, 26 l_size_t size, 27 l_int flags 28 ); 29 } 306 AUE_NULL STD { 31 int linux_lsetxattr( 32 const char *path, 33 const char *name, 34 const char *value, 35 l_size_t size, 36 l_int flags 37 ); 38 } 397 AUE_NULL STD { 40 int linux_fsetxattr( 41 l_int fd, 42 const char *name, 43 const char *value, 44 l_size_t size, 45 l_int flags 46 ); 47 } 488 AUE_NULL STD { 49 int linux_getxattr( 50 const char *path, 51 const char *name, 52 char *value, 53 l_size_t size 54 ); 55 } 569 AUE_NULL STD { 57 int linux_lgetxattr( 58 const char *path, 59 const char *name, 60 char *value, 61 l_size_t size 62 ); 63 } 6410 AUE_NULL STD { 65 int linux_fgetxattr( 66 l_int fd, 67 const char *name, 68 char *value, 69 l_size_t size 70 ); 71 } 7211 AUE_NULL STD { 73 int linux_listxattr( 74 const char *path, 75 const char *list, 76 l_size_t size 77 ); 78 } 7912 AUE_NULL STD { 80 int linux_llistxattr( 81 const char *path, 82 const char *list, 83 l_size_t size 84 ); 85 } 8613 AUE_NULL STD { 87 int linux_flistxattr( 88 l_int fd, 89 const char *list, 90 l_size_t size 91 ); 92 } 9314 AUE_NULL STD { 94 int linux_removexattr( 95 const char *path, 96 const char *name 97 ); 98 } 9915 AUE_NULL STD { 100 int linux_lremovexattr( 101 const char *path, 102 const char *name 103 ); 104 } 10516 AUE_NULL STD { 106 int linux_fremovexattr( 107 l_int fd, 108 const char *name 109 ); 110 } 11117 AUE_GETCWD STD { 112 int linux_getcwd( 113 char *buf, 114 l_ulong bufsize 115 ); 116 } 11718 AUE_NULL STD { 118 int linux_lookup_dcookie(void); 119 } 12019 AUE_NULL STD { 121 int linux_eventfd2( 122 l_uint initval, 123 l_int flags 124 ); 125 } 12620 AUE_NULL STD { 127 int linux_epoll_create1( 128 l_int flags 129 ); 130 } 13121 AUE_NULL STD { 132 int linux_epoll_ctl( 133 l_int epfd, 134 l_int op, 135 l_int fd, 136 struct epoll_event *event 137 ); 138 } 13922 AUE_NULL STD { 140 int linux_epoll_pwait( 141 l_int epfd, 142 struct epoll_event *events, 143 l_int maxevents, 144 l_int timeout, 145 l_sigset_t *mask, 146 l_size_t sigsetsize 147 ); 148 } 14923 AUE_DUP NOPROTO { 150 int dup( 151 u_int fd); 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_NULL STD { 186 int linux_ioprio_set(void); 187 } 18831 AUE_NULL STD { 189 int linux_ioprio_get(void); 190 } 19132 AUE_FLOCK NOPROTO { 192 int flock( 193 int fd, 194 int how 195 ); 196 } 19733 AUE_MKNODAT STD { 198 int linux_mknodat( 199 l_int dfd, 200 const char *filename, 201 l_int mode, 202 l_uint dev 203 ); 204 } 20534 AUE_MKDIRAT STD { 206 int linux_mkdirat( 207 l_int dfd, 208 const char *pathname, 209 l_mode_t mode 210 ); 211 } 21235 AUE_UNLINKAT STD { 213 int linux_unlinkat( 214 l_int dfd, 215 const char *pathname, 216 l_int flag 217 ); 218 } 21936 AUE_SYMLINKAT STD { 220 int linux_symlinkat( 221 const char *oldname, 222 l_int newdfd, 223 const char *newname 224 ); 225 } 22637 AUE_LINKAT STD { 227 int linux_linkat( 228 l_int olddfd, 229 const char *oldname, 230 l_int newdfd, 231 const char *newname, 232 l_int flag 233 ); 234 } 23538 AUE_RENAMEAT STD { 236 int linux_renameat( 237 l_int olddfd, 238 const char *oldname, 239 l_int newdfd, 240 const char *newname 241 ); 242 } 24339 AUE_NULL UNIMPL linux_umount2 24440 AUE_MOUNT STD { 245 int linux_mount( 246 char *specialfile, 247 char *dir, 248 char *filesystemtype, 249 l_ulong rwflag, 250 void *data 251 ); 252 } 25341 AUE_PIVOT_ROOT STD { 254 int linux_pivot_root(void); 255 } 25642 AUE_NULL UNIMPL nfsservctl 25743 AUE_STATFS STD { 258 int linux_statfs( 259 char *path, 260 struct l_statfs_buf *buf 261 ); 262 } 26344 AUE_FSTATFS STD { 264 int linux_fstatfs( 265 l_uint fd, 266 struct l_statfs_buf *buf 267 ); 268 } 26945 AUE_TRUNCATE STD { 270 int linux_truncate( 271 char *path, 272 l_ulong length 273 ); 274 } 27546 AUE_FTRUNCATE STD { 276 int linux_ftruncate( 277 l_int fd, 278 l_long length 279 ); 280 } 28147 AUE_NULL STD { 282 int linux_fallocate( 283 l_int fd, 284 l_int mode, 285 l_loff_t offset, 286 l_loff_t len 287 ); 288 } 28948 AUE_FACCESSAT STD { 290 int linux_faccessat( 291 l_int dfd, 292 const char *filename, 293 l_int amode 294 ); 295 } 29649 AUE_CHDIR STD { 297 int linux_chdir( 298 char *path 299 ); 300 } 30150 AUE_FCHDIR NOPROTO { 302 int fchdir( 303 int fd); 304 } 30551 AUE_CHROOT NOPROTO { 306 int chroot( 307 char *path 308 ); 309 } 31052 AUE_FCHMOD NOPROTO { 311 int fchmod( 312 int fd, 313 int mode 314 ); 315 } 31653 AUE_FCHMODAT STD { 317 int linux_fchmodat( 318 l_int dfd, 319 const char *filename, 320 l_mode_t mode 321 ); 322 } 32354 AUE_FCHOWNAT STD { 324 int linux_fchownat( 325 l_int dfd, 326 const char *filename, 327 l_uid_t uid, 328 l_gid_t gid, 329 l_int flag 330 ); 331 } 33255 AUE_FCHOWN NOPROTO { 333 int fchown( 334 int fd, 335 int uid, 336 int gid); 337 } 33856 AUE_OPEN_RWTC STD { 339 int linux_openat( 340 l_int dfd, 341 const char *filename, 342 l_int flags, 343 l_mode_t mode 344 ); 345 } 34657 AUE_CLOSE NOPROTO { 347 int close( 348 int fd); 349 } 35058 AUE_NULL STD { 351 int linux_vhangup(void); 352 } 35359 AUE_NULL STD { 354 int linux_pipe2( 355 l_int *pipefds, 356 l_int flags 357 ); 358 } 35960 AUE_NULL UNIMPL linux_quotactl 36061 AUE_GETDIRENTRIES STD { 361 int linux_getdents64( 362 l_uint fd, 363 void *dirent, 364 l_uint count 365 ); 366 } 36762 AUE_LSEEK STD { 368 int linux_lseek( 369 l_uint fdes, 370 l_off_t off, 371 l_int whence 372 ); 373 } 37463 AUE_NULL NOPROTO { 375 int read( 376 int fd, 377 char *buf, 378 l_size_t nbyte 379 ); 380 } 38164 AUE_NULL NOPROTO { 382 int write( 383 int fd, 384 char *buf, 385 l_size_t nbyte 386 ); 387 } 38865 AUE_READV NOPROTO { 389 int readv( 390 int fd, 391 struct iovec *iovp, 392 u_int iovcnt 393 ); 394 } 39566 AUE_WRITEV NOPROTO { 396 int writev( 397 int fd, 398 struct iovec *iovp, 399 u_int iovcnt 400 ); 401 } 40267 AUE_PREAD STD { 403 int linux_pread( 404 l_uint fd, 405 char *buf, 406 l_size_t nbyte, 407 l_loff_t offset 408 ); 409 } 41068 AUE_PWRITE STD { 411 int linux_pwrite( 412 l_uint fd, 413 char *buf, 414 l_size_t nbyte, 415 l_loff_t offset 416 ); 417 } 41869 AUE_NULL STD { 419 int linux_preadv( 420 l_ulong fd, 421 struct iovec *vec, 422 l_ulong vlen, 423 l_ulong pos_l, 424 l_ulong pos_h 425 ); 426 } 42770 AUE_NULL STD { 428 int linux_pwritev( 429 l_ulong fd, 430 struct iovec *vec, 431 l_ulong vlen, 432 l_ulong pos_l, 433 l_ulong pos_h 434 ); 435 } 43671 AUE_SENDFILE STD { 437 int linux_sendfile( 438 l_int out, 439 l_int in, 440 l_off_t *offset, 441 l_size_t count 442 ); 443 } 44472 AUE_SELECT STD { 445 int linux_pselect6( 446 l_int nfds, 447 l_fd_set *readfds, 448 l_fd_set *writefds, 449 l_fd_set *exceptfds, 450 struct l_timespec *tsp, 451 l_uintptr_t *sig 452 ); 453 } 45473 AUE_POLL STD { 455 int linux_ppoll( 456 struct pollfd *fds, 457 l_uint nfds, 458 struct l_timespec *tsp, 459 l_sigset_t *sset, 460 l_size_t ssize 461 ); 462 } 46374 AUE_NULL STD { 464 int linux_signalfd4(void); 465 } 46675 AUE_NULL STD { 467 int linux_vmsplice(void); 468 } 46976 AUE_NULL STD { 470 int linux_splice( 471 int fd_in, 472 l_loff_t *off_in, 473 int fd_out, 474 l_loff_t *off_out, 475 l_size_t len, 476 l_uint flags 477 ); 478 } 47977 AUE_NULL STD { 480 int linux_tee(void); 481 } 48278 AUE_READLINKAT STD { 483 int linux_readlinkat( 484 l_int dfd, 485 const char *path, 486 char *buf, 487 l_int bufsiz 488 ); 489 } 49079 AUE_FSTATAT STD { 491 int linux_newfstatat( 492 l_int dfd, 493 char *pathname, 494 struct l_stat64 *statbuf, 495 l_int flag 496 ); 497 } 49880 AUE_FSTAT STD { 499 int linux_newfstat( 500 l_uint fd, 501 struct l_newstat *buf 502 ); 503 } 50481 AUE_NULL UNIMPL linux_sync 50582 AUE_FSYNC NOPROTO { 506 int fsync( 507 int fd); 508 } 50983 AUE_NULL STD { 510 int linux_fdatasync( 511 l_uint fd); 512 } 51384 AUE_NULL STD { 514 int linux_sync_file_range( 515 l_int fd, 516 l_loff_t offset, 517 l_loff_t nbytes, 518 l_uint flags 519 ); 520 } 52185 AUE_NULL STD { 522 int linux_timerfd_create( 523 l_int clockid, 524 l_int flags 525 ); 526 } 52786 AUE_NULL STD { 528 int linux_timerfd_settime( 529 l_int fd, 530 l_int flags, 531 const struct l_itimerspec *new_value, 532 struct l_itimerspec *old_value 533 ); 534 } 53587 AUE_NULL STD { 536 int linux_timerfd_gettime( 537 l_int fd, 538 struct l_itimerspec *old_value 539 ); 540 } 54188 AUE_FUTIMESAT STD { 542 int linux_utimensat( 543 l_int dfd, 544 const char *pathname, 545 const struct l_timespec *times, 546 l_int flags 547 ); 548 } 54989 AUE_ACCT NOPROTO { 550 int acct( 551 char *path 552 ); 553 } 55490 AUE_CAPGET STD { 555 int linux_capget( 556 struct l_user_cap_header *hdrp, 557 struct l_user_cap_data *datap 558 ); 559 } 56091 AUE_CAPSET STD { 561 int linux_capset( 562 struct l_user_cap_header *hdrp, 563 struct l_user_cap_data *datap 564 ); 565 } 56692 AUE_PERSONALITY STD { 567 int linux_personality( 568 l_uint per 569 ); 570 } 57193 AUE_EXIT STD { 572 int linux_exit( 573 u_int rval 574 ); 575 } 57694 AUE_EXIT STD { 577 int linux_exit_group( 578 l_int error_code 579 ); 580 } 58195 AUE_WAIT6 STD { 582 int linux_waitid( 583 l_int idtype, 584 l_pid_t id, 585 l_siginfo_t *info, 586 l_int options, 587 struct rusage *rusage 588 ); 589 } 59096 AUE_NULL STD { 591 int linux_set_tid_address( 592 l_int *tidptr 593 ); 594 } 59597 AUE_NULL STD { 596 int linux_unshare(void); 597 } 59898 AUE_NULL STD { 599 int linux_sys_futex( 600 uint32_t *uaddr, 601 l_int op, 602 uint32_t val, 603 struct l_timespec *timeout, 604 uint32_t *uaddr2, 605 uint32_t val3 606 ); 607 } 60899 AUE_NULL STD { 609 int linux_set_robust_list( 610 struct linux_robust_list_head *head, 611 l_size_t len 612 ); 613 } 614100 AUE_NULL STD { 615 int linux_get_robust_list( 616 l_int pid, 617 struct linux_robust_list_head **head, 618 l_size_t *len 619 ); 620 } 621101 AUE_NULL STD { 622 int linux_nanosleep( 623 const struct l_timespec *rqtp, 624 struct l_timespec *rmtp 625 ); 626 } 627102 AUE_GETITIMER STD { 628 int linux_getitimer( 629 l_int which, 630 struct l_itimerval *itv 631 ); 632 } 633103 AUE_SETITIMER STD { 634 int linux_setitimer( 635 l_int which, 636 struct l_itimerval *itv, 637 struct l_itimerval *oitv 638 ); 639 } 640104 AUE_NULL STD { 641 int linux_kexec_load(void); 642 } 643105 AUE_NULL STD { 644 int linux_init_module(void); 645 } 646106 AUE_NULL STD { 647 int linux_delete_module(void); 648 } 649107 AUE_NULL STD { 650 int linux_timer_create( 651 clockid_t clock_id, 652 struct sigevent *evp, 653 l_timer_t *timerid); 654 } 655108 AUE_NULL STD { 656 int linux_timer_gettime( 657 l_timer_t timerid, 658 struct itimerspec *setting 659 ); 660 } 661109 AUE_NULL STD { 662 int linux_timer_getoverrun( 663 l_timer_t timerid); 664 } 665110 AUE_NULL STD { 666 int linux_timer_settime( 667 l_timer_t timerid, 668 l_int flags, 669 const struct itimerspec *new, 670 struct itimerspec *old); 671 } 672111 AUE_NULL STD { 673 int linux_timer_delete( 674 l_timer_t timerid); 675 } 676112 AUE_CLOCK_SETTIME STD { 677 int linux_clock_settime( 678 clockid_t which, 679 struct l_timespec *tp 680 ); 681 } 682113 AUE_NULL STD { 683 int linux_clock_gettime( 684 clockid_t which, 685 struct l_timespec *tp 686 ); 687 } 688114 AUE_NULL STD { 689 int linux_clock_getres( 690 clockid_t which, 691 struct l_timespec *tp 692 ); 693 } 694115 AUE_NULL STD { 695 int linux_clock_nanosleep( 696 clockid_t which, 697 l_int flags, 698 struct l_timespec *rqtp, 699 struct l_timespec *rmtp 700 ); 701 } 702116 AUE_NULL STD { 703 int linux_syslog( 704 l_int type, 705 char *buf, 706 l_int len 707 ); 708 } 709117 AUE_PTRACE STD { 710 int linux_ptrace( 711 l_long req, 712 l_long pid, 713 l_ulong addr, 714 l_ulong data 715 ); 716 } 717118 AUE_SCHED_SETPARAM STD { 718 int linux_sched_setparam( 719 l_pid_t pid, 720 struct sched_param *param 721 ); 722 } 723119 AUE_SCHED_SETSCHEDULER STD { 724 int linux_sched_setscheduler( 725 l_pid_t pid, 726 l_int policy, 727 struct sched_param *param 728 ); 729 } 730120 AUE_SCHED_GETSCHEDULER STD { 731 int linux_sched_getscheduler( 732 l_pid_t pid); 733 } 734121 AUE_SCHED_GETPARAM STD { 735 int linux_sched_getparam( 736 l_pid_t pid, 737 struct sched_param *param 738 ); 739 } 740122 AUE_NULL STD { 741 int linux_sched_setaffinity( 742 l_pid_t pid, 743 l_uint len, 744 l_ulong *user_mask_ptr 745 ); 746 } 747123 AUE_NULL STD { 748 int linux_sched_getaffinity( 749 l_pid_t pid, 750 l_uint len, 751 l_ulong *user_mask_ptr 752 ); 753 } 754124 AUE_NULL NOPROTO { 755 int sched_yield(void); 756 } 757125 AUE_SCHED_GET_PRIORITY_MAX STD { 758 int linux_sched_get_priority_max( 759 \ 760 l_int policy 761 ); 762 } 763126 AUE_SCHED_GET_PRIORITY_MIN STD { 764 int linux_sched_get_priority_min( 765 \ 766 l_int policy 767 ); 768 } 769127 AUE_SCHED_RR_GET_INTERVAL STD { 770 int linux_sched_rr_get_interval( 771 l_pid_t pid, 772 struct l_timespec *interval 773 ); 774 } 775128 AUE_NULL UNIMPL restart_syscall 776129 AUE_KILL STD { 777 int linux_kill( 778 l_pid_t pid, 779 l_int signum 780 ); 781 } 782130 AUE_NULL STD { 783 int linux_tkill( 784 l_pid_t tid, 785 l_int sig 786 ); 787 } 788131 AUE_NULL STD { 789 int linux_tgkill( 790 l_pid_t tgid, 791 l_pid_t pid, 792 l_int sig 793 ); 794 } 795132 AUE_NULL STD { 796 int linux_sigaltstack( 797 l_stack_t *uss, 798 l_stack_t *uoss 799 ); 800 } 801133 AUE_NULL STD { 802 int linux_rt_sigsuspend( 803 l_sigset_t *newset, 804 l_size_t sigsetsize 805 ); 806 } 807134 AUE_NULL STD { 808 int linux_rt_sigaction( 809 l_int sig, 810 l_sigaction_t *act, 811 l_sigaction_t *oact, 812 l_size_t sigsetsize 813 ); 814 } 815135 AUE_NULL STD { 816 int linux_rt_sigprocmask( 817 l_int how, 818 l_sigset_t *mask, 819 l_sigset_t *omask, 820 l_size_t sigsetsize 821 ); 822 } 823136 AUE_NULL STD { 824 int linux_rt_sigpending( 825 l_sigset_t *set, 826 l_size_t sigsetsize 827 ); 828 } 829137 AUE_NULL STD { 830 int linux_rt_sigtimedwait( 831 l_sigset_t *mask, 832 l_siginfo_t *ptr, 833 struct l_timespec *timeout, 834 l_size_t sigsetsize 835 ); 836 } 837138 AUE_NULL STD { 838 int linux_rt_sigqueueinfo( 839 l_pid_t pid, 840 l_int sig, 841 l_siginfo_t *info 842 ); 843 } 844139 AUE_NULL STD { 845 int linux_rt_sigreturn(void); 846 } 847140 AUE_SETPRIORITY NOPROTO { 848 int setpriority( 849 int which, 850 int who, 851 int prio 852 ); 853 } 854141 AUE_GETPRIORITY STD { 855 int linux_getpriority( 856 l_int which, 857 l_int who 858 ); 859 } 860142 AUE_REBOOT STD { 861 int linux_reboot( 862 l_int magic1, 863 l_int magic2, 864 l_uint cmd, 865 void *arg 866 ); 867 } 868143 AUE_SETREGID NOPROTO { 869 int setregid( 870 gid_t rgid, 871 gid_t egid); 872 } 873144 AUE_SETGID NOPROTO { 874 int setgid( 875 gid_t gid); 876 } 877145 AUE_SETREUID NOPROTO { 878 int setreuid( 879 uid_t ruid, 880 uid_t euid); 881 } 882146 AUE_SETUID NOPROTO { 883 int setuid( 884 uid_t uid); 885 } 886147 AUE_SETRESUID NOPROTO { 887 int setresuid( 888 uid_t ruid, 889 uid_t euid, 890 uid_t suid); 891 } 892148 AUE_GETRESUID NOPROTO { 893 int getresuid( 894 uid_t *ruid, 895 uid_t *euid, 896 uid_t *suid); 897 } 898149 AUE_SETRESGID NOPROTO { 899 int setresgid( 900 gid_t rgid, 901 gid_t egid, 902 gid_t sgid); 903 } 904150 AUE_GETRESGID NOPROTO { 905 int getresgid( 906 gid_t *rgid, 907 gid_t *egid, 908 gid_t *sgid); 909 } 910151 AUE_SETFSUID STD { 911 int linux_setfsuid( 912 l_uid_t uid); 913 } 914152 AUE_SETFSGID STD { 915 int linux_setfsgid( 916 l_gid_t gid); 917 } 918153 AUE_NULL STD { 919 int linux_times( 920 struct l_times_argv *buf 921 ); 922 } 923154 AUE_SETPGRP NOPROTO { 924 int setpgid( 925 int pid, 926 int pgid); 927 } 928155 AUE_GETPGID NOPROTO { 929 int getpgid( 930 int pid); 931 } 932156 AUE_GETSID STD { 933 int linux_getsid( 934 l_pid_t pid); 935 } 936157 AUE_SETSID NOPROTO { 937 int setsid(void); 938 } 939158 AUE_GETGROUPS STD { 940 int linux_getgroups( 941 l_int gidsetsize, 942 l_gid_t *grouplist 943 ); 944 } 945159 AUE_SETGROUPS STD { 946 int linux_setgroups( 947 l_int gidsetsize, 948 l_gid_t *grouplist 949 ); 950 } 951160 AUE_NULL STD { 952 int linux_newuname( 953 struct l_new_utsname *buf 954 ); 955 } 956161 AUE_SYSCTL STD { 957 int linux_sethostname( 958 char *hostname, 959 l_uint len 960 ); 961 } 962162 AUE_SYSCTL STD { 963 int linux_setdomainname( 964 char *name, 965 l_int len 966 ); 967 } 968163 AUE_GETRLIMIT STD { 969 int linux_getrlimit( 970 l_uint resource, 971 struct l_rlimit *rlim 972 ); 973 } 974164 AUE_SETRLIMIT STD { 975 int linux_setrlimit( 976 l_uint resource, 977 struct l_rlimit *rlim 978 ); 979 } 980165 AUE_GETRUSAGE NOPROTO { 981 int getrusage( 982 int who, 983 struct rusage *rusage 984 ); 985 } 986166 AUE_UMASK NOPROTO { 987 int umask( 988 int newmask 989 ); 990 } 991167 AUE_PRCTL STD { 992 int linux_prctl( 993 l_int option, 994 l_uintptr_t arg2, 995 l_uintptr_t arg3, 996 l_uintptr_t arg4, 997 l_uintptr_t arg5 998 ); 999 } 1000168 AUE_NULL STD { 1001 int linux_getcpu( 1002 l_uint *cpu, 1003 l_uint *node, 1004 void *cache 1005 ); 1006 } 1007169 AUE_NULL NOPROTO { 1008 int gettimeofday( 1009 struct l_timeval *tp, 1010 struct timezone *tzp 1011 ); 1012 } 1013170 AUE_SETTIMEOFDAY NOPROTO { 1014 int settimeofday( 1015 struct l_timeval *tv, 1016 struct timezone *tzp 1017 ); 1018 } 1019171 AUE_ADJTIME STD { 1020 int linux_adjtimex(void); 1021 } 1022172 AUE_GETPID STD { 1023 int linux_getpid(void); 1024 } 1025173 AUE_GETPPID STD { 1026 int linux_getppid(void); 1027 } 1028174 AUE_GETUID STD { 1029 int linux_getuid(void); 1030 } 1031175 AUE_GETEUID NOPROTO { 1032 int geteuid(void); 1033 } 1034176 AUE_GETGID STD { 1035 int linux_getgid(void); 1036 } 1037177 AUE_GETEGID NOPROTO { 1038 int getegid(void); 1039 } 1040178 AUE_NULL STD { 1041 int linux_gettid(void); 1042 } 1043179 AUE_NULL STD { 1044 int linux_sysinfo( 1045 struct l_sysinfo *info 1046 ); 1047 } 1048180 AUE_NULL STD { 1049 int linux_mq_open( 1050 const char *name, 1051 l_int oflag, 1052 l_mode_t mode, 1053 struct mq_attr *attr 1054 ); 1055 } 1056181 AUE_NULL STD { 1057 int linux_mq_unlink( 1058 const char *name 1059 ); 1060 } 1061182 AUE_NULL STD { 1062 int linux_mq_timedsend( 1063 l_mqd_t mqd, 1064 const char *msg_ptr, 1065 l_size_t msg_len, 1066 l_uint msg_prio, 1067 const struct l_timespec *abs_timeout 1068 ); 1069 } 1070183 AUE_NULL STD { 1071 int linux_mq_timedreceive( 1072 l_mqd_t mqd, 1073 char *msg_ptr, 1074 l_size_t msg_len, 1075 l_uint *msg_prio, 1076 const struct l_timespec *abs_timeout 1077 ); 1078 } 1079184 AUE_NULL STD { 1080 int linux_mq_notify( 1081 l_mqd_t mqd, 1082 const struct l_timespec *abs_timeout 1083 ); 1084 } 1085185 AUE_NULL STD { 1086 int linux_mq_getsetattr( 1087 l_mqd_t mqd, 1088 const struct mq_attr *attr, 1089 struct mq_attr *oattr 1090 ); 1091 } 1092186 AUE_NULL STD { 1093 int linux_msgget( 1094 l_key_t key, 1095 l_int msgflg 1096 ); 1097 } 1098187 AUE_NULL STD { 1099 int linux_msgctl( 1100 l_int msqid, 1101 l_int cmd, 1102 struct l_msqid_ds *buf 1103 ); 1104 } 1105188 AUE_NULL STD { 1106 int linux_msgrcv( 1107 l_int msqid, 1108 struct l_msgbuf *msgp, 1109 l_size_t msgsz, 1110 l_long msgtyp, 1111 l_int msgflg 1112 ); 1113 } 1114189 AUE_NULL STD { 1115 int linux_msgsnd( 1116 l_int msqid, 1117 struct l_msgbuf *msgp, 1118 l_size_t msgsz, 1119 l_int msgflg 1120 ); 1121 } 1122190 AUE_NULL STD { 1123 int linux_semget( 1124 l_key_t key, 1125 l_int nsems, 1126 l_int semflg 1127 ); 1128 } 1129191 AUE_NULL STD { 1130 int linux_semctl( 1131 l_int semid, 1132 l_int semnum, 1133 l_int cmd, 1134 union l_semun arg 1135 ); 1136 } 1137192 AUE_NULL STD { 1138 int linux_semtimedop(void); 1139 } 1140193 AUE_NULL STD { 1141 int linux_semop( 1142 l_int semid, 1143 struct l_sembuf *tsops, 1144 l_uint nsops 1145 ); 1146 } 1147194 AUE_NULL STD { 1148 int linux_shmget( 1149 l_key_t key, 1150 l_size_t size, 1151 l_int shmflg 1152 ); 1153 } 1154195 AUE_NULL STD { 1155 int linux_shmctl( 1156 l_int shmid, 1157 l_int cmd, 1158 struct l_shmid_ds *buf 1159 ); 1160 } 1161196 AUE_NULL STD { 1162 int linux_shmat( 1163 l_int shmid, 1164 char *shmaddr, 1165 l_int shmflg 1166 ); 1167 } 1168197 AUE_NULL STD { 1169 int linux_shmdt( 1170 char *shmaddr 1171 ); 1172 } 1173198 AUE_SOCKET STD { 1174 int linux_socket( 1175 l_int domain, 1176 l_int type, 1177 l_int protocol 1178 ); 1179 } 1180199 AUE_SOCKETPAIR STD { 1181 int linux_socketpair( 1182 l_int domain, 1183 l_int type, 1184 l_int protocol, 1185 l_uintptr_t rsv 1186 ); 1187 } 1188200 AUE_BIND STD { 1189 int linux_bind( 1190 l_int s, 1191 l_uintptr_t name, 1192 l_int namelen 1193 ); 1194 } 1195201 AUE_LISTEN STD { 1196 int linux_listen( 1197 l_int s, 1198 l_int backlog 1199 ); 1200 } 1201202 AUE_ACCEPT STD { 1202 int linux_accept( 1203 l_int s, 1204 l_uintptr_t addr, 1205 l_uintptr_t namelen 1206 ); 1207 } 1208203 AUE_CONNECT STD { 1209 int linux_connect( 1210 l_int s, 1211 l_uintptr_t name, 1212 l_int namelen 1213 ); 1214 } 1215204 AUE_GETSOCKNAME STD { 1216 int linux_getsockname( 1217 l_int s, 1218 l_uintptr_t addr, 1219 l_uintptr_t namelen 1220 ); 1221 } 1222205 AUE_GETPEERNAME STD { 1223 int linux_getpeername( 1224 l_int s, 1225 l_uintptr_t addr, 1226 l_uintptr_t namelen 1227 ); 1228 } 1229206 AUE_SENDTO STD { 1230 int linux_sendto( 1231 l_int s, 1232 l_uintptr_t msg, 1233 l_size_t len, 1234 l_uint flags, 1235 l_uintptr_t to, 1236 l_int tolen 1237 ); 1238 } 1239207 AUE_RECVFROM STD { 1240 int linux_recvfrom( 1241 l_int s, 1242 l_uintptr_t buf, 1243 l_size_t len, 1244 l_uint flags, 1245 l_uintptr_t from, 1246 l_uintptr_t fromlen 1247 ); 1248 } 1249208 AUE_SETSOCKOPT STD { 1250 int linux_setsockopt( 1251 l_int s, 1252 l_int level, 1253 l_int optname, 1254 l_uintptr_t optval, 1255 l_int optlen 1256 ); 1257 } 1258209 AUE_GETSOCKOPT STD { 1259 int linux_getsockopt( 1260 l_int s, 1261 l_int level, 1262 l_int optname, 1263 l_uintptr_t optval, 1264 l_uintptr_t optlen 1265 ); 1266 } 1267210 AUE_NULL STD { 1268 int linux_shutdown( 1269 l_int s, 1270 l_int how 1271 ); 1272 } 1273211 AUE_SENDMSG STD { 1274 int linux_sendmsg( 1275 l_int s, 1276 l_uintptr_t msg, 1277 l_uint flags 1278 ); 1279 } 1280212 AUE_RECVMSG STD { 1281 int linux_recvmsg( 1282 l_int s, 1283 l_uintptr_t msg, 1284 l_uint flags 1285 ); 1286 } 1287213 AUE_NULL UNIMPL linux_readahead 1288214 AUE_NULL STD { 1289 int linux_brk( 1290 l_ulong dsend); 1291 } 1292215 AUE_MUNMAP NOPROTO { 1293 int munmap( 1294 void *addr, 1295 l_size_t len 1296 ); 1297 } 1298216 AUE_NULL STD { 1299 int linux_mremap( 1300 l_ulong addr, 1301 l_ulong old_len, 1302 l_ulong new_len, 1303 l_ulong flags, 1304 l_ulong new_addr 1305 ); 1306 } 1307217 AUE_NULL STD { 1308 int linux_add_key(void); 1309 } 1310218 AUE_NULL STD { 1311 int linux_request_key(void); 1312 } 1313219 AUE_NULL STD { 1314 int linux_keyctl(void); 1315 } 1316220 AUE_RFORK STD { 1317 int linux_clone( 1318 l_ulong flags, 1319 l_ulong stack, 1320 l_int *parent_tidptr, 1321 l_ulong tls, 1322 l_int *child_tidptr 1323 ); 1324 } 1325221 AUE_EXECVE STD { 1326 int linux_execve( 1327 char *path, 1328 char **argp, 1329 char **envp 1330 ); 1331 } 1332222 AUE_MMAP STD { 1333 int linux_mmap2( 1334 l_ulong addr, 1335 l_ulong len, 1336 l_ulong prot, 1337 l_ulong flags, 1338 l_ulong fd, 1339 l_ulong pgoff 1340 ); 1341 } 1342223 AUE_NULL STD { 1343 int linux_fadvise64( 1344 l_int fd, 1345 l_loff_t offset, 1346 l_size_t len, 1347 l_int advice 1348 ); 1349 } 1350224 AUE_SWAPON NOPROTO { 1351 int swapon( 1352 char *name 1353 ); 1354 } 1355225 AUE_SWAPOFF STD { 1356 int linux_swapoff(void); 1357 } 1358226 AUE_MPROTECT STD { 1359 int linux_mprotect( 1360 l_ulong addr, 1361 l_size_t len, 1362 l_ulong prot 1363 ); 1364 } 1365227 AUE_MSYNC STD { 1366 int linux_msync( 1367 l_ulong addr, 1368 l_size_t len, 1369 l_int fl 1370 ); 1371 } 1372228 AUE_MLOCK NOPROTO { 1373 int mlock( 1374 const void *addr, 1375 size_t len 1376 ); 1377 } 1378229 AUE_MUNLOCK NOPROTO { 1379 int munlock( 1380 const void *addr, 1381 size_t len 1382 ); 1383 } 1384230 AUE_MLOCKALL NOPROTO { 1385 int mlockall( 1386 int how 1387 ); 1388 } 1389231 AUE_MUNLOCKALL NOPROTO { 1390 int munlockall(void); 1391 } 1392232 AUE_MINCORE STD { 1393 int linux_mincore( 1394 l_ulong start, 1395 l_size_t len, 1396 u_char *vec 1397 ); 1398 } 1399233 AUE_MADVISE STD { 1400 int linux_madvise( 1401 l_ulong addr, 1402 l_size_t len, 1403 l_int behav 1404 ); 1405 } 1406234 AUE_NULL STD { 1407 int linux_remap_file_pages(void); 1408 } 1409235 AUE_NULL STD { 1410 int linux_mbind(void); 1411 } 1412236 AUE_NULL STD { 1413 int linux_get_mempolicy(void); 1414 } 1415237 AUE_NULL STD { 1416 int linux_set_mempolicy(void); 1417 } 1418238 AUE_NULL STD { 1419 int linux_migrate_pages(void); 1420 } 1421239 AUE_NULL STD { 1422 int linux_move_pages(void); 1423 } 1424240 AUE_NULL STD { 1425 int linux_rt_tgsigqueueinfo( 1426 l_pid_t tgid, 1427 l_pid_t tid, 1428 l_int sig, 1429 l_siginfo_t *uinfo 1430 ); 1431 } 1432241 AUE_NULL STD { 1433 int linux_perf_event_open(void); 1434 } 1435242 AUE_ACCEPT STD { 1436 int linux_accept4( 1437 l_int s, 1438 l_uintptr_t addr, 1439 l_uintptr_t namelen, 1440 l_int flags 1441 ); 1442 } 1443243 AUE_NULL STD { 1444 int linux_recvmmsg( 1445 l_int s, 1446 struct l_mmsghdr *msg, 1447 l_uint vlen, 1448 l_uint flags, 1449 struct l_timespec *timeout 1450 ); 1451 } 1452244-259 AUE_NULL UNIMPL unimpl_md_syscall 1453260 AUE_WAIT4 STD { 1454 int linux_wait4( 1455 l_pid_t pid, 1456 l_int *status, 1457 l_int options, 1458 struct rusage *rusage 1459 ); 1460 } 1461261 AUE_NULL STD { 1462 int linux_prlimit64( 1463 l_pid_t pid, 1464 l_uint resource, 1465 struct rlimit *new, 1466 struct rlimit *old); 1467 } 1468262 AUE_NULL STD { 1469 int linux_fanotify_init(void); 1470 } 1471263 AUE_NULL STD { 1472 int linux_fanotify_mark(void); 1473 } 1474264 AUE_NULL STD { 1475 int linux_name_to_handle_at( 1476 l_int dirfd, 1477 const char *name, 1478 struct l_file_handle *handle, 1479 l_int *mnt_id, 1480 l_int flags 1481 ); 1482 } 1483265 AUE_NULL STD { 1484 int linux_open_by_handle_at( 1485 l_int mountdirfd, 1486 struct l_file_handle *handle, 1487 l_int flags 1488 ); 1489 } 1490266 AUE_NULL STD { 1491 int linux_clock_adjtime(void); 1492 } 1493267 AUE_SYNC STD { 1494 int linux_syncfs( 1495 l_int fd); 1496 } 1497268 AUE_NULL STD { 1498 int linux_setns( 1499 l_int fd, 1500 l_int nstype 1501 ); 1502 } 1503269 AUE_NULL STD { 1504 int linux_sendmmsg( 1505 l_int s, 1506 struct l_mmsghdr *msg, 1507 l_uint vlen, 1508 l_uint flags 1509 ); 1510 } 1511270 AUE_NULL STD { 1512 int linux_process_vm_readv( 1513 l_pid_t pid, 1514 const struct iovec *lvec, 1515 l_ulong liovcnt, 1516 const struct iovec *rvec, 1517 l_ulong riovcnt, 1518 l_ulong flags 1519 ); 1520 } 1521271 AUE_NULL STD { 1522 int linux_process_vm_writev( 1523 l_pid_t pid, 1524 const struct iovec *lvec, 1525 l_ulong liovcnt, 1526 const struct iovec *rvec, 1527 l_ulong riovcnt, 1528 l_ulong flags 1529 ); 1530 } 1531272 AUE_NULL STD { 1532 int linux_kcmp( 1533 l_pid_t pid1, 1534 l_pid_t pid2, 1535 l_int type, 1536 l_ulong idx1, 1537 l_ulong idx 1538 ); 1539 } 1540273 AUE_NULL STD { 1541 int linux_finit_module( 1542 l_int fd, 1543 const char *uargs, 1544 l_int flags 1545 ); 1546 } 1547274 AUE_NULL STD { 1548 int linux_sched_setattr( 1549 l_pid_t pid, 1550 void *attr, 1551 l_uint flags 1552 ); 1553 } 1554275 AUE_NULL STD { 1555 int linux_sched_getattr( 1556 l_pid_t pid, 1557 void *attr, 1558 l_uint size, 1559 l_uint flags 1560 ); 1561 } 1562276 AUE_NULL STD { 1563 int linux_renameat2( 1564 l_int olddfd, 1565 const char *oldname, 1566 l_int newdfd, 1567 const char *newname, 1568 l_uint flags 1569 ); 1570 } 1571277 AUE_NULL STD { 1572 int linux_seccomp( 1573 l_uint op, 1574 l_uint flags, 1575 const char *uargs 1576 ); 1577 } 1578278 AUE_NULL STD { 1579 int linux_getrandom( 1580 char *buf, 1581 l_size_t count, 1582 l_uint flags 1583 ); 1584 } 1585279 AUE_NULL STD { 1586 int linux_memfd_create( 1587 const char *uname_ptr, 1588 l_uint flags 1589 ); 1590 } 1591280 AUE_NULL STD { 1592 int linux_bpf( 1593 l_int cmd, 1594 void *attr, 1595 l_uint size 1596 ); 1597 } 1598281 AUE_NULL STD { 1599 int linux_execveat( 1600 l_int dfd, 1601 const char *filename, 1602 const char **argv, 1603 const char **envp, 1604 l_int flags 1605 ); 1606 } 1607282 AUE_NULL STD { 1608 int linux_userfaultfd( 1609 l_int flags 1610 ); 1611 } 1612283 AUE_NULL STD { 1613 int linux_membarrier( 1614 l_int cmd, 1615 l_int flags 1616 ); 1617 } 1618284 AUE_NULL STD { 1619 int linux_mlock2( 1620 l_ulong start, 1621 l_size_t len, 1622 l_int flags 1623 ); 1624 } 1625285 AUE_NULL STD { 1626 int linux_copy_file_range( 1627 l_int fd_in, 1628 l_loff_t *off_in, 1629 l_int fd_out, 1630 l_loff_t *off_out, 1631 l_size_t len, 1632 l_uint flags 1633 ); 1634 } 1635286 AUE_NULL STD { 1636 int linux_preadv2( 1637 l_ulong fd, 1638 const struct iovec *vec, 1639 l_ulong vlen, 1640 l_ulong pos_l, 1641 l_ulong pos_h, 1642 l_int flags 1643 ); 1644 } 1645287 AUE_NULL STD { 1646 int linux_pwritev2( 1647 l_ulong fd, 1648 const struct iovec *vec, 1649 l_ulong vlen, 1650 l_ulong pos_l, 1651 l_ulong pos_h, 1652 l_int flags 1653 ); 1654 } 1655288 AUE_NULL STD { 1656 int linux_pkey_mprotect( 1657 l_ulong start, 1658 l_size_t len, 1659 l_ulong prot, 1660 l_int pkey 1661 ); 1662 } 1663289 AUE_NULL STD { 1664 int linux_pkey_alloc( 1665 l_ulong flags, 1666 l_ulong init_val 1667 ); 1668 } 1669290 AUE_NULL STD { 1670 int linux_pkey_free( 1671 l_int pkey 1672 ); 1673 } 1674; Linux 4.11: 1675291 AUE_NULL STD { 1676 int linux_statx( 1677 l_int dirfd, 1678 const char *pathname, 1679 l_uint flags, 1680 l_uint mask, 1681 void *statxbuf 1682 ); 1683 } 1684; Linux 4.18: 1685292 AUE_NULL STD { 1686 int linux_io_pgetevents(void); 1687 } 1688293 AUE_NULL STD { 1689 int linux_rseq(void); 1690 } 1691294 AUE_NULL STD { 1692 int linux_kexec_file_load(void); 1693 } 1694295-423 AUE_NULL UNIMPL unimpl_md_syscall 1695424 AUE_NULL STD { 1696 int linux_pidfd_send_signal( 1697 l_int pidfd, 1698 l_int sig, 1699 l_siginfo_t *info, 1700 l_uint flags 1701 ); 1702 } 1703425 AUE_NULL STD { 1704 int linux_io_uring_setup(void); 1705 } 1706426 AUE_NULL STD { 1707 int linux_io_uring_enter(void); 1708 } 1709427 AUE_NULL STD { 1710 int linux_io_uring_register(void); 1711 } 1712428 AUE_NULL STD { 1713 int linux_open_tree(void); 1714 } 1715429 AUE_NULL STD { 1716 int linux_move_mount(void); 1717 } 1718430 AUE_NULL STD { 1719 int linux_fsopen(void); 1720 } 1721431 AUE_NULL STD { 1722 int linux_fsconfig(void); 1723 } 1724432 AUE_NULL STD { 1725 int linux_fsmount(void); 1726 } 1727433 AUE_NULL STD { 1728 int linux_fspick(void); 1729 } 1730434 AUE_NULL STD { 1731 int linux_pidfd_open(void); 1732 } 1733435 AUE_NULL STD { 1734 int linux_clone3( 1735 struct l_user_clone_args *uargs, 1736 l_size_t usize 1737 ); 1738 } 1739436 AUE_NULL STD { 1740 int linux_close_range(void); 1741 } 1742437 AUE_NULL STD { 1743 int linux_openat2(void); 1744 } 1745438 AUE_NULL STD { 1746 int linux_pidfd_getfd(void); 1747 } 1748439 AUE_NULL STD { 1749 int linux_faccessat2( 1750 l_int dfd, 1751 const char *filename, 1752 l_int amode, 1753 l_int flags 1754 ); 1755 } 1756440 AUE_NULL STD { 1757 int linux_process_madvise(void); 1758 } 1759441 AUE_NULL STD { 1760 int linux_epoll_pwait2(void); 1761 } 1762442 AUE_NULL STD { 1763 int linux_mount_setattr(void); 1764 } 1765; please, keep this line at the end. 1766443 AUE_NULL UNIMPL nosys 1767; vim: syntax=off 1768