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(void); 23 } 246 AUE_NULL STD { 25 int linux_lsetxattr(void); 26 } 277 AUE_NULL STD { 28 int linux_fsetxattr(void); 29 } 308 AUE_NULL STD { 31 int linux_getxattr(void); 32 } 339 AUE_NULL STD { 34 int linux_lgetxattr(void); 35 } 3610 AUE_NULL STD { 37 int linux_fgetxattr(void); 38 } 3911 AUE_NULL STD { 40 int linux_listxattr(void); 41 } 4212 AUE_NULL STD { 43 int linux_llistxattr(void); 44 } 4513 AUE_NULL STD { 46 int linux_flistxattr(void); 47 } 4814 AUE_NULL STD { 49 int linux_removexattr(void); 50 } 5115 AUE_NULL STD { 52 int linux_lremovexattr(void); 53 } 5416 AUE_NULL STD { 55 int linux_fremovexattr(void); 56 } 5717 AUE_GETCWD STD { 58 int linux_getcwd( 59 char *buf, 60 l_ulong bufsize 61 ); 62 } 6318 AUE_NULL STD { 64 int linux_lookup_dcookie(void); 65 } 6619 AUE_NULL STD { 67 int linux_eventfd2( 68 l_uint initval, 69 l_int flags 70 ); 71 } 7220 AUE_NULL STD { 73 int linux_epoll_create1( 74 l_int flags 75 ); 76 } 7721 AUE_NULL STD { 78 int linux_epoll_ctl( 79 l_int epfd, 80 l_int op, 81 l_int fd, 82 struct epoll_event *event 83 ); 84 } 8522 AUE_NULL STD { 86 int linux_epoll_pwait( 87 l_int epfd, 88 struct epoll_event *events, 89 l_int maxevents, 90 l_int timeout, 91 l_sigset_t *mask, 92 l_size_t sigsetsize 93 ); 94 } 9523 AUE_DUP NOPROTO { 96 int dup( 97 u_int fd); 98 } 9924 AUE_NULL STD { 100 int linux_dup3( 101 l_int oldfd, 102 l_int newfd, 103 l_int flags 104 ); 105 } 10625 AUE_FCNTL STD { 107 int linux_fcntl( 108 l_uint fd, 109 l_uint cmd, 110 l_ulong arg 111 ); 112 } 11326 AUE_NULL STD { 114 int linux_inotify_init1( 115 l_int flags 116 ); 117 } 11827 AUE_NULL STD { 119 int linux_inotify_add_watch(void); 120 } 12128 AUE_NULL STD { 122 int linux_inotify_rm_watch(void); 123 } 12429 AUE_IOCTL STD { 125 int linux_ioctl( 126 l_uint fd, 127 l_uint cmd, 128 uintptr_t arg 129 ); 130 } 13130 AUE_NULL STD { 132 int linux_ioprio_set(void); 133 } 13431 AUE_NULL STD { 135 int linux_ioprio_get(void); 136 } 13732 AUE_FLOCK NOPROTO { 138 int flock( 139 int fd, 140 int how 141 ); 142 } 14333 AUE_MKNODAT STD { 144 int linux_mknodat( 145 l_int dfd, 146 const char *filename, 147 l_int mode, 148 l_uint dev 149 ); 150 } 15134 AUE_MKDIRAT STD { 152 int linux_mkdirat( 153 l_int dfd, 154 const char *pathname, 155 l_int mode 156 ); 157 } 15835 AUE_UNLINKAT STD { 159 int linux_unlinkat( 160 l_int dfd, 161 const char *pathname, 162 l_int flag 163 ); 164 } 16536 AUE_SYMLINKAT STD { 166 int linux_symlinkat( 167 const char *oldname, 168 l_int newdfd, 169 const char *newname 170 ); 171 } 17237 AUE_LINKAT STD { 173 int linux_linkat( 174 l_int olddfd, 175 const char *oldname, 176 l_int newdfd, 177 const char *newname, 178 l_int flag 179 ); 180 } 18138 AUE_RENAMEAT STD { 182 int linux_renameat( 183 l_int olddfd, 184 const char *oldname, 185 l_int newdfd, 186 const char *newname 187 ); 188 } 18939 AUE_NULL UNIMPL linux_umount2 19040 AUE_MOUNT STD { 191 int linux_mount( 192 char *specialfile, 193 char *dir, 194 char *filesystemtype, 195 l_ulong rwflag, 196 void *data 197 ); 198 } 19941 AUE_PIVOT_ROOT STD { 200 int linux_pivot_root(void); 201 } 20242 AUE_NULL UNIMPL nfsservctl 20343 AUE_STATFS STD { 204 int linux_statfs( 205 char *path, 206 struct l_statfs_buf *buf 207 ); 208 } 20944 AUE_FSTATFS STD { 210 int linux_fstatfs( 211 l_uint fd, 212 struct l_statfs_buf *buf 213 ); 214 } 21545 AUE_TRUNCATE STD { 216 int linux_truncate( 217 char *path, 218 l_ulong length 219 ); 220 } 22146 AUE_FTRUNCATE STD { 222 int linux_ftruncate( 223 l_int fd, 224 l_long length 225 ); 226 } 22747 AUE_NULL STD { 228 int linux_fallocate( 229 l_int fd, 230 l_int mode, 231 l_loff_t offset, 232 l_loff_t len 233 ); 234 } 23548 AUE_FACCESSAT STD { 236 int linux_faccessat( 237 l_int dfd, 238 const char *filename, 239 l_int amode 240 ); 241 } 24249 AUE_CHDIR STD { 243 int linux_chdir( 244 char *path 245 ); 246 } 24750 AUE_FCHDIR NOPROTO { 248 int fchdir( 249 int fd); 250 } 25151 AUE_CHROOT NOPROTO { 252 int chroot( 253 char *path 254 ); 255 } 25652 AUE_FCHMOD NOPROTO { 257 int fchmod( 258 int fd, 259 int mode 260 ); 261 } 26253 AUE_FCHMODAT STD { 263 int linux_fchmodat( 264 l_int dfd, 265 const char *filename, 266 l_mode_t mode 267 ); 268 } 26954 AUE_FCHOWNAT STD { 270 int linux_fchownat( 271 l_int dfd, 272 const char *filename, 273 l_uid_t uid, 274 l_gid_t gid, 275 l_int flag 276 ); 277 } 27855 AUE_FCHOWN NOPROTO { 279 int fchown( 280 int fd, 281 int uid, 282 int gid); 283 } 28456 AUE_OPEN_RWTC STD { 285 int linux_openat( 286 l_int dfd, 287 const char *filename, 288 l_int flags, 289 l_int mode 290 ); 291 } 29257 AUE_CLOSE NOPROTO { 293 int close( 294 int fd); 295 } 29658 AUE_NULL STD { 297 int linux_vhangup(void); 298 } 29959 AUE_NULL STD { 300 int linux_pipe2( 301 l_int *pipefds, 302 l_int flags 303 ); 304 } 30560 AUE_NULL UNIMPL linux_quotactl 30661 AUE_GETDIRENTRIES STD { 307 int linux_getdents64( 308 l_uint fd, 309 void *dirent, 310 l_uint count 311 ); 312 } 31362 AUE_LSEEK STD { 314 int linux_lseek( 315 l_uint fdes, 316 l_off_t off, 317 l_int whence 318 ); 319 } 32063 AUE_NULL NOPROTO { 321 int read( 322 int fd, 323 char *buf, 324 u_int nbyte 325 ); 326 } 32764 AUE_NULL NOPROTO { 328 int write( 329 int fd, 330 char *buf, 331 u_int nbyte 332 ); 333 } 33465 AUE_READV NOPROTO { 335 int readv( 336 int fd, 337 struct iovec *iovp, 338 u_int iovcnt 339 ); 340 } 34166 AUE_WRITEV NOPROTO { 342 int writev( 343 int fd, 344 struct iovec *iovp, 345 u_int iovcnt 346 ); 347 } 34867 AUE_PREAD STD { 349 int linux_pread( 350 l_uint fd, 351 char *buf, 352 l_size_t nbyte, 353 l_loff_t offset 354 ); 355 } 35668 AUE_PWRITE STD { 357 int linux_pwrite( 358 l_uint fd, 359 char *buf, 360 l_size_t nbyte, 361 l_loff_t offset 362 ); 363 } 36469 AUE_NULL STD { 365 int linux_preadv( 366 l_ulong fd, 367 struct iovec *vec, 368 l_ulong vlen, 369 l_ulong pos_l, 370 l_ulong pos_h 371 ); 372 } 37370 AUE_NULL STD { 374 int linux_pwritev( 375 l_ulong fd, 376 struct iovec *vec, 377 l_ulong vlen, 378 l_ulong pos_l, 379 l_ulong pos_h 380 ); 381 } 38271 AUE_SENDFILE STD { 383 int linux_sendfile( 384 l_int out, 385 l_int in, 386 l_long *offset, 387 l_size_t count 388 ); 389 } 39072 AUE_SELECT STD { 391 int linux_pselect6( 392 l_int nfds, 393 l_fd_set *readfds, 394 l_fd_set *writefds, 395 l_fd_set *exceptfds, 396 struct l_timespec *tsp, 397 l_uintptr_t *sig 398 ); 399 } 40073 AUE_POLL STD { 401 int linux_ppoll( 402 struct pollfd *fds, 403 uint32_t nfds, 404 struct l_timespec *tsp, 405 l_sigset_t *sset, 406 l_size_t ssize 407 ); 408 } 40974 AUE_NULL STD { 410 int linux_signalfd4(void); 411 } 41275 AUE_NULL STD { 413 int linux_vmsplice(void); 414 } 41576 AUE_NULL STD { 416 int linux_splice(void); 417 } 41877 AUE_NULL STD { 419 int linux_tee(void); 420 } 42178 AUE_READLINKAT STD { 422 int linux_readlinkat( 423 l_int dfd, 424 const char *path, 425 char *buf, 426 l_int bufsiz 427 ); 428 } 42979 AUE_FSTATAT STD { 430 int linux_newfstatat( 431 l_int dfd, 432 char *pathname, 433 struct l_stat64 *statbuf, 434 l_int flag 435 ); 436 } 43780 AUE_FSTAT STD { 438 int linux_newfstat( 439 l_uint fd, 440 struct l_newstat *buf 441 ); 442 } 44381 AUE_NULL UNIMPL linux_sync 44482 AUE_FSYNC NOPROTO { 445 int fsync( 446 int fd); 447 } 44883 AUE_NULL STD { 449 int linux_fdatasync( 450 l_uint fd); 451 } 45284 AUE_NULL STD { 453 int linux_sync_file_range( 454 l_int fd, 455 l_loff_t offset, 456 l_loff_t nbytes, 457 unsigned int flags 458 ); 459 } 46085 AUE_NULL STD { 461 int linux_timerfd_create( 462 l_int clockid, 463 l_int flags 464 ); 465 } 46686 AUE_NULL STD { 467 int linux_timerfd_settime( 468 l_int fd, 469 l_int flags, 470 const struct l_itimerspec *new_value, 471 struct l_itimerspec *old_value 472 ); 473 } 47487 AUE_NULL STD { 475 int linux_timerfd_gettime( 476 l_int fd, 477 struct l_itimerspec *old_value 478 ); 479 } 48088 AUE_FUTIMESAT STD { 481 int linux_utimensat( 482 l_int dfd, 483 const char *pathname, 484 const struct l_timespec *times, 485 l_int flags 486 ); 487 } 48889 AUE_ACCT NOPROTO { 489 int acct( 490 char *path 491 ); 492 } 49390 AUE_CAPGET STD { 494 int linux_capget( 495 struct l_user_cap_header *hdrp, 496 struct l_user_cap_data *datap 497 ); 498 } 49991 AUE_CAPSET STD { 500 int linux_capset( 501 struct l_user_cap_header *hdrp, 502 struct l_user_cap_data *datap 503 ); 504 } 50592 AUE_PERSONALITY STD { 506 int linux_personality( 507 l_uint per 508 ); 509 } 51093 AUE_EXIT STD { 511 int linux_exit( 512 int rval 513 ); 514 } 51594 AUE_EXIT STD { 516 int linux_exit_group( 517 int error_code 518 ); 519 } 52095 AUE_WAIT6 STD { 521 int linux_waitid( 522 l_int idtype, 523 l_pid_t id, 524 l_siginfo_t *info, 525 l_int options, 526 struct rusage *rusage 527 ); 528 } 52996 AUE_NULL STD { 530 int linux_set_tid_address( 531 int *tidptr 532 ); 533 } 53497 AUE_NULL STD { 535 int linux_unshare(void); 536 } 53798 AUE_NULL STD { 538 int linux_sys_futex(void *uaddr, 539 int op, 540 int val, 541 struct l_timespec *timeout, 542 void *uaddr2, 543 int val3 544 ); 545 } 54699 AUE_NULL STD { 547 int linux_set_robust_list( 548 struct linux_robust_list_head *head, 549 l_size_t len 550 ); 551 } 552100 AUE_NULL STD { 553 int linux_get_robust_list( 554 l_int pid, 555 struct linux_robust_list_head **head, 556 l_size_t *len 557 ); 558 } 559101 AUE_NULL STD { 560 int linux_nanosleep( 561 const struct l_timespec *rqtp, 562 struct l_timespec *rmtp 563 ); 564 } 565102 AUE_GETITIMER STD { 566 int linux_getitimer( 567 l_int which, 568 struct l_itimerval *itv 569 ); 570 } 571103 AUE_SETITIMER STD { 572 int linux_setitimer( 573 l_int which, 574 struct l_itimerval *itv, 575 struct l_itimerval *oitv 576 ); 577 } 578104 AUE_NULL STD { 579 int linux_kexec_load(void); 580 } 581105 AUE_NULL STD { 582 int linux_init_module(void); 583 } 584106 AUE_NULL STD { 585 int linux_delete_module(void); 586 } 587107 AUE_NULL STD { 588 int linux_timer_create( 589 clockid_t clock_id, 590 struct sigevent *evp, 591 l_timer_t *timerid); 592 } 593108 AUE_NULL STD { 594 int linux_timer_gettime( 595 l_timer_t timerid, 596 struct itimerspec *setting 597 ); 598 } 599109 AUE_NULL STD { 600 int linux_timer_getoverrun( 601 l_timer_t timerid); 602 } 603110 AUE_NULL STD { 604 int linux_timer_settime( 605 l_timer_t timerid, 606 l_int flags, 607 const struct itimerspec *new, 608 struct itimerspec *old); 609 } 610111 AUE_NULL STD { 611 int linux_timer_delete( 612 l_timer_t timerid); 613 } 614112 AUE_CLOCK_SETTIME STD { 615 int linux_clock_settime( 616 clockid_t which, 617 struct l_timespec *tp 618 ); 619 } 620113 AUE_NULL STD { 621 int linux_clock_gettime( 622 clockid_t which, 623 struct l_timespec *tp 624 ); 625 } 626114 AUE_NULL STD { 627 int linux_clock_getres( 628 clockid_t which, 629 struct l_timespec *tp 630 ); 631 } 632115 AUE_NULL STD { 633 int linux_clock_nanosleep( 634 clockid_t which, 635 int flags, 636 struct l_timespec *rqtp, 637 struct l_timespec *rmtp 638 ); 639 } 640116 AUE_NULL STD { 641 int linux_syslog( 642 l_int type, 643 char *buf, 644 l_int len 645 ); 646 } 647117 AUE_PTRACE STD { 648 int linux_ptrace( 649 l_long req, 650 l_long pid, 651 l_ulong addr, 652 l_ulong data 653 ); 654 } 655118 AUE_SCHED_SETPARAM STD { 656 int linux_sched_setparam( 657 l_pid_t pid, 658 struct sched_param *param 659 ); 660 } 661119 AUE_SCHED_SETSCHEDULER STD { 662 int linux_sched_setscheduler( 663 l_pid_t pid, 664 l_int policy, 665 struct sched_param *param 666 ); 667 } 668120 AUE_SCHED_GETSCHEDULER STD { 669 int linux_sched_getscheduler( 670 l_pid_t pid); 671 } 672121 AUE_SCHED_GETPARAM STD { 673 int linux_sched_getparam( 674 l_pid_t pid, 675 struct sched_param *param 676 ); 677 } 678122 AUE_NULL STD { 679 int linux_sched_setaffinity( 680 l_pid_t pid, 681 l_uint len, 682 l_ulong *user_mask_ptr 683 ); 684 } 685123 AUE_NULL STD { 686 int linux_sched_getaffinity( 687 l_pid_t pid, 688 l_uint len, 689 l_ulong *user_mask_ptr 690 ); 691 } 692124 AUE_NULL NOPROTO { 693 int sched_yield(void); 694 } 695125 AUE_SCHED_GET_PRIORITY_MAX STD { 696 int linux_sched_get_priority_max( 697 \ 698 l_int policy 699 ); 700 } 701126 AUE_SCHED_GET_PRIORITY_MIN STD { 702 int linux_sched_get_priority_min( 703 \ 704 l_int policy 705 ); 706 } 707127 AUE_SCHED_RR_GET_INTERVAL STD { 708 int linux_sched_rr_get_interval( 709 l_pid_t pid, 710 struct l_timespec *interval 711 ); 712 } 713128 AUE_NULL UNIMPL restart_syscall 714129 AUE_KILL STD { 715 int linux_kill( 716 l_int pid, 717 l_int signum 718 ); 719 } 720130 AUE_NULL STD { 721 int linux_tkill( 722 l_int tid, 723 l_int sig 724 ); 725 } 726131 AUE_NULL STD { 727 int linux_tgkill( 728 l_int tgid, 729 l_int pid, 730 l_int sig 731 ); 732 } 733132 AUE_NULL STD { 734 int linux_sigaltstack( 735 l_stack_t *uss, 736 l_stack_t *uoss 737 ); 738 } 739133 AUE_NULL STD { 740 int linux_rt_sigsuspend( 741 l_sigset_t *newset, 742 l_size_t sigsetsize 743 ); 744 } 745134 AUE_NULL STD { 746 int linux_rt_sigaction( 747 l_int sig, 748 l_sigaction_t *act, 749 l_sigaction_t *oact, 750 l_size_t sigsetsize 751 ); 752 } 753135 AUE_NULL STD { 754 int linux_rt_sigprocmask( 755 l_int how, 756 l_sigset_t *mask, 757 l_sigset_t *omask, 758 l_size_t sigsetsize 759 ); 760 } 761136 AUE_NULL STD { 762 int linux_rt_sigpending( 763 l_sigset_t *set, 764 l_size_t sigsetsize 765 ); 766 } 767137 AUE_NULL STD { 768 int linux_rt_sigtimedwait( 769 l_sigset_t *mask, 770 l_siginfo_t *ptr, 771 struct l_timeval *timeout, 772 l_size_t sigsetsize 773 ); 774 } 775138 AUE_NULL STD { 776 int linux_rt_sigqueueinfo( 777 l_pid_t pid, 778 l_int sig, 779 l_siginfo_t *info 780 ); 781 } 782139 AUE_NULL STD { 783 int linux_rt_sigreturn( 784 struct l_ucontext *ucp 785 ); 786 } 787140 AUE_SETPRIORITY NOPROTO { 788 int setpriority( 789 int which, 790 int who, 791 int prio 792 ); 793 } 794141 AUE_GETPRIORITY STD { 795 int linux_getpriority( 796 l_int which, 797 l_int who 798 ); 799 } 800142 AUE_REBOOT STD { 801 int linux_reboot( 802 l_int magic1, 803 l_int magic2, 804 l_uint cmd, 805 void *arg 806 ); 807 } 808143 AUE_SETREGID NOPROTO { 809 int setregid( 810 gid_t rgid, 811 gid_t egid); 812 } 813144 AUE_SETGID NOPROTO { 814 int setgid( 815 gid_t gid); 816 } 817145 AUE_SETREUID NOPROTO { 818 int setreuid( 819 uid_t ruid, 820 uid_t euid); 821 } 822146 AUE_SETUID NOPROTO { 823 int setuid( 824 uid_t uid); 825 } 826147 AUE_SETRESUID NOPROTO { 827 int setresuid( 828 uid_t ruid, 829 uid_t euid, 830 uid_t suid); 831 } 832148 AUE_GETRESUID NOPROTO { 833 int getresuid( 834 uid_t *ruid, 835 uid_t *euid, 836 uid_t *suid); 837 } 838149 AUE_SETRESGID NOPROTO { 839 int setresgid( 840 gid_t rgid, 841 gid_t egid, 842 gid_t sgid); 843 } 844150 AUE_GETRESGID NOPROTO { 845 int getresgid( 846 gid_t *rgid, 847 gid_t *egid, 848 gid_t *sgid); 849 } 850151 AUE_SETFSUID STD { 851 int linux_setfsuid( 852 l_uid_t uid); 853 } 854152 AUE_SETFSGID STD { 855 int linux_setfsgid( 856 l_gid_t gid); 857 } 858153 AUE_NULL STD { 859 int linux_times( 860 struct l_times_argv *buf 861 ); 862 } 863154 AUE_SETPGRP NOPROTO { 864 int setpgid( 865 int pid, 866 int pgid); 867 } 868155 AUE_GETPGID NOPROTO { 869 int getpgid( 870 int pid); 871 } 872156 AUE_GETSID STD { 873 int linux_getsid( 874 l_pid_t pid); 875 } 876157 AUE_SETSID NOPROTO { 877 int setsid(void); 878 } 879158 AUE_GETGROUPS STD { 880 int linux_getgroups( 881 l_int gidsetsize, 882 l_gid_t *grouplist 883 ); 884 } 885159 AUE_SETGROUPS STD { 886 int linux_setgroups( 887 l_int gidsetsize, 888 l_gid_t *grouplist 889 ); 890 } 891160 AUE_NULL STD { 892 int linux_newuname( 893 struct l_new_utsname *buf 894 ); 895 } 896161 AUE_SYSCTL STD { 897 int linux_sethostname( 898 char *hostname, 899 l_uint len 900 ); 901 } 902162 AUE_SYSCTL STD { 903 int linux_setdomainname( 904 char *name, 905 l_int len 906 ); 907 } 908163 AUE_GETRLIMIT STD { 909 int linux_getrlimit( 910 l_uint resource, 911 struct l_rlimit *rlim 912 ); 913 } 914164 AUE_SETRLIMIT STD { 915 int linux_setrlimit( 916 l_uint resource, 917 struct l_rlimit *rlim 918 ); 919 } 920165 AUE_GETRUSAGE NOPROTO { 921 int getrusage( 922 int who, 923 struct rusage *rusage 924 ); 925 } 926166 AUE_UMASK NOPROTO { 927 int umask( 928 int newmask 929 ); 930 } 931167 AUE_PRCTL STD { 932 int linux_prctl( 933 l_int option, 934 l_uintptr_t arg2, 935 l_uintptr_t arg3, 936 l_uintptr_t arg4, 937 l_uintptr_t arg5 938 ); 939 } 940168 AUE_NULL STD { 941 int linux_getcpu( 942 l_uint *cpu, 943 l_uint *node, 944 void *cache 945 ); 946 } 947169 AUE_NULL NOPROTO { 948 int gettimeofday( 949 struct l_timeval *tp, 950 struct timezone *tzp 951 ); 952 } 953170 AUE_SETTIMEOFDAY NOPROTO { 954 int settimeofday( 955 struct l_timeval *tv, 956 struct timezone *tzp 957 ); 958 } 959171 AUE_ADJTIME STD { 960 int linux_adjtimex(void); 961 } 962172 AUE_GETPID STD { 963 int linux_getpid(void); 964 } 965173 AUE_GETPPID STD { 966 int linux_getppid(void); 967 } 968174 AUE_GETUID STD { 969 int linux_getuid(void); 970 } 971175 AUE_GETEUID NOPROTO { 972 int geteuid(void); 973 } 974176 AUE_GETGID STD { 975 int linux_getgid(void); 976 } 977177 AUE_GETEGID NOPROTO { 978 int getegid(void); 979 } 980178 AUE_NULL STD { 981 int linux_gettid(void); 982 } 983179 AUE_NULL STD { 984 int linux_sysinfo( 985 struct l_sysinfo *info 986 ); 987 } 988180 AUE_NULL STD { 989 int linux_mq_open(void); 990 } 991181 AUE_NULL STD { 992 int linux_mq_unlink(void); 993 } 994182 AUE_NULL STD { 995 int linux_mq_timedsend(void); 996 } 997183 AUE_NULL STD { 998 int linux_mq_timedreceive(void); 999 } 1000184 AUE_NULL STD { 1001 int linux_mq_notify(void); 1002 } 1003185 AUE_NULL STD { 1004 int linux_mq_getsetattr(void); 1005 } 1006186 AUE_NULL STD { 1007 int linux_msgget( 1008 l_key_t key, 1009 l_int msgflg 1010 ); 1011 } 1012187 AUE_NULL STD { 1013 int linux_msgctl( 1014 l_int msqid, 1015 l_int cmd, 1016 struct l_msqid_ds *buf 1017 ); 1018 } 1019188 AUE_NULL STD { 1020 int linux_msgrcv( 1021 l_int msqid, 1022 struct l_msgbuf *msgp, 1023 l_size_t msgsz, 1024 l_long msgtyp, 1025 l_int msgflg 1026 ); 1027 } 1028189 AUE_NULL STD { 1029 int linux_msgsnd( 1030 l_int msqid, 1031 struct l_msgbuf *msgp, 1032 l_size_t msgsz, 1033 l_int msgflg 1034 ); 1035 } 1036190 AUE_NULL STD { 1037 int linux_semget( 1038 l_key_t key, 1039 l_int nsems, 1040 l_int semflg 1041 ); 1042 } 1043191 AUE_NULL STD { 1044 int linux_semctl( 1045 l_int semid, 1046 l_int semnum, 1047 l_int cmd, 1048 union l_semun arg 1049 ); 1050 } 1051192 AUE_NULL STD { 1052 int linux_semtimedop(void); 1053 } 1054193 AUE_NULL STD { 1055 int linux_semop( 1056 l_int semid, 1057 struct l_sembuf *tsops, 1058 l_uint nsops 1059 ); 1060 } 1061194 AUE_NULL STD { 1062 int linux_shmget( 1063 l_key_t key, 1064 l_size_t size, 1065 l_int shmflg 1066 ); 1067 } 1068195 AUE_NULL STD { 1069 int linux_shmctl( 1070 l_int shmid, 1071 l_int cmd, 1072 struct l_shmid_ds *buf 1073 ); 1074 } 1075196 AUE_NULL STD { 1076 int linux_shmat( 1077 l_int shmid, 1078 char *shmaddr, 1079 l_int shmflg 1080 ); 1081 } 1082197 AUE_NULL STD { 1083 int linux_shmdt( 1084 char *shmaddr 1085 ); 1086 } 1087198 AUE_SOCKET STD { 1088 int linux_socket( 1089 l_int domain, 1090 l_int type, 1091 l_int protocol 1092 ); 1093 } 1094199 AUE_SOCKETPAIR STD { 1095 int linux_socketpair( 1096 l_int domain, 1097 l_int type, 1098 l_int protocol, 1099 l_uintptr_t rsv 1100 ); 1101 } 1102200 AUE_BIND STD { 1103 int linux_bind( 1104 l_int s, 1105 l_uintptr_t name, 1106 l_int namelen 1107 ); 1108 } 1109201 AUE_LISTEN STD { 1110 int linux_listen( 1111 l_int s, 1112 l_int backlog 1113 ); 1114 } 1115202 AUE_ACCEPT STD { 1116 int linux_accept( 1117 l_int s, 1118 l_uintptr_t addr, 1119 l_uintptr_t namelen 1120 ); 1121 } 1122203 AUE_CONNECT STD { 1123 int linux_connect( 1124 l_int s, 1125 l_uintptr_t name, 1126 l_int namelen 1127 ); 1128 } 1129204 AUE_GETSOCKNAME STD { 1130 int linux_getsockname( 1131 l_int s, 1132 l_uintptr_t addr, 1133 l_uintptr_t namelen 1134 ); 1135 } 1136205 AUE_GETPEERNAME STD { 1137 int linux_getpeername( 1138 l_int s, 1139 l_uintptr_t addr, 1140 l_uintptr_t namelen 1141 ); 1142 } 1143206 AUE_SENDTO STD { 1144 int linux_sendto( 1145 l_int s, 1146 l_uintptr_t msg, 1147 l_int len, 1148 l_int flags, 1149 l_uintptr_t to, 1150 l_int tolen 1151 ); 1152 } 1153207 AUE_RECVFROM STD { 1154 int linux_recvfrom( 1155 l_int s, 1156 l_uintptr_t buf, 1157 l_size_t len, 1158 l_int flags, 1159 l_uintptr_t from, 1160 l_uintptr_t fromlen 1161 ); 1162 } 1163208 AUE_SETSOCKOPT STD { 1164 int linux_setsockopt( 1165 l_int s, 1166 l_int level, 1167 l_int optname, 1168 l_uintptr_t optval, 1169 l_int optlen 1170 ); 1171 } 1172209 AUE_GETSOCKOPT STD { 1173 int linux_getsockopt( 1174 l_int s, 1175 l_int level, 1176 l_int optname, 1177 l_uintptr_t optval, 1178 l_uintptr_t optlen 1179 ); 1180 } 1181210 AUE_NULL STD { 1182 int linux_shutdown( 1183 l_int s, 1184 l_int how 1185 ); 1186 } 1187211 AUE_SENDMSG STD { 1188 int linux_sendmsg( 1189 l_int s, 1190 l_uintptr_t msg, 1191 l_int flags 1192 ); 1193 } 1194212 AUE_RECVMSG STD { 1195 int linux_recvmsg( 1196 l_int s, 1197 l_uintptr_t msg, 1198 l_int flags 1199 ); 1200 } 1201213 AUE_NULL UNIMPL linux_readahead 1202214 AUE_NULL STD { 1203 int linux_brk( 1204 l_ulong dsend); 1205 } 1206215 AUE_MUNMAP NOPROTO { 1207 int munmap( 1208 caddr_t addr, 1209 int len 1210 ); 1211 } 1212216 AUE_NULL STD { 1213 int linux_mremap( 1214 l_ulong addr, 1215 l_ulong old_len, 1216 l_ulong new_len, 1217 l_ulong flags, 1218 l_ulong new_addr 1219 ); 1220 } 1221217 AUE_NULL STD { 1222 int linux_add_key(void); 1223 } 1224218 AUE_NULL STD { 1225 int linux_request_key(void); 1226 } 1227219 AUE_NULL STD { 1228 int linux_keyctl(void); 1229 } 1230220 AUE_RFORK STD { 1231 int linux_clone( 1232 l_int flags, 1233 void *stack, 1234 void *parent_tidptr, 1235 void *tls, 1236 void *child_tidptr 1237 ); 1238 } 1239221 AUE_EXECVE STD { 1240 int linux_execve( 1241 char *path, 1242 char **argp, 1243 char **envp 1244 ); 1245 } 1246222 AUE_MMAP STD { 1247 int linux_mmap2( 1248 l_ulong addr, 1249 l_ulong len, 1250 l_ulong prot, 1251 l_ulong flags, 1252 l_ulong fd, 1253 l_ulong pgoff 1254 ); 1255 } 1256223 AUE_NULL STD { 1257 int linux_fadvise64( 1258 l_int fd, 1259 l_loff_t offset, 1260 l_size_t len, 1261 l_int advice 1262 ); 1263 } 1264224 AUE_SWAPON NOPROTO { 1265 int swapon( 1266 char *name 1267 ); 1268 } 1269225 AUE_SWAPOFF STD { 1270 int linux_swapoff(void); 1271 } 1272226 AUE_MPROTECT STD { 1273 int linux_mprotect( 1274 caddr_t addr, 1275 l_int len, 1276 l_int prot 1277 ); 1278 } 1279227 AUE_MSYNC STD { 1280 int linux_msync( 1281 l_ulong addr, 1282 l_size_t len, 1283 l_int fl 1284 ); 1285 } 1286228 AUE_MLOCK NOPROTO { 1287 int mlock( 1288 const void *addr, 1289 size_t len 1290 ); 1291 } 1292229 AUE_MUNLOCK NOPROTO { 1293 int munlock( 1294 const void *addr, 1295 size_t len 1296 ); 1297 } 1298230 AUE_MLOCKALL NOPROTO { 1299 int mlockall( 1300 int how 1301 ); 1302 } 1303231 AUE_MUNLOCKALL NOPROTO { 1304 int munlockall(void); 1305 } 1306232 AUE_MINCORE STD { 1307 int linux_mincore( 1308 l_ulong start, 1309 l_size_t len, 1310 u_char *vec 1311 ); 1312 } 1313233 AUE_MADVISE NOPROTO { 1314 int madvise(void *addr, 1315 size_t len, 1316 int behav 1317 ); 1318 } 1319234 AUE_NULL STD { 1320 int linux_remap_file_pages(void); 1321 } 1322235 AUE_NULL STD { 1323 int linux_mbind(void); 1324 } 1325236 AUE_NULL STD { 1326 int linux_get_mempolicy(void); 1327 } 1328237 AUE_NULL STD { 1329 int linux_set_mempolicy(void); 1330 } 1331238 AUE_NULL STD { 1332 int linux_migrate_pages(void); 1333 } 1334239 AUE_NULL STD { 1335 int linux_move_pages(void); 1336 } 1337240 AUE_NULL STD { 1338 int linux_rt_tgsigqueueinfo( 1339 l_pid_t tgid, 1340 l_pid_t tid, 1341 l_int sig, 1342 l_siginfo_t *uinfo 1343 ); 1344 } 1345241 AUE_NULL STD { 1346 int linux_perf_event_open(void); 1347 } 1348242 AUE_ACCEPT STD { 1349 int linux_accept4( 1350 l_int s, 1351 l_uintptr_t addr, 1352 l_uintptr_t namelen, 1353 int flags 1354 ); 1355 } 1356243 AUE_NULL STD { 1357 int linux_recvmmsg( 1358 l_int s, 1359 struct l_mmsghdr *msg, 1360 l_uint vlen, 1361 l_uint flags, 1362 struct l_timespec *timeout 1363 ); 1364 } 1365244-259 AUE_NULL UNIMPL unimpl_md_syscall 1366260 AUE_WAIT4 STD { 1367 int linux_wait4( 1368 l_pid_t pid, 1369 l_int *status, 1370 l_int options, 1371 struct rusage *rusage 1372 ); 1373 } 1374261 AUE_NULL STD { 1375 int linux_prlimit64( 1376 l_pid_t pid, 1377 l_uint resource, 1378 struct rlimit *new, 1379 struct rlimit *old); 1380 } 1381262 AUE_NULL STD { 1382 int linux_fanotify_init(void); 1383 } 1384263 AUE_NULL STD { 1385 int linux_fanotify_mark(void); 1386 } 1387264 AUE_NULL STD { 1388 int linux_name_to_handle_at(void); 1389 } 1390265 AUE_NULL STD { 1391 int linux_open_by_handle_at(void); 1392 } 1393266 AUE_NULL STD { 1394 int linux_clock_adjtime(void); 1395 } 1396267 AUE_SYNC STD { 1397 int linux_syncfs( 1398 l_int fd); 1399 } 1400268 AUE_NULL STD { 1401 int linux_setns( 1402 l_int fd, 1403 l_int nstype 1404 ); 1405 } 1406269 AUE_NULL STD { 1407 int linux_sendmmsg( 1408 l_int s, 1409 struct l_mmsghdr *msg, 1410 l_uint vlen, 1411 l_uint flags 1412 ); 1413 } 1414270 AUE_NULL STD { 1415 int linux_process_vm_readv( 1416 l_pid_t pid, 1417 const struct iovec *lvec, 1418 l_ulong liovcnt, 1419 const struct iovec *rvec, 1420 l_ulong riovcnt, 1421 l_ulong flags 1422 ); 1423 } 1424271 AUE_NULL STD { 1425 int linux_process_vm_writev( 1426 l_pid_t pid, 1427 const struct iovec *lvec, 1428 l_ulong liovcnt, 1429 const struct iovec *rvec, 1430 l_ulong riovcnt, 1431 l_ulong flags 1432 ); 1433 } 1434272 AUE_NULL STD { 1435 int linux_kcmp( 1436 l_pid_t pid1, 1437 l_pid_t pid2, 1438 l_int type, 1439 l_ulong idx1, 1440 l_ulong idx 1441 ); 1442 } 1443273 AUE_NULL STD { 1444 int linux_finit_module( 1445 l_int fd, 1446 const char *uargs, 1447 l_int flags 1448 ); 1449 } 1450274 AUE_NULL STD { 1451 int linux_sched_setattr( 1452 l_pid_t pid, 1453 void *attr, 1454 l_uint flags 1455 ); 1456 } 1457275 AUE_NULL STD { 1458 int linux_sched_getattr( 1459 l_pid_t pid, 1460 void *attr, 1461 l_uint size, 1462 l_uint flags 1463 ); 1464 } 1465276 AUE_NULL STD { 1466 int linux_renameat2( 1467 l_int olddfd, 1468 const char *oldname, 1469 l_int newdfd, 1470 const char *newname, 1471 unsigned int flags 1472 ); 1473 } 1474277 AUE_NULL STD { 1475 int linux_seccomp( 1476 l_uint op, 1477 l_uint flags, 1478 const char *uargs 1479 ); 1480 } 1481278 AUE_NULL STD { 1482 int linux_getrandom( 1483 char *buf, 1484 l_size_t count, 1485 l_uint flags 1486 ); 1487 } 1488279 AUE_NULL STD { 1489 int linux_memfd_create( 1490 const char *uname_ptr, 1491 l_uint flags 1492 ); 1493 } 1494280 AUE_NULL STD { 1495 int linux_bpf( 1496 l_int cmd, 1497 void *attr, 1498 l_uint size 1499 ); 1500 } 1501281 AUE_NULL STD { 1502 int linux_execveat( 1503 l_int dfd, 1504 const char *filename, 1505 const char **argv, 1506 const char **envp, 1507 l_int flags 1508 ); 1509 } 1510282 AUE_NULL STD { 1511 int linux_userfaultfd( 1512 l_int flags 1513 ); 1514 } 1515283 AUE_NULL STD { 1516 int linux_membarrier( 1517 l_int cmd, 1518 l_int flags 1519 ); 1520 } 1521284 AUE_NULL STD { 1522 int linux_mlock2( 1523 l_ulong start, 1524 l_size_t len, 1525 l_int flags 1526 ); 1527 } 1528285 AUE_NULL STD { 1529 int linux_copy_file_range( 1530 l_int fd_in, 1531 l_loff_t *off_in, 1532 l_int fd_out, 1533 l_loff_t *off_out, 1534 l_size_t len, 1535 l_uint flags 1536 ); 1537 } 1538286 AUE_NULL STD { 1539 int linux_preadv2( 1540 l_ulong fd, 1541 const struct iovec *vec, 1542 l_ulong vlen, 1543 l_ulong pos_l, 1544 l_ulong pos_h, 1545 l_int flags 1546 ); 1547 } 1548287 AUE_NULL STD { 1549 int linux_pwritev2( 1550 l_ulong fd, 1551 const struct iovec *vec, 1552 l_ulong vlen, 1553 l_ulong pos_l, 1554 l_ulong pos_h, 1555 l_int flags 1556 ); 1557 } 1558288 AUE_NULL STD { 1559 int linux_pkey_mprotect( 1560 l_ulong start, 1561 l_size_t len, 1562 l_ulong prot, 1563 l_int pkey 1564 ); 1565 } 1566289 AUE_NULL STD { 1567 int linux_pkey_alloc( 1568 l_ulong flags, 1569 l_ulong init_val 1570 ); 1571 } 1572290 AUE_NULL STD { 1573 int linux_pkey_free( 1574 l_int pkey 1575 ); 1576 } 1577 1578; please, keep this line at the end. 1579291 AUE_NULL UNIMPL nosys 1580 1581; vim: syntax=off 1582