1 $FreeBSD$ 2 3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 4; System call name/number master file (or rather, slave, from LINUX). 5; Processed to create linux_sysent.c, linux_proto.h and linux_syscall.h. 6 7; Columns: number audit type nargs name alt{name,tag,rtyp}/comments 8; number system call number, must be in order 9; audit the audit event associated with the system call 10; A value of AUE_NULL means no auditing, but it also means that 11; there is no audit event for the call at this time. For the 12; case where the event exists, but we don't want auditing, the 13; event should be #defined to AUE_NULL in audit_kevents.h. 14; type one of STD, NOPROTO, UNIMPL 15; name pseudo-prototype of syscall routine 16; If one of the following alts is different, then all appear: 17; altname name of system call if different 18; alttag name of args struct tag if different from [o]`name'"_args" 19; altrtyp return type if not int (bogus - syscalls always return int) 20; for UNIMPL, name continues with comments 21 22; types: 23; STD always included 24; UNIMPL not implemented, placeholder only 25; NOPROTO same as STD except do not create structure or 26; function prototype in sys/sysproto.h. Does add a 27; definition to syscall.h besides adding a sysent. 28 29; #include's, #defines's, etc. may be included, and are copied to the output 30; files. However, #ifdef, etc will be copied, but any lines that don't start 31; with # will not. Caveat Emptor. 32 33#include <sys/param.h> 34#include <sys/sysent.h> 35#include <sys/sysproto.h> 36#include <compat/linux/linux_sysproto.h> 37#include <i386/linux/linux.h> 38#include <i386/linux/linux_proto.h> 39 40; Isn't pretty, but there seems to be no other way to trap nosys 41#define nosys linux_nosys 42 430 AUE_NULL UNIMPL setup 441 AUE_EXIT STD { 45 void linux_exit( 46 int rval 47 ); 48 } 492 AUE_FORK STD { 50 int linux_fork(void); 51 } 523 AUE_NULL NOPROTO { 53 int read( 54 int fd, 55 char *buf, 56 u_int nbyte 57 ); 58 } 594 AUE_NULL NOPROTO { 60 int write( 61 int fd, 62 char *buf, 63 u_int nbyte 64 ); 65 } 665 AUE_OPEN_RWTC STD { 67 int linux_open( 68 char *path, 69 l_int flags, 70 l_int mode 71 ); 72 } 736 AUE_CLOSE NOPROTO { 74 int close( 75 int fd 76 ); 77 } 787 AUE_WAIT4 STD { 79 int linux_waitpid( 80 l_pid_t pid, 81 l_int *status, 82 l_int options 83 ); 84 } 858 AUE_CREAT STD { 86 int linux_creat( 87 char *path, 88 l_int mode 89 ); 90 } 919 AUE_LINK STD { 92 int linux_link( 93 char *path, 94 char *to 95 ); 96 } 9710 AUE_UNLINK STD { 98 int linux_unlink( 99 char *path 100 ); 101 } 10211 AUE_EXECVE STD { 103 int linux_execve( 104 char *path, 105 char **argp, 106 char **envp 107 ); 108 } 10912 AUE_CHDIR STD { 110 int linux_chdir( 111 char *path 112 ); 113 } 11413 AUE_NULL STD { 115 int linux_time( 116 l_time_t *tm 117 ); 118 } 11914 AUE_MKNOD STD { 120 int linux_mknod( 121 char *path, 122 l_int mode, 123 l_dev_t dev 124 ); 125 } 12615 AUE_CHMOD STD { 127 int linux_chmod( 128 char *path, 129 l_mode_t mode 130 ); 131 } 13216 AUE_LCHOWN STD { 133 int linux_lchown16( 134 char *path, 135 l_uid16_t uid, 136 l_gid16_t gid 137 ); 138 } 13917 AUE_NULL UNIMPL break 14018 AUE_STAT STD { 141 int linux_stat( 142 char *path, 143 struct linux_stat *up 144 ); 145 } 14619 AUE_LSEEK STD { 147 int linux_lseek( 148 l_uint fdes, 149 l_off_t off, 150 l_int whence 151 ); 152 } 15320 AUE_GETPID STD { 154 int linux_getpid(void); 155 } 15621 AUE_MOUNT STD { 157 int linux_mount( 158 char *specialfile, 159 char *dir, 160 char *filesystemtype, 161 l_ulong rwflag, 162 void *data 163 ); 164 } 16522 AUE_UMOUNT STD { 166 int linux_oldumount( 167 char *path 168 ); 169 } 17023 AUE_SETUID STD { 171 int linux_setuid16( 172 l_uid16_t uid 173 ); 174 } 17524 AUE_GETUID STD { 176 int linux_getuid16(void); 177 } 17825 AUE_SETTIMEOFDAY STD { 179 int linux_stime(void); 180 } 18126 AUE_PTRACE STD { 182 int linux_ptrace( 183 l_long req, 184 l_long pid, 185 l_long addr, 186 l_long data 187 ); 188 } 18927 AUE_NULL STD { 190 int linux_alarm( 191 l_uint secs 192 ); 193 } 19428 AUE_FSTAT STD { 195 int linux_fstat( 196 l_uint fd, 197 struct linux_stat *up 198 ); 199 } 20029 AUE_NULL STD { 201 int linux_pause(void); 202 } 20330 AUE_UTIME STD { 204 int linux_utime( 205 char *fname, 206 struct l_utimbuf *times 207 ); 208 } 20931 AUE_NULL UNIMPL stty 21032 AUE_NULL UNIMPL gtty 21133 AUE_ACCESS STD { 212 int linux_access( 213 char *path, 214 l_int amode 215 ); 216 } 21734 AUE_NICE STD { 218 int linux_nice( 219 l_int inc 220 ); 221 } 22235 AUE_NULL UNIMPL ftime 22336 AUE_SYNC NOPROTO { 224 int sync(void); 225 } 22637 AUE_KILL STD { 227 int linux_kill( 228 l_int pid, 229 l_int signum 230 ); 231 } 23238 AUE_RENAME STD { 233 int linux_rename( 234 char *from, 235 char *to 236 ); 237 } 23839 AUE_MKDIR STD { 239 int linux_mkdir( 240 char *path, 241 l_int mode 242 ); 243 } 24440 AUE_RMDIR STD { 245 int linux_rmdir( 246 char *path 247 ); 248 } 24941 AUE_DUP NOPROTO { 250 int dup( 251 u_int fd 252 ); 253 } 25442 AUE_PIPE STD { 255 int linux_pipe( 256 l_int *pipefds 257 ); 258 } 25943 AUE_NULL STD { 260 int linux_times( 261 struct l_times_argv *buf 262 ); 263 } 26444 AUE_NULL UNIMPL prof 26545 AUE_NULL STD { 266 int linux_brk( 267 l_ulong dsend 268 ); 269 } 27046 AUE_SETGID STD { 271 int linux_setgid16( 272 l_gid16_t gid 273 ); 274 } 27547 AUE_GETGID STD { 276 int linux_getgid16(void); 277 } 27848 AUE_NULL STD { 279 int linux_signal( 280 l_int sig, 281 void *handler 282 ); 283 } 28449 AUE_GETEUID STD { 285 int linux_geteuid16(void); 286 } 28750 AUE_GETEGID STD { 288 int linux_getegid16(void); 289 } 29051 AUE_ACCT NOPROTO { 291 int acct( 292 char *path 293 ); 294 } 29552 AUE_UMOUNT STD { 296 int linux_umount( 297 char *path, 298 l_int flags 299 ); 300 } 30153 AUE_NULL UNIMPL lock 30254 AUE_IOCTL STD { 303 int linux_ioctl( 304 l_uint fd, 305 l_uint cmd, 306 l_ulong arg 307 ); 308 } 30955 AUE_FCNTL STD { 310 int linux_fcntl( 311 l_uint fd, 312 l_uint cmd, 313 l_ulong arg 314 ); 315 } 31656 AUE_NULL UNIMPL mpx 31757 AUE_SETPGRP NOPROTO { 318 int setpgid( 319 int pid, 320 int pgid 321 ); 322 } 32358 AUE_NULL UNIMPL ulimit 32459 AUE_NULL STD { 325 int linux_olduname(void); 326 } 32760 AUE_UMASK NOPROTO { 328 int umask( 329 int newmask 330 ); 331 } 33261 AUE_CHROOT NOPROTO { 333 int chroot( 334 char *path 335 ); 336 } 33762 AUE_NULL STD { 338 int linux_ustat( 339 l_dev_t dev, 340 struct l_ustat *ubuf 341 ); 342 } 34363 AUE_DUP2 NOPROTO { 344 int dup2( 345 u_int from, 346 u_int to 347 ); 348 } 34964 AUE_GETPPID STD { 350 int linux_getppid(void); 351 } 35265 AUE_GETPGRP NOPROTO { 353 int getpgrp(void); 354 } 35566 AUE_SETSID NOPROTO { 356 int setsid(void); 357 } 35867 AUE_NULL STD { 359 int linux_sigaction( 360 l_int sig, 361 l_osigaction_t *nsa, 362 l_osigaction_t *osa 363 ); 364 } 36568 AUE_NULL STD { 366 int linux_sgetmask(void); 367 } 36869 AUE_NULL STD { 369 int linux_ssetmask( 370 l_osigset_t mask 371 ); 372 } 37370 AUE_SETREUID STD { 374 int linux_setreuid16( 375 l_uid16_t ruid, 376 l_uid16_t euid 377 ); 378 } 37971 AUE_SETREGID STD { 380 int linux_setregid16( 381 l_gid16_t rgid, 382 l_gid16_t egid 383 ); 384 } 38572 AUE_NULL STD { 386 int linux_sigsuspend( 387 l_int hist0, 388 l_int hist1, 389 l_osigset_t mask 390 ); 391 } 39273 AUE_NULL STD { 393 int linux_sigpending( 394 l_osigset_t *mask 395 ); 396 } 39774 AUE_SYSCTL STD { 398 int linux_sethostname( 399 char *hostname, 400 u_int len 401 ); 402 } 40375 AUE_SETRLIMIT STD { 404 int linux_setrlimit( 405 l_uint resource, 406 struct l_rlimit *rlim 407 ); 408 } 40976 AUE_GETRLIMIT STD { 410 int linux_old_getrlimit( 411 l_uint resource, 412 struct l_rlimit *rlim 413 ); 414 } 41577 AUE_GETRUSAGE NOPROTO { 416 int getrusage( 417 int who, 418 struct rusage *rusage 419 ); 420 } 42178 AUE_NULL NOPROTO { 422 int gettimeofday( 423 struct timeval *tp, 424 struct timezone *tzp 425 ); 426 } 42779 AUE_SETTIMEOFDAY NOPROTO { 428 int settimeofday( 429 struct timeval *tv, 430 struct timezone *tzp 431 ); 432 } 43380 AUE_GETGROUPS STD { 434 int linux_getgroups16( 435 l_uint gidsetsize, 436 l_gid16_t *gidset 437 ); 438 } 43981 AUE_SETGROUPS STD { 440 int linux_setgroups16( 441 l_uint gidsetsize, 442 l_gid16_t *gidset 443 ); 444 } 44582 AUE_SELECT STD { 446 int linux_old_select( 447 struct l_old_select_argv *ptr 448 ); 449 } 45083 AUE_SYMLINK STD { 451 int linux_symlink( 452 char *path, 453 char *to 454 ); 455 } 456; 84: oldlstat 45784 AUE_LSTAT STD { 458 int linux_lstat( 459 char *path, 460 struct l_stat *up 461 ); 462 } 46385 AUE_READLINK STD { 464 int linux_readlink( 465 char *name, 466 char *buf, 467 l_int count 468 ); 469 } 47086 AUE_USELIB STD { 471 int linux_uselib( 472 char *library 473 ); 474 } 47587 AUE_SWAPON NOPROTO { 476 int swapon( 477 char *name 478 ); 479 } 48088 AUE_REBOOT STD { 481 int linux_reboot( 482 l_int magic1, 483 l_int magic2, 484 l_uint cmd, 485 void *arg 486 ); 487 } 488; 89: old_readdir 48989 AUE_GETDIRENTRIES STD { 490 int linux_readdir( 491 l_uint fd, 492 struct l_dirent *dent, 493 l_uint count 494 ); 495 } 496; 90: old_mmap 49790 AUE_MMAP STD { 498 int linux_mmap( 499 struct l_mmap_argv *ptr 500 ); 501 } 50291 AUE_MUNMAP NOPROTO { 503 int munmap( 504 caddr_t addr, 505 int len 506 ); 507 } 50892 AUE_TRUNCATE STD { 509 int linux_truncate( 510 char *path, 511 l_ulong length 512 ); 513 } 51493 AUE_FTRUNCATE STD { 515 int linux_ftruncate( 516 int fd, 517 long length 518 ); 519 } 52094 AUE_FCHMOD NOPROTO { 521 int fchmod( 522 int fd, 523 int mode 524 ); 525 } 52695 AUE_FCHOWN NOPROTO { 527 int fchown( 528 int fd, 529 int uid, 530 int gid 531 ); 532 } 53396 AUE_GETPRIORITY STD { 534 int linux_getpriority( 535 int which, 536 int who 537 ); 538 } 53997 AUE_SETPRIORITY NOPROTO { 540 int setpriority( 541 int which, 542 int who, 543 int prio 544 ); 545 } 54698 AUE_PROFILE UNIMPL profil 54799 AUE_STATFS STD { 548 int linux_statfs( 549 char *path, 550 struct l_statfs_buf *buf 551 ); 552 } 553100 AUE_FSTATFS STD { 554 int linux_fstatfs( 555 l_uint fd, 556 struct l_statfs_buf *buf 557 ); 558 } 559101 AUE_NULL STD { 560 int linux_ioperm( 561 l_ulong start, 562 l_ulong length, 563 l_int enable 564 ); 565 } 566102 AUE_NULL STD { 567 int linux_socketcall( 568 l_int what, 569 l_ulong args 570 ); 571 } 572103 AUE_NULL STD { 573 int linux_syslog( 574 l_int type, 575 char *buf, 576 l_int len 577 ); 578 } 579104 AUE_SETITIMER STD { 580 int linux_setitimer( 581 l_int which, 582 struct l_itimerval *itv, 583 struct l_itimerval *oitv 584 ); 585 } 586105 AUE_GETITIMER STD { 587 int linux_getitimer( 588 l_int which, 589 struct l_itimerval *itv 590 ); 591 } 592106 AUE_STAT STD { 593 int linux_newstat( 594 char *path, 595 struct l_newstat *buf 596 ); 597 } 598107 AUE_LSTAT STD { 599 int linux_newlstat( 600 char *path, 601 struct l_newstat *buf 602 ); 603 } 604108 AUE_FSTAT STD { 605 int linux_newfstat( 606 l_uint fd, 607 struct l_newstat *buf 608 ); 609 } 610; 109: olduname 611109 AUE_NULL STD { 612 int linux_uname(void); 613 } 614110 AUE_NULL STD { 615 int linux_iopl( 616 l_int level 617 ); 618 } 619111 AUE_NULL STD { 620 int linux_vhangup(void); 621 } 622112 AUE_NULL UNIMPL idle 623113 AUE_NULL STD { 624 int linux_vm86old(void); 625 } 626114 AUE_WAIT4 STD { 627 int linux_wait4( 628 l_pid_t pid, 629 l_int *status, 630 l_int options, 631 void *rusage 632 ); 633 } 634115 AUE_SWAPOFF STD { 635 int linux_swapoff(void); 636 } 637116 AUE_NULL STD { 638 int linux_sysinfo( 639 struct l_sysinfo *info 640 ); 641 } 642117 AUE_NULL STD { 643 int linux_ipc( 644 l_uint what, 645 l_int arg1, 646 l_int arg2, 647 l_uint arg3, 648 l_uintptr_t ptr, 649 l_uint arg5 650 ); 651 } 652118 AUE_FSYNC NOPROTO { 653 int fsync( 654 int fd 655 ); 656 } 657119 AUE_SIGRETURN STD { 658 int linux_sigreturn( 659 struct l_sigframe *sfp 660 ); 661 } 662120 AUE_RFORK STD { 663 int linux_clone( 664 l_ulong flags, 665 l_ulong stack, 666 l_int *parent_tidptr, 667 l_ulong tls, 668 l_int *child_tidptr 669 ); 670 } 671121 AUE_SYSCTL STD { 672 int linux_setdomainname( 673 char *name, 674 int len 675 ); 676 } 677122 AUE_NULL STD { 678 int linux_newuname( 679 struct l_new_utsname *buf 680 ); 681 } 682123 AUE_NULL STD { 683 int linux_modify_ldt( 684 l_int func, 685 void *ptr, 686 l_ulong bytecount 687 ); 688 } 689124 AUE_ADJTIME STD { 690 int linux_adjtimex(void); 691 } 692125 AUE_MPROTECT STD { 693 int linux_mprotect( 694 caddr_t addr, 695 int len, 696 int prot 697 ); 698 } 699126 AUE_SIGPROCMASK STD { 700 int linux_sigprocmask( 701 l_int how, 702 l_osigset_t *mask, 703 l_osigset_t *omask 704 ); 705 } 706127 AUE_NULL UNIMPL create_module 707128 AUE_NULL STD { 708 int linux_init_module(void); 709 } 710129 AUE_NULL STD { 711 int linux_delete_module(void); 712 } 713130 AUE_NULL UNIMPL get_kernel_syms 714131 AUE_QUOTACTL STD { 715 int linux_quotactl(void); 716 } 717132 AUE_GETPGID NOPROTO { 718 int getpgid( 719 int pid 720 ); 721 } 722133 AUE_FCHDIR NOPROTO { 723 int fchdir( 724 int fd 725 ); 726 } 727134 AUE_BDFLUSH STD { 728 int linux_bdflush(void); 729 } 730135 AUE_NULL STD { 731 int linux_sysfs( 732 l_int option, 733 l_ulong arg1, 734 l_ulong arg2 735 ); 736 } 737136 AUE_PERSONALITY STD { 738 int linux_personality( 739 l_uint per 740 ); 741 } 742137 AUE_NULL UNIMPL afs_syscall 743138 AUE_SETFSUID STD { 744 int linux_setfsuid16( 745 l_uid16_t uid 746 ); 747 } 748139 AUE_SETFSGID STD { 749 int linux_setfsgid16( 750 l_gid16_t gid 751 ); 752 } 753140 AUE_LSEEK STD { 754 int linux_llseek( 755 l_int fd, 756 l_ulong ohigh, 757 l_ulong olow, 758 l_loff_t *res, 759 l_uint whence 760 ); 761 } 762141 AUE_GETDIRENTRIES STD { 763 int linux_getdents( 764 l_uint fd, 765 void *dent, 766 l_uint count 767 ); 768 } 769; 142: newselect 770142 AUE_SELECT STD { 771 int linux_select( 772 l_int nfds, 773 l_fd_set *readfds, 774 l_fd_set *writefds, 775 l_fd_set *exceptfds, 776 struct l_timeval *timeout 777 ); 778 } 779143 AUE_FLOCK NOPROTO { 780 int flock( 781 int fd, 782 int how 783 ); 784 } 785144 AUE_MSYNC STD { 786 int linux_msync( 787 l_ulong addr, 788 l_size_t len, 789 l_int fl 790 ); 791 } 792145 AUE_READV NOPROTO { 793 int readv( 794 int fd, 795 struct iovec *iovp, 796 u_int iovcnt 797 ); 798 } 799146 AUE_WRITEV NOPROTO { 800 int writev( 801 int fd, 802 struct iovec *iovp, 803 u_int iovcnt 804 ); 805 } 806147 AUE_GETSID STD { 807 int linux_getsid( 808 l_pid_t pid 809 ); 810 } 811148 AUE_NULL STD { 812 int linux_fdatasync( 813 l_uint fd 814 ); 815 } 816149 AUE_SYSCTL STD { 817 int linux_sysctl( 818 struct l___sysctl_args *args 819 ); 820 } 821150 AUE_MLOCK NOPROTO { 822 int mlock( 823 const void *addr, 824 size_t len 825 ); 826 } 827151 AUE_MUNLOCK NOPROTO { 828 int munlock( 829 const void *addr, 830 size_t len 831 ); 832 } 833152 AUE_MLOCKALL NOPROTO { 834 int mlockall( 835 int how 836 ); 837 } 838153 AUE_MUNLOCKALL NOPROTO { 839 int munlockall(void); 840 } 841154 AUE_SCHED_SETPARAM STD { 842 int linux_sched_setparam( 843 l_pid_t pid, 844 struct sched_param *param 845 ); 846 } 847155 AUE_SCHED_GETPARAM STD { 848 int linux_sched_getparam( 849 l_pid_t pid, 850 struct sched_param *param 851 ); 852 } 853156 AUE_SCHED_SETSCHEDULER STD { 854 int linux_sched_setscheduler( 855 l_pid_t pid, 856 l_int policy, 857 struct sched_param *param 858 ); 859 } 860157 AUE_SCHED_GETSCHEDULER STD { 861 int linux_sched_getscheduler( 862 l_pid_t pid 863 ); 864 } 865158 AUE_NULL NOPROTO { 866 int sched_yield(void); 867 } 868159 AUE_SCHED_GET_PRIORITY_MAX STD { 869 int linux_sched_get_priority_max( 870 l_int policy 871 ); 872 } 873160 AUE_SCHED_GET_PRIORITY_MIN STD { 874 int linux_sched_get_priority_min( 875 l_int policy 876 ); 877 } 878161 AUE_SCHED_RR_GET_INTERVAL STD { 879 int linux_sched_rr_get_interval( 880 l_pid_t pid, 881 struct l_timespec *interval 882 ); 883 } 884162 AUE_NULL STD { 885 int linux_nanosleep( 886 const struct l_timespec *rqtp, 887 struct l_timespec *rmtp 888 ); 889 } 890163 AUE_NULL STD { 891 int linux_mremap( 892 l_ulong addr, 893 l_ulong old_len, 894 l_ulong new_len, 895 l_ulong flags, 896 l_ulong new_addr 897 ); 898 } 899164 AUE_SETRESUID STD { 900 int linux_setresuid16( 901 l_uid16_t ruid, 902 l_uid16_t euid, 903 l_uid16_t suid 904 ); 905 } 906165 AUE_GETRESUID STD { 907 int linux_getresuid16( 908 l_uid16_t *ruid, 909 l_uid16_t *euid, 910 l_uid16_t *suid 911 ); 912 } 913166 AUE_NULL STD { 914 int linux_vm86(void); 915 } 916167 AUE_NULL UNIMPL query_module 917168 AUE_POLL STD { 918 int linux_poll( 919 struct pollfd *fds, 920 unsigned int nfds, 921 long timeout 922 ); 923 } 924169 AUE_NULL UNIMPL nfsservctl 925170 AUE_SETRESGID STD { 926 int linux_setresgid16( 927 l_gid16_t rgid, 928 l_gid16_t egid, 929 l_gid16_t sgid 930 ); 931 } 932171 AUE_GETRESGID STD { 933 int linux_getresgid16( 934 l_gid16_t *rgid, 935 l_gid16_t *egid, 936 l_gid16_t *sgid 937 ); 938 } 939172 AUE_PRCTL STD { 940 int linux_prctl( 941 l_int option, 942 l_uintptr_t arg2, 943 l_uintptr_t arg3, 944 l_uintptr_t arg4, 945 l_uintptr_t arg5 946 ); 947 } 948173 AUE_NULL STD { 949 int linux_rt_sigreturn( 950 struct l_ucontext *ucp 951 ); 952 } 953174 AUE_NULL STD { 954 int linux_rt_sigaction( 955 l_int sig, 956 l_sigaction_t *act, 957 l_sigaction_t *oact, 958 l_size_t sigsetsize 959 ); 960 } 961175 AUE_NULL STD { 962 int linux_rt_sigprocmask( 963 l_int how, 964 l_sigset_t *mask, 965 l_sigset_t *omask, 966 l_size_t sigsetsize 967 ); 968 } 969176 AUE_NULL STD { 970 int linux_rt_sigpending( 971 l_sigset_t *set, 972 l_size_t sigsetsize 973 ); 974 } 975177 AUE_NULL STD { 976 int linux_rt_sigtimedwait( 977 l_sigset_t *mask, 978 l_siginfo_t *ptr, 979 struct l_timespec *timeout, 980 l_size_t sigsetsize 981 ); 982 } 983178 AUE_NULL STD { 984 int linux_rt_sigqueueinfo( 985 l_pid_t pid, 986 l_int sig, 987 l_siginfo_t *info 988 ); 989 } 990179 AUE_NULL STD { 991 int linux_rt_sigsuspend( 992 l_sigset_t *newset, 993 l_size_t sigsetsize 994 ); 995 } 996180 AUE_PREAD STD { 997 int linux_pread( 998 l_uint fd, 999 char *buf, 1000 l_size_t nbyte, 1001 l_loff_t offset 1002 ); 1003 } 1004181 AUE_PWRITE STD { 1005 int linux_pwrite( 1006 l_uint fd, 1007 char *buf, 1008 l_size_t nbyte, 1009 l_loff_t offset 1010 ); 1011 } 1012182 AUE_CHOWN STD { 1013 int linux_chown16( 1014 char *path, 1015 l_uid16_t uid, 1016 l_gid16_t gid 1017 ); 1018 } 1019183 AUE_GETCWD STD { 1020 int linux_getcwd( 1021 char *buf, 1022 l_ulong bufsize 1023 ); 1024 } 1025184 AUE_CAPGET STD { 1026 int linux_capget( 1027 struct l_user_cap_header *hdrp, 1028 struct l_user_cap_data *datap 1029 ); 1030 } 1031185 AUE_CAPSET STD { 1032 int linux_capset( 1033 struct l_user_cap_header *hdrp, 1034 struct l_user_cap_data *datap 1035 ); 1036 } 1037186 AUE_NULL STD { 1038 int linux_sigaltstack( 1039 l_stack_t *uss, 1040 l_stack_t *uoss 1041 ); 1042 } 1043187 AUE_SENDFILE STD { 1044 int linux_sendfile( 1045 l_int out, 1046 l_int in, 1047 l_long *offset, 1048 l_size_t count 1049 ); 1050 } 1051188 AUE_GETPMSG UNIMPL getpmsg 1052189 AUE_PUTPMSG UNIMPL putpmsg 1053190 AUE_VFORK STD { 1054 int linux_vfork(void); 1055 } 1056; 191: ugetrlimit 1057191 AUE_GETRLIMIT STD { 1058 int linux_getrlimit( 1059 l_uint resource, 1060 struct l_rlimit *rlim 1061 ); 1062 } 1063192 AUE_MMAP STD { 1064 int linux_mmap2( 1065 l_ulong addr, 1066 l_ulong len, 1067 l_ulong prot, 1068 l_ulong flags, 1069 l_ulong fd, 1070 l_ulong pgoff 1071 ); 1072 } 1073193 AUE_TRUNCATE STD { 1074 int linux_truncate64( 1075 char *path, 1076 l_loff_t length 1077 ); 1078 } 1079194 AUE_FTRUNCATE STD { 1080 int linux_ftruncate64( 1081 l_uint fd, 1082 l_loff_t length 1083 ); 1084 } 1085195 AUE_STAT STD { 1086 int linux_stat64( 1087 const char *filename, 1088 struct l_stat64 *statbuf 1089 ); 1090 } 1091196 AUE_LSTAT STD { 1092 int linux_lstat64( 1093 const char *filename, 1094 struct l_stat64 *statbuf 1095 ); 1096 } 1097197 AUE_FSTAT STD { 1098 int linux_fstat64( 1099 l_int fd, 1100 struct l_stat64 *statbuf 1101 ); 1102 } 1103198 AUE_LCHOWN STD { 1104 int linux_lchown( 1105 char *path, 1106 l_uid_t uid, 1107 l_gid_t gid 1108 ); 1109 } 1110199 AUE_GETUID STD { 1111 int linux_getuid(void); 1112 } 1113200 AUE_GETGID STD { 1114 int linux_getgid(void); 1115 } 1116201 AUE_GETEUID NOPROTO { 1117 int geteuid(void); 1118 } 1119202 AUE_GETEGID NOPROTO { 1120 int getegid(void); 1121 } 1122203 AUE_SETREUID NOPROTO { 1123 int setreuid( 1124 uid_t ruid, 1125 uid_t euid 1126 ); 1127 } 1128204 AUE_SETREGID NOPROTO { 1129 int setregid( 1130 gid_t rgid, 1131 gid_t egid 1132 ); 1133 } 1134205 AUE_GETGROUPS STD { 1135 int linux_getgroups( 1136 l_int gidsetsize, 1137 l_gid_t *grouplist 1138 ); 1139 } 1140206 AUE_SETGROUPS STD { 1141 int linux_setgroups( 1142 l_int gidsetsize, 1143 l_gid_t *grouplist 1144 ); 1145 } 1146207 AUE_FCHOWN NODEF fchown fchown fchown_args int 1147208 AUE_SETRESUID NOPROTO { 1148 int setresuid( 1149 uid_t ruid, 1150 uid_t euid, 1151 uid_t suid 1152 ); 1153 } 1154209 AUE_GETRESUID NOPROTO { 1155 int getresuid( 1156 uid_t *ruid, 1157 uid_t *euid, 1158 uid_t *suid 1159 ); 1160 } 1161210 AUE_SETRESGID NOPROTO { 1162 int setresgid( 1163 gid_t rgid, 1164 gid_t egid, 1165 gid_t sgid 1166 ); 1167 } 1168211 AUE_GETRESGID NOPROTO { 1169 int getresgid( 1170 gid_t *rgid, 1171 gid_t *egid, 1172 gid_t *sgid 1173 ); 1174 } 1175212 AUE_CHOWN STD { 1176 int linux_chown( 1177 char *path, 1178 l_uid_t uid, 1179 l_gid_t gid 1180 ); 1181 } 1182213 AUE_SETUID NOPROTO { 1183 int setuid( 1184 uid_t uid 1185 ); 1186 } 1187214 AUE_SETGID NOPROTO { 1188 int setgid( 1189 gid_t gid 1190 ); 1191 } 1192215 AUE_SETFSUID STD { 1193 int linux_setfsuid( 1194 l_uid_t uid 1195 ); 1196 } 1197216 AUE_SETFSGID STD { 1198 int linux_setfsgid( 1199 l_gid_t gid 1200 ); 1201 } 1202217 AUE_PIVOT_ROOT STD { 1203 int linux_pivot_root( 1204 char *new_root, 1205 char *put_old 1206 ); 1207 } 1208218 AUE_MINCORE STD { 1209 int linux_mincore( 1210 l_ulong start, 1211 l_size_t len, 1212 u_char *vec 1213 ); 1214 } 1215219 AUE_MADVISE STD { 1216 int linux_madvise( 1217 void *addr, 1218 size_t len, 1219 int behav 1220 ); 1221 } 1222220 AUE_GETDIRENTRIES STD { 1223 int linux_getdents64( 1224 l_uint fd, 1225 void *dirent, 1226 l_uint count 1227 ); 1228 } 1229221 AUE_FCNTL STD { 1230 int linux_fcntl64( 1231 l_uint fd, 1232 l_uint cmd, 1233 l_ulong arg 1234 ); 1235 } 1236222 AUE_NULL UNIMPL 1237223 AUE_NULL UNIMPL 1238224 AUE_NULL STD { 1239 long linux_gettid(void); 1240 } 1241225 AUE_NULL UNIMPL linux_readahead 1242226 AUE_NULL STD { 1243 int linux_setxattr( 1244 const char *path, 1245 const char *name, 1246 const char *value, 1247 l_size_t size, 1248 l_int flags 1249 ); 1250 } 1251227 AUE_NULL STD { 1252 int linux_lsetxattr( 1253 const char *path, 1254 const char *name, 1255 const char *value, 1256 l_size_t size, 1257 l_int flags 1258 ); 1259 } 1260228 AUE_NULL STD { 1261 int linux_fsetxattr( 1262 l_int fd, 1263 const char *name, 1264 const char *value, 1265 l_size_t size, 1266 l_int flags 1267 ); 1268 } 1269229 AUE_NULL STD { 1270 int linux_getxattr( 1271 const char *path, 1272 const char *name, 1273 char *value, 1274 l_size_t size 1275 ); 1276 } 1277230 AUE_NULL STD { 1278 int linux_lgetxattr( 1279 const char *path, 1280 const char *name, 1281 char *value, 1282 l_size_t size 1283 ); 1284 } 1285231 AUE_NULL STD { 1286 int linux_fgetxattr( 1287 l_int fd, 1288 const char *name, 1289 char *value, 1290 l_size_t size 1291 ); 1292 } 1293232 AUE_NULL STD { 1294 int linux_listxattr( 1295 const char *path, 1296 const char *list, 1297 l_size_t size 1298 ); 1299 } 1300233 AUE_NULL STD { 1301 int linux_llistxattr( 1302 const char *path, 1303 const char *list, 1304 l_size_t size 1305 ); 1306 } 1307234 AUE_NULL STD { 1308 int linux_flistxattr( 1309 l_int fd, 1310 const char *list, 1311 l_size_t size 1312 ); 1313 } 1314235 AUE_NULL STD { 1315 int linux_removexattr( 1316 const char *path, 1317 const char *name 1318 ); 1319 } 1320236 AUE_NULL STD { 1321 int linux_lremovexattr( 1322 const char *path, 1323 const char *name 1324 ); 1325 } 1326237 AUE_NULL STD { 1327 int linux_fremovexattr( 1328 l_int fd, 1329 const char *name 1330 ); 1331 } 1332238 AUE_NULL STD { 1333 int linux_tkill( 1334 int tid, 1335 int sig 1336 ); 1337 } 1338239 AUE_SENDFILE STD { 1339 int linux_sendfile64( 1340 l_int out, 1341 l_int in, 1342 l_loff_t *offset, 1343 l_size_t count 1344 ); 1345 } 1346240 AUE_NULL STD { 1347 int linux_sys_futex( 1348 uint32_t *uaddr, 1349 l_int op, 1350 uint32_t val, 1351 struct l_timespec *timeout, 1352 uint32_t *uaddr2, 1353 uint32_t val3 1354 ); 1355 } 1356241 AUE_NULL STD { 1357 int linux_sched_setaffinity( 1358 l_pid_t pid, 1359 l_uint len, 1360 l_ulong *user_mask_ptr 1361 ); 1362 } 1363242 AUE_NULL STD { 1364 int linux_sched_getaffinity( 1365 l_pid_t pid, 1366 l_uint len, 1367 l_ulong *user_mask_ptr 1368 ); 1369 } 1370243 AUE_NULL STD { 1371 int linux_set_thread_area( 1372 struct l_user_desc *desc 1373 ); 1374 } 1375244 AUE_NULL STD { 1376 int linux_get_thread_area( 1377 struct l_user_desc *desc 1378 ); 1379 } 1380245 AUE_NULL UNIMPL linux_io_setup 1381246 AUE_NULL UNIMPL linux_io_destroy 1382247 AUE_NULL UNIMPL linux_io_getevents 1383248 AUE_NULL UNIMPL linux_io_submit 1384249 AUE_NULL UNIMPL linux_io_cancel 1385250 AUE_NULL STD { 1386 int linux_fadvise64( 1387 int fd, 1388 l_loff_t offset, 1389 l_size_t len, 1390 int advice 1391 ); 1392 } 1393251 AUE_NULL UNIMPL 1394252 AUE_EXIT STD { 1395 int linux_exit_group( 1396 int error_code 1397 ); 1398 } 1399253 AUE_NULL STD { 1400 int linux_lookup_dcookie(void); 1401 } 1402254 AUE_NULL STD { 1403 int linux_epoll_create( 1404 l_int size 1405 ); 1406 } 1407255 AUE_NULL STD { 1408 int linux_epoll_ctl( 1409 l_int epfd, 1410 l_int op, 1411 l_int fd, 1412 struct epoll_event *event 1413 ); 1414 } 1415256 AUE_NULL STD { 1416 int linux_epoll_wait( 1417 l_int epfd, 1418 struct epoll_event *events, 1419 l_int maxevents, 1420 l_int timeout 1421 ); 1422 } 1423257 AUE_NULL STD { 1424 int linux_remap_file_pages(void); 1425 } 1426258 AUE_NULL STD { 1427 int linux_set_tid_address( 1428 int *tidptr 1429 ); 1430 } 1431259 AUE_NULL STD { 1432 int linux_timer_create( 1433 clockid_t clock_id, 1434 struct sigevent *evp, 1435 l_timer_t *timerid 1436 ); 1437 } 1438260 AUE_NULL STD { 1439 int linux_timer_settime( 1440 l_timer_t timerid, 1441 l_int flags, 1442 const struct itimerspec *new, 1443 struct itimerspec *old 1444 ); 1445 } 1446261 AUE_NULL STD { 1447 int linux_timer_gettime( 1448 l_timer_t timerid, 1449 struct itimerspec *setting 1450 ); 1451 } 1452262 AUE_NULL STD { 1453 int linux_timer_getoverrun( 1454 l_timer_t timerid 1455 ); 1456 } 1457263 AUE_NULL STD { 1458 int linux_timer_delete( 1459 l_timer_t timerid 1460 ); 1461 } 1462264 AUE_CLOCK_SETTIME STD { 1463 int linux_clock_settime( 1464 clockid_t which, 1465 struct l_timespec *tp 1466 ); 1467 } 1468265 AUE_NULL STD { 1469 int linux_clock_gettime( 1470 clockid_t which, 1471 struct l_timespec *tp 1472 ); 1473 } 1474266 AUE_NULL STD { 1475 int linux_clock_getres( 1476 clockid_t which, 1477 struct l_timespec *tp 1478 ); 1479 } 1480267 AUE_NULL STD { 1481 int linux_clock_nanosleep( 1482 clockid_t which, 1483 int flags, 1484 struct l_timespec *rqtp, 1485 struct l_timespec *rmtp 1486 ); 1487 } 1488268 AUE_STATFS STD { 1489 int linux_statfs64( 1490 char *path, 1491 size_t bufsize, 1492 struct l_statfs64_buf *buf 1493 ); 1494 } 1495269 AUE_FSTATFS STD { 1496 int linux_fstatfs64( 1497 l_uint fd, 1498 size_t bufsize, 1499 struct l_statfs64_buf *buf 1500 ); 1501 } 1502270 AUE_NULL STD { 1503 int linux_tgkill( 1504 int tgid, 1505 int pid, 1506 int sig 1507 ); 1508 } 1509271 AUE_UTIMES STD { 1510 int linux_utimes( 1511 char *fname, 1512 struct l_timeval *tptr 1513 ); 1514 } 1515272 AUE_NULL STD { 1516 int linux_fadvise64_64( 1517 int fd, 1518 l_loff_t offset, 1519 l_loff_t len, 1520 int advice 1521 ); 1522 } 1523273 AUE_NULL UNIMPL vserver 1524274 AUE_NULL STD { 1525 int linux_mbind(void); 1526 } 1527275 AUE_NULL STD { 1528 int linux_get_mempolicy(void); 1529 } 1530276 AUE_NULL STD { 1531 int linux_set_mempolicy(void); 1532 } 1533; Linux 2.6.6: 1534277 AUE_NULL STD { 1535 int linux_mq_open( 1536 const char *name, 1537 l_int oflag, 1538 l_mode_t mode, 1539 struct mq_attr *attr 1540 ); 1541 } 1542278 AUE_NULL STD { 1543 int linux_mq_unlink( 1544 const char *name 1545 ); 1546 } 1547279 AUE_NULL STD { 1548 int linux_mq_timedsend( 1549 l_mqd_t mqd, 1550 const char *msg_ptr, 1551 l_size_t msg_len, 1552 l_uint msg_prio, 1553 const struct l_timespec *abs_timeout 1554 ); 1555 } 1556280 AUE_NULL STD { 1557 int linux_mq_timedreceive( 1558 l_mqd_t mqd, 1559 char *msg_ptr, 1560 l_size_t msg_len, 1561 l_uint *msg_prio, 1562 const struct l_timespec *abs_timeout 1563 ); 1564 } 1565281 AUE_NULL STD { 1566 int linux_mq_notify( 1567 l_mqd_t mqd, 1568 const struct l_timespec *abs_timeout 1569 ); 1570 } 1571282 AUE_NULL STD { 1572 int linux_mq_getsetattr( 1573 l_mqd_t mqd, 1574 const struct mq_attr *attr, 1575 struct mq_attr *oattr 1576 ); 1577 } 1578283 AUE_NULL STD { 1579 int linux_kexec_load(void); 1580 } 1581284 AUE_WAIT6 STD { 1582 int linux_waitid( 1583 int idtype, 1584 l_pid_t id, 1585 l_siginfo_t *info, 1586 int options, 1587 void *rusage 1588 ); 1589 } 1590285 AUE_NULL UNIMPL 1591; Linux 2.6.11: 1592286 AUE_NULL STD { 1593 int linux_add_key(void); 1594 } 1595287 AUE_NULL STD { 1596 int linux_request_key(void); 1597 } 1598288 AUE_NULL STD { 1599 int linux_keyctl(void); 1600 } 1601; Linux 2.6.13: 1602289 AUE_NULL STD { 1603 int linux_ioprio_set(void); 1604 } 1605290 AUE_NULL STD { 1606 int linux_ioprio_get(void); 1607 } 1608291 AUE_NULL STD { 1609 int linux_inotify_init(void); 1610 } 1611292 AUE_NULL STD { 1612 int linux_inotify_add_watch(void); 1613 } 1614293 AUE_NULL STD { 1615 int linux_inotify_rm_watch(void); 1616 } 1617; Linux 2.6.16: 1618294 AUE_NULL STD { 1619 int linux_migrate_pages(void); 1620 } 1621295 AUE_OPEN_RWTC STD { 1622 int linux_openat( 1623 l_int dfd, 1624 const char *filename, 1625 l_int flags, 1626 l_int mode 1627 ); 1628 } 1629296 AUE_MKDIRAT STD { 1630 int linux_mkdirat( 1631 l_int dfd, 1632 const char *pathname, 1633 l_int mode 1634 ); 1635 } 1636297 AUE_MKNODAT STD { 1637 int linux_mknodat( 1638 l_int dfd, 1639 const char *filename, 1640 l_int mode, 1641 l_uint dev 1642 ); 1643 } 1644298 AUE_FCHOWNAT STD { 1645 int linux_fchownat( 1646 l_int dfd, 1647 const char *filename, 1648 l_uid16_t uid, 1649 l_gid16_t gid, 1650 l_int flag 1651 ); 1652 } 1653299 AUE_FUTIMESAT STD { 1654 int linux_futimesat( 1655 l_int dfd, 1656 char *filename, 1657 struct l_timeval *utimes 1658 ); 1659 } 1660300 AUE_FSTATAT STD { 1661 int linux_fstatat64( 1662 l_int dfd, 1663 char *pathname, 1664 struct l_stat64 *statbuf, 1665 l_int flag 1666 ); 1667 } 1668301 AUE_UNLINKAT STD { 1669 int linux_unlinkat( 1670 l_int dfd, 1671 const char *pathname, 1672 l_int flag 1673 ); 1674 } 1675302 AUE_RENAMEAT STD { 1676 int linux_renameat( 1677 l_int olddfd, 1678 const char *oldname, 1679 l_int newdfd, 1680 const char *newname 1681 ); 1682 } 1683303 AUE_LINKAT STD { 1684 int linux_linkat( 1685 l_int olddfd, 1686 const char *oldname, 1687 l_int newdfd, 1688 const char *newname, 1689 l_int flag 1690 ); 1691 } 1692304 AUE_SYMLINKAT STD { 1693 int linux_symlinkat( 1694 const char *oldname, 1695 l_int newdfd, 1696 const char *newname 1697 ); 1698 } 1699305 AUE_READLINKAT STD { 1700 int linux_readlinkat( 1701 l_int dfd, 1702 const char *path, 1703 char *buf, 1704 l_int bufsiz 1705 ); 1706 } 1707306 AUE_FCHMODAT STD { 1708 int linux_fchmodat( 1709 l_int dfd, 1710 const char *filename, 1711 l_mode_t mode 1712 ); 1713 } 1714307 AUE_FACCESSAT STD { 1715 int linux_faccessat( 1716 l_int dfd, 1717 const char *filename, 1718 l_int amode 1719 ); 1720 } 1721308 AUE_SELECT STD { 1722 int linux_pselect6( 1723 l_int nfds, 1724 l_fd_set *readfds, 1725 l_fd_set *writefds, 1726 l_fd_set *exceptfds, 1727 struct l_timespec *tsp, 1728 l_uintptr_t *sig 1729 ); 1730 } 1731309 AUE_POLL STD { 1732 int linux_ppoll( 1733 struct pollfd *fds, 1734 uint32_t nfds, 1735 struct l_timespec *tsp, 1736 l_sigset_t *sset, 1737 l_size_t ssize 1738 ); 1739 } 1740310 AUE_NULL STD { 1741 int linux_unshare(void); 1742 } 1743; Linux 2.6.17: 1744311 AUE_NULL STD { 1745 int linux_set_robust_list( 1746 struct linux_robust_list_head *head, 1747 l_size_t len 1748 ); 1749 } 1750312 AUE_NULL STD { 1751 int linux_get_robust_list( 1752 l_int pid, 1753 struct linux_robust_list_head **head, 1754 l_size_t *len 1755 ); 1756 } 1757313 AUE_NULL STD { 1758 int linux_splice( 1759 int fd_in, 1760 l_loff_t *off_in, 1761 int fd_out, 1762 l_loff_t *off_out, 1763 l_size_t len, 1764 l_uint flags 1765 ); 1766 } 1767314 AUE_NULL STD { 1768 int linux_sync_file_range( 1769 l_int fd, 1770 l_loff_t offset, 1771 l_loff_t nbytes, 1772 unsigned int flags 1773 ); 1774 } 1775315 AUE_NULL STD { 1776 int linux_tee(void); 1777 } 1778316 AUE_NULL STD { 1779 int linux_vmsplice(void); 1780 } 1781; Linux 2.6.18: 1782317 AUE_NULL STD { 1783 int linux_move_pages(void); 1784 } 1785; Linux 2.6.19: 1786318 AUE_NULL STD { 1787 int linux_getcpu( 1788 l_uint *cpu, 1789 l_uint *node, 1790 void *cache 1791 ); 1792 } 1793319 AUE_NULL STD { 1794 int linux_epoll_pwait( 1795 l_int epfd, 1796 struct epoll_event *events, 1797 l_int maxevents, 1798 l_int timeout, 1799 l_sigset_t *mask, 1800 l_size_t sigsetsize 1801 ); 1802 } 1803; Linux 2.6.22: 1804320 AUE_FUTIMESAT STD { 1805 int linux_utimensat( 1806 l_int dfd, 1807 const char *pathname, 1808 const struct l_timespec *times, 1809 l_int flags 1810 ); 1811 } 1812321 AUE_NULL STD { 1813 int linux_signalfd(void); 1814 } 1815322 AUE_NULL STD { 1816 int linux_timerfd_create( 1817 l_int clockid, 1818 l_int flags 1819 ); 1820 } 1821323 AUE_NULL STD { 1822 int linux_eventfd( 1823 l_uint initval 1824 ); 1825 } 1826; Linux 2.6.23: 1827324 AUE_NULL STD { 1828 int linux_fallocate( 1829 l_int fd, 1830 l_int mode, 1831 l_loff_t offset, 1832 l_loff_t len 1833 ); 1834 } 1835; Linux 2.6.25: 1836325 AUE_NULL STD { 1837 int linux_timerfd_settime( 1838 l_int fd, 1839 l_int flags, 1840 const struct l_itimerspec *new_value, 1841 struct l_itimerspec *old_value 1842 ); 1843 } 1844326 AUE_NULL STD { 1845 int linux_timerfd_gettime( 1846 l_int fd, 1847 struct l_itimerspec *old_value 1848 ); 1849 } 1850; Linux 2.6.27: 1851327 AUE_NULL STD { 1852 int linux_signalfd4(void); 1853 } 1854328 AUE_NULL STD { 1855 int linux_eventfd2( 1856 l_uint initval, 1857 l_int flags 1858 ); 1859 } 1860329 AUE_NULL STD { 1861 int linux_epoll_create1( 1862 l_int flags 1863 ); 1864 } 1865330 AUE_NULL STD { 1866 int linux_dup3( 1867 l_int oldfd, 1868 l_int newfd, 1869 l_int flags 1870 ); 1871 } 1872331 AUE_NULL STD { 1873 int linux_pipe2( 1874 l_int *pipefds, 1875 l_int flags 1876 ); 1877 } 1878332 AUE_NULL STD { 1879 int linux_inotify_init1(void); 1880 } 1881; Linux 2.6.30: 1882333 AUE_NULL STD { 1883 int linux_preadv( 1884 l_ulong fd, 1885 struct iovec *vec, 1886 l_ulong vlen, 1887 l_ulong pos_l, 1888 l_ulong pos_h 1889 ); 1890 } 1891334 AUE_NULL STD { 1892 int linux_pwritev( 1893 l_ulong fd, 1894 struct iovec *vec, 1895 l_ulong vlen, 1896 l_ulong pos_l, 1897 l_ulong pos_h 1898 ); 1899 } 1900; Linux 2.6.31: 1901335 AUE_NULL STD { 1902 int linux_rt_tgsigqueueinfo( 1903 l_pid_t tgid, 1904 l_pid_t tid, 1905 l_int sig, 1906 l_siginfo_t *uinfo 1907 ); 1908 } 1909336 AUE_NULL STD { 1910 int linux_perf_event_open(void); 1911 } 1912; Linux 2.6.33: 1913337 AUE_NULL STD { 1914 int linux_recvmmsg( 1915 l_int s, 1916 struct l_mmsghdr *msg, 1917 l_uint vlen, 1918 l_uint flags, 1919 struct l_timespec *timeout 1920 ); 1921 } 1922338 AUE_NULL STD { 1923 int linux_fanotify_init(void); 1924 } 1925339 AUE_NULL STD { 1926 int linux_fanotify_mark(void); 1927 } 1928; Linux 2.6.36: 1929340 AUE_NULL STD { 1930 int linux_prlimit64( 1931 l_pid_t pid, 1932 l_uint resource, 1933 struct rlimit *new, 1934 struct rlimit *old 1935 ); 1936 } 1937; Linux 2.6.39: 1938341 AUE_NULL STD { 1939 int linux_name_to_handle_at( 1940 l_int dirfd, 1941 const char *name, 1942 struct l_file_handle *handle, 1943 l_int *mnt_id, 1944 l_int flags 1945 ); 1946 } 1947342 AUE_NULL STD { 1948 int linux_open_by_handle_at( 1949 l_int mountdirfd, 1950 struct l_file_handle *handle, 1951 l_int flags 1952 ); 1953 } 1954343 AUE_NULL STD { 1955 int linux_clock_adjtime(void); 1956 } 1957344 AUE_SYNC STD { 1958 int linux_syncfs( 1959 l_int fd 1960 ); 1961 } 1962; Linux 3.0: 1963345 AUE_NULL STD { 1964 int linux_sendmmsg( 1965 l_int s, 1966 struct l_mmsghdr *msg, 1967 l_uint vlen, 1968 l_uint flags 1969 ); 1970 } 1971346 AUE_NULL STD { 1972 int linux_setns(void); 1973 } 1974; Linux 3.2 (glibc 2.15): 1975347 AUE_NULL STD { 1976 int linux_process_vm_readv( 1977 l_pid_t pid, 1978 const struct iovec *lvec, 1979 l_ulong liovcnt, 1980 const struct iovec *rvec, 1981 l_ulong riovcnt, 1982 l_ulong flags 1983 ); 1984 } 1985348 AUE_NULL STD { 1986 int linux_process_vm_writev( 1987 l_pid_t pid, 1988 const struct iovec *lvec, 1989 l_ulong liovcnt, 1990 const struct iovec *rvec, 1991 l_ulong riovcnt, 1992 l_ulong flags 1993 ); 1994 } 1995; Linux 3.5 (no glibc wrapper): 1996349 AUE_NULL STD { 1997 int linux_kcmp( 1998 l_pid_t pid1, 1999 l_pid_t pid2, 2000 l_int type, 2001 l_ulong idx1, 2002 l_ulong idx 2003 ); 2004 } 2005; Linux 3.8 (no glibc wrapper): 2006350 AUE_NULL STD { 2007 int linux_finit_module( 2008 l_int fd, 2009 const char *uargs, 2010 l_int flags 2011 ); 2012 } 2013; Linux 3.14: 2014351 AUE_NULL STD { 2015 int linux_sched_setattr( 2016 l_pid_t pid, 2017 void *attr, 2018 l_uint flags 2019 ); 2020 } 2021352 AUE_NULL STD { 2022 int linux_sched_getattr( 2023 l_pid_t pid, 2024 void *attr, 2025 l_uint size, 2026 l_uint flags 2027 ); 2028 } 2029; Linux 3.15: 2030353 AUE_NULL STD { 2031 int linux_renameat2( 2032 l_int olddfd, 2033 const char *oldname, 2034 l_int newdfd, 2035 const char *newname, 2036 unsigned int flags 2037 ); 2038 } 2039; Linux 3.17: 2040354 AUE_NULL STD { 2041 int linux_seccomp( 2042 l_uint op, 2043 l_uint flags, 2044 const char *uargs 2045 ); 2046 } 2047355 AUE_NULL STD { 2048 int linux_getrandom( 2049 char *buf, 2050 l_size_t count, 2051 l_uint flags 2052 ); 2053 } 2054356 AUE_NULL STD { 2055 int linux_memfd_create( 2056 const char *uname_ptr, 2057 l_uint flags 2058 ); 2059 } 2060; Linux 3.18: 2061357 AUE_NULL STD { 2062 int linux_bpf( 2063 l_int cmd, 2064 void *attr, 2065 l_uint size 2066 ); 2067 } 2068; Linux 3.19: 2069358 AUE_NULL STD { 2070 int linux_execveat( 2071 l_int dfd, 2072 const char *filename, 2073 const char **argv, 2074 const char **envp, 2075 l_int flags 2076 ); 2077 } 2078; Linux 4.3: sockets now direct system calls: 2079359 AUE_SOCKET STD { 2080 int linux_socket( 2081 l_int domain, 2082 l_int type, 2083 l_int protocol 2084 ); 2085 } 2086360 AUE_SOCKETPAIR STD { 2087 int linux_socketpair( 2088 l_int domain, 2089 l_int type, 2090 l_int protocol, 2091 l_uintptr_t rsv 2092 ); 2093 } 2094361 AUE_BIND STD { 2095 int linux_bind( 2096 l_int s, 2097 l_uintptr_t name, 2098 l_int namelen 2099 ); 2100 } 2101362 AUE_CONNECT STD { 2102 int linux_connect( 2103 l_int s, 2104 l_uintptr_t name, 2105 l_int namelen 2106 ); 2107 } 2108363 AUE_LISTEN STD { 2109 int linux_listen( 2110 l_int s, 2111 l_int backlog 2112 ); 2113 } 2114364 AUE_ACCEPT STD { 2115 int linux_accept4( 2116 l_int s, 2117 l_uintptr_t addr, 2118 l_uintptr_t namelen, 2119 l_int flags 2120 ); 2121 } 2122365 AUE_GETSOCKOPT STD { 2123 int linux_getsockopt( 2124 l_int s, 2125 l_int level, 2126 l_int optname, 2127 l_uintptr_t optval, 2128 l_uintptr_t optlen 2129 ); 2130 } 2131366 AUE_SETSOCKOPT STD { 2132 int linux_setsockopt( 2133 l_int s, 2134 l_int level, 2135 l_int optname, 2136 l_uintptr_t optval, 2137 l_int optlen 2138 ); 2139 } 2140367 AUE_GETSOCKNAME STD { 2141 int linux_getsockname( 2142 l_int s, 2143 l_uintptr_t addr, 2144 l_uintptr_t namelen 2145 ); 2146 } 2147368 AUE_GETPEERNAME STD { 2148 int linux_getpeername( 2149 l_int s, 2150 l_uintptr_t addr, 2151 l_uintptr_t namelen 2152 ); 2153 } 2154369 AUE_SENDTO STD { 2155 int linux_sendto( 2156 l_int s, 2157 l_uintptr_t msg, 2158 l_int len, 2159 l_int flags, 2160 l_uintptr_t to, 2161 l_int tolen 2162 ); 2163 } 2164370 AUE_SENDMSG STD { 2165 int linux_sendmsg( 2166 l_int s, 2167 l_uintptr_t msg, 2168 l_int flags 2169 ); 2170 } 2171371 AUE_RECVFROM STD { 2172 int linux_recvfrom( 2173 l_int s, 2174 l_uintptr_t buf, 2175 l_size_t len, 2176 l_int flags, 2177 l_uintptr_t from, 2178 l_uintptr_t fromlen 2179 ); 2180 } 2181372 AUE_RECVMSG STD { 2182 int linux_recvmsg( 2183 l_int s, 2184 l_uintptr_t msg, 2185 l_int flags 2186 ); 2187 } 2188373 AUE_NULL STD { 2189 int linux_shutdown( 2190 l_int s, 2191 l_int how 2192 ); 2193 } 2194; Linux 4.2: 2195374 AUE_NULL STD { 2196 int linux_userfaultfd( 2197 l_int flags 2198 ); 2199 } 2200; Linux 4.3: 2201375 AUE_NULL STD { 2202 int linux_membarrier( 2203 l_int cmd, 2204 l_int flags 2205 ); 2206 } 2207; Linux 4.4: 2208376 AUE_NULL STD { 2209 int linux_mlock2( 2210 l_ulong start, 2211 l_size_t len, 2212 l_int flags 2213 ); 2214 } 2215; Linux 4.5: 2216377 AUE_NULL STD { 2217 int linux_copy_file_range( 2218 l_int fd_in, 2219 l_loff_t *off_in, 2220 l_int fd_out, 2221 l_loff_t *off_out, 2222 l_size_t len, 2223 l_uint flags 2224 ); 2225 } 2226; Linux 4.6: 2227378 AUE_NULL STD { 2228 int linux_preadv2( 2229 l_ulong fd, 2230 const struct iovec *vec, 2231 l_ulong vlen, 2232 l_ulong pos_l, 2233 l_ulong pos_h, 2234 l_int flags 2235 ); 2236 } 2237379 AUE_NULL STD { 2238 int linux_pwritev2( 2239 l_ulong fd, 2240 const struct iovec *vec, 2241 l_ulong vlen, 2242 l_ulong pos_l, 2243 l_ulong pos_h, 2244 l_int flags 2245 ); 2246 } 2247; Linux 4.8: 2248380 AUE_NULL STD { 2249 int linux_pkey_mprotect( 2250 l_ulong start, 2251 l_size_t len, 2252 l_ulong prot, 2253 l_int pkey 2254 ); 2255 } 2256381 AUE_NULL STD { 2257 int linux_pkey_alloc( 2258 l_ulong flags, 2259 l_ulong init_val 2260 ); 2261 } 2262382 AUE_NULL STD { 2263 int linux_pkey_free( 2264 l_int pkey 2265 ); 2266 } 2267; Linux 4.11: 2268383 AUE_NULL STD { 2269 int linux_statx( 2270 l_int dirfd, 2271 const char *pathname, 2272 l_uint flags, 2273 l_uint mask, 2274 void *statxbuf 2275 ); 2276 } 2277384 AUE_PRCTL STD { 2278 int linux_arch_prctl( 2279 l_int option, 2280 l_ulong arg2 2281 ); 2282 } 2283; Linux 4.18: 2284385 AUE_NULL STD { 2285 int linux_io_pgetevents(void); 2286 } 2287386 AUE_NULL STD { 2288 int linux_rseq( 2289 struct linux_rseq *rseq, 2290 uint32_t rseq_len, 2291 l_int flags, 2292 uint32_t sig 2293 ); 2294 } 2295387-392 AUE_NULL UNIMPL nosys 2296393 AUE_NULL STD { 2297 int linux_semget( 2298 l_key_t key, 2299 l_int nsems, 2300 l_int semflg 2301 ); 2302 } 2303394 AUE_NULL STD { 2304 int linux_semctl( 2305 l_int semid, 2306 l_int semnum, 2307 l_int cmd, 2308 union l_semun arg 2309 ); 2310 } 2311395 AUE_NULL STD { 2312 int linux_shmget( 2313 l_key_t key, 2314 l_size_t size, 2315 l_int shmflg 2316 ); 2317 } 2318396 AUE_NULL STD { 2319 int linux_shmctl( 2320 l_int shmid, 2321 l_int cmd, 2322 struct l_shmid_ds *buf 2323 ); 2324 } 2325397 AUE_NULL STD { 2326 int linux_shmat( 2327 l_int shmid, 2328 char *shmaddr, 2329 l_int shmflg 2330 ); 2331 } 2332398 AUE_NULL STD { 2333 int linux_shmdt( 2334 char *shmaddr 2335 ); 2336 } 2337399 AUE_NULL STD { 2338 int linux_msgget( 2339 l_key_t key, 2340 l_int msgflg 2341 ); 2342 } 2343400 AUE_NULL STD { 2344 int linux_msgsnd( 2345 l_int msqid, 2346 struct l_msgbuf *msgp, 2347 l_size_t msgsz, 2348 l_int msgflg 2349 ); 2350 } 2351401 AUE_NULL STD { 2352 int linux_msgrcv( 2353 l_int msqid, 2354 struct l_msgbuf *msgp, 2355 l_size_t msgsz, 2356 l_long msgtyp, 2357 l_int msgflg 2358 ); 2359 } 2360402 AUE_NULL STD { 2361 int linux_msgctl( 2362 l_int msqid, 2363 l_int cmd, 2364 struct l_msqid_ds *buf 2365 ); 2366 } 2367; Linux 5.0: 2368403 AUE_NULL STD { 2369 int linux_clock_gettime64( 2370 clockid_t which, 2371 struct l_timespec64 *tp 2372 ); 2373 } 2374404 AUE_NULL STD { 2375 int linux_clock_settime64( 2376 clockid_t which, 2377 struct l_timespec64 *tp 2378 ); 2379 } 2380405 AUE_NULL STD { 2381 int linux_clock_adjtime64(void); 2382 } 2383406 AUE_NULL STD { 2384 int linux_clock_getres_time64( 2385 clockid_t which, 2386 struct l_timespec64 *tp 2387 ); 2388 } 2389407 AUE_NULL STD { 2390 int linux_clock_nanosleep_time64( 2391 clockid_t which, 2392 l_int flags, 2393 struct l_timespec64 *rqtp, 2394 struct l_timespec64 *rmtp 2395 ); 2396 } 2397408 AUE_NULL STD { 2398 int linux_timer_gettime64( 2399 l_timer_t timerid, 2400 struct l_itimerspec64 *setting 2401 ); 2402 } 2403409 AUE_NULL STD { 2404 int linux_timer_settime64( 2405 l_timer_t timerid, 2406 l_int flags, 2407 const struct l_itimerspec64 *new, 2408 struct l_itimerspec64 *old 2409 ); 2410 } 2411410 AUE_NULL STD { 2412 int linux_timerfd_gettime64( 2413 l_int fd, 2414 struct l_itimerspec64 *old_value 2415 ); 2416 } 2417411 AUE_NULL STD { 2418 int linux_timerfd_settime64( 2419 l_int fd, 2420 l_int flags, 2421 const struct l_itimerspec64 *new_value, 2422 struct l_itimerspec64 *old_value 2423 ); 2424 } 2425412 AUE_NULL STD { 2426 int linux_utimensat_time64( 2427 l_int dfd, 2428 const char *pathname, 2429 const struct l_timespec64 *times64, 2430 l_int flags 2431 ); 2432 } 2433413 AUE_NULL STD { 2434 int linux_pselect6_time64( 2435 l_int nfds, 2436 l_fd_set *readfds, 2437 l_fd_set *writefds, 2438 l_fd_set *exceptfds, 2439 struct l_timespec64 *tsp, 2440 l_uintptr_t *sig 2441 ); 2442 } 2443414 AUE_NULL STD { 2444 int linux_ppoll_time64( 2445 struct pollfd *fds, 2446 uint32_t nfds, 2447 struct l_timespec64 *tsp, 2448 l_sigset_t *sset, 2449 l_size_t ssize 2450 ); 2451 } 2452415 AUE_NULL UNIMPL nosys 2453416 AUE_NULL STD { 2454 int linux_io_pgetevents_time64(void); 2455 } 2456417 AUE_NULL STD { 2457 int linux_recvmmsg_time64( 2458 l_int s, 2459 struct l_mmsghdr *msg, 2460 l_uint vlen, 2461 l_uint flags, 2462 struct l_timespec64 *timeout 2463 ); 2464 } 2465418 AUE_NULL STD { 2466 int linux_mq_timedsend_time64(void); 2467 } 2468419 AUE_NULL STD { 2469 int linux_mq_timedreceive_time64(void); 2470 } 2471420 AUE_NULL STD { 2472 int linux_semtimedop_time64( 2473 l_int semid, 2474 struct sembuf *tsops, 2475 l_size_t nsops, 2476 struct l_timespec64 *timeout 2477 ); 2478 } 2479421 AUE_NULL STD { 2480 int linux_rt_sigtimedwait_time64( 2481 l_sigset_t *mask, 2482 l_siginfo_t *ptr, 2483 struct l_timespec64 *timeout, 2484 l_size_t sigsetsize 2485 ); 2486 } 2487422 AUE_NULL STD { 2488 int linux_sys_futex_time64( 2489 uint32_t *uaddr, 2490 l_int op, 2491 uint32_t val, 2492 struct l_timespec64 *timeout, 2493 uint32_t *uaddr2, 2494 uint32_t val3 2495 ); 2496 } 2497423 AUE_SCHED_RR_GET_INTERVAL STD { 2498 int linux_sched_rr_get_interval_time64( 2499 l_pid_t pid, 2500 struct l_timespec64 *interval 2501 ); 2502 } 2503424 AUE_NULL STD { 2504 int linux_pidfd_send_signal( 2505 l_int pidfd, 2506 l_int sig, 2507 l_siginfo_t *info, 2508 l_uint flags 2509 ); 2510 } 2511425 AUE_NULL STD { 2512 int linux_io_uring_setup(void); 2513 } 2514426 AUE_NULL STD { 2515 int linux_io_uring_enter(void); 2516 } 2517427 AUE_NULL STD { 2518 int linux_io_uring_register(void); 2519 } 2520428 AUE_NULL STD { 2521 int linux_open_tree(void); 2522 } 2523429 AUE_NULL STD { 2524 int linux_move_mount(void); 2525 } 2526430 AUE_NULL STD { 2527 int linux_fsopen(void); 2528 } 2529431 AUE_NULL STD { 2530 int linux_fsconfig(void); 2531 } 2532432 AUE_NULL STD { 2533 int linux_fsmount(void); 2534 } 2535433 AUE_NULL STD { 2536 int linux_fspick(void); 2537 } 2538434 AUE_NULL STD { 2539 int linux_pidfd_open(void); 2540 } 2541435 AUE_NULL STD { 2542 int linux_clone3( 2543 struct l_user_clone_args *uargs, 2544 l_size_t usize 2545 ); 2546 } 2547436 AUE_CLOSERANGE STD { 2548 int linux_close_range( 2549 l_uint first, 2550 l_uint last, 2551 l_uint flags 2552 ); 2553 } 2554437 AUE_NULL STD { 2555 int linux_openat2(void); 2556 } 2557438 AUE_NULL STD { 2558 int linux_pidfd_getfd(void); 2559 } 2560439 AUE_NULL STD { 2561 int linux_faccessat2( 2562 l_int dfd, 2563 const char *filename, 2564 l_int amode, 2565 l_int flags 2566 ); 2567 } 2568440 AUE_NULL STD { 2569 int linux_process_madvise(void); 2570 } 2571441 AUE_NULL STD { 2572 int linux_epoll_pwait2_64( 2573 l_int epfd, 2574 struct epoll_event *events, 2575 l_int maxevents, 2576 struct l_timespec64 *timeout, 2577 l_sigset_t *mask, 2578 l_size_t sigsetsize 2579 ); 2580 } 2581442 AUE_NULL STD { 2582 int linux_mount_setattr(void); 2583 } 2584; please, keep this line at the end. 2585443 AUE_NULL UNIMPL nosys 2586; vim: syntax=off 2587