1b2f58791SDmitry Chagin 2b2f58791SDmitry Chagin; System call name/number master file (or rather, slave, from LINUX). 3b2f58791SDmitry Chagin; Processed to create linux_sysent.c, linux_proto.h and linux_syscall.h. 4b2f58791SDmitry Chagin 5b2f58791SDmitry Chagin; Columns: number audit type nargs name alt{name,tag,rtyp}/comments 6b2f58791SDmitry Chagin; number system call number, must be in order 7b2f58791SDmitry Chagin; audit the audit event associated with the system call 8b2f58791SDmitry Chagin; A value of AUE_NULL means no auditing, but it also means that 9b2f58791SDmitry Chagin; there is no audit event for the call at this time. For the 10b2f58791SDmitry Chagin; case where the event exists, but we don't want auditing, the 11b2f58791SDmitry Chagin; event should be #defined to AUE_NULL in audit_kevents.h. 128b756d40SDmitry Chagin; type one of STD, NOPROTO, UNIMPL 13315fbaecSEd Maste; name pseudo-prototype of syscall routine 14b2f58791SDmitry Chagin; If one of the following alts is different, then all appear: 15b2f58791SDmitry Chagin; altname name of system call if different 16b2f58791SDmitry Chagin; alttag name of args struct tag if different from [o]`name'"_args" 17b2f58791SDmitry Chagin; altrtyp return type if not int (bogus - syscalls always return int) 188b756d40SDmitry Chagin; for UNIMPL, name continues with comments 19b2f58791SDmitry Chagin 20b2f58791SDmitry Chagin; types: 21b2f58791SDmitry Chagin; STD always included 22b2f58791SDmitry Chagin; UNIMPL not implemented, placeholder only 238b756d40SDmitry Chagin; NOPROTO same as STD except do not create structure or 248b756d40SDmitry Chagin; function prototype in sys/sysproto.h. Does add a 258b756d40SDmitry Chagin; definition to syscall.h besides adding a sysent. 26b2f58791SDmitry Chagin 27559b94a1SWarner Losh; #include's, #defines's, etc. may be included, and are copied to the output 28559b94a1SWarner Losh; files. However, #ifdef, etc will be copied, but any lines that don't start 29559b94a1SWarner Losh; with # will not. Caveat Emptor. 30559b94a1SWarner Losh 31b2f58791SDmitry Chagin#include <sys/param.h> 32b2f58791SDmitry Chagin#include <sys/sysent.h> 33b2f58791SDmitry Chagin#include <sys/sysproto.h> 34b2f58791SDmitry Chagin#include <amd64/linux/linux.h> 35b2f58791SDmitry Chagin#include <amd64/linux/linux_proto.h> 36b2f58791SDmitry Chagin 375ac26742SEdward Tomasz Napierala0 AUE_NULL NOPROTO { 385ac26742SEdward Tomasz Napierala int read( 395ac26742SEdward Tomasz Napierala int fd, 405ac26742SEdward Tomasz Napierala char *buf, 418036e787SEdward Tomasz Napierala l_size_t nbyte 425ac26742SEdward Tomasz Napierala ); 435ac26742SEdward Tomasz Napierala } 44510f5c88SDmitry Chagin1 AUE_NULL STD { 45510f5c88SDmitry Chagin int linux_write( 465ac26742SEdward Tomasz Napierala int fd, 475ac26742SEdward Tomasz Napierala char *buf, 488036e787SEdward Tomasz Napierala l_size_t nbyte 495ac26742SEdward Tomasz Napierala ); 505ac26742SEdward Tomasz Napierala } 515ac26742SEdward Tomasz Napierala2 AUE_OPEN_RWTC STD { 525ac26742SEdward Tomasz Napierala int linux_open( 535ac26742SEdward Tomasz Napierala char *path, 545ac26742SEdward Tomasz Napierala l_int flags, 558036e787SEdward Tomasz Napierala l_mode_t mode 565ac26742SEdward Tomasz Napierala ); 575ac26742SEdward Tomasz Napierala } 585ac26742SEdward Tomasz Napierala3 AUE_CLOSE NOPROTO { 595ac26742SEdward Tomasz Napierala int close( 605ac26742SEdward Tomasz Napierala int fd 615ac26742SEdward Tomasz Napierala ); 625ac26742SEdward Tomasz Napierala } 635ac26742SEdward Tomasz Napierala4 AUE_STAT STD { 645ac26742SEdward Tomasz Napierala int linux_newstat( 655ac26742SEdward Tomasz Napierala char *path, 665ac26742SEdward Tomasz Napierala struct l_newstat *buf 675ac26742SEdward Tomasz Napierala ); 685ac26742SEdward Tomasz Napierala } 695ac26742SEdward Tomasz Napierala5 AUE_FSTAT STD { 705ac26742SEdward Tomasz Napierala int linux_newfstat( 715ac26742SEdward Tomasz Napierala l_uint fd, 725ac26742SEdward Tomasz Napierala struct l_newstat *buf 735ac26742SEdward Tomasz Napierala ); 745ac26742SEdward Tomasz Napierala } 755ac26742SEdward Tomasz Napierala6 AUE_LSTAT STD { 765ac26742SEdward Tomasz Napierala int linux_newlstat( 775ac26742SEdward Tomasz Napierala char *path, 785ac26742SEdward Tomasz Napierala struct l_newstat *buf 795ac26742SEdward Tomasz Napierala ); 805ac26742SEdward Tomasz Napierala } 812eff670fSDmitry Chagin7 AUE_POLL STD { 822eff670fSDmitry Chagin int linux_poll( 835ac26742SEdward Tomasz Napierala struct pollfd *fds, 845ac26742SEdward Tomasz Napierala u_int nfds, 855ac26742SEdward Tomasz Napierala int timeout 865ac26742SEdward Tomasz Napierala ); 875ac26742SEdward Tomasz Napierala } 885ac26742SEdward Tomasz Napierala8 AUE_LSEEK STD { 895ac26742SEdward Tomasz Napierala int linux_lseek( 905ac26742SEdward Tomasz Napierala l_uint fdes, 915ac26742SEdward Tomasz Napierala l_off_t off, 925ac26742SEdward Tomasz Napierala l_int whence 935ac26742SEdward Tomasz Napierala ); 945ac26742SEdward Tomasz Napierala } 955ac26742SEdward Tomasz Napierala9 AUE_MMAP STD { 965ac26742SEdward Tomasz Napierala int linux_mmap2( 975ac26742SEdward Tomasz Napierala l_ulong addr, 985ac26742SEdward Tomasz Napierala l_ulong len, 995ac26742SEdward Tomasz Napierala l_ulong prot, 1005ac26742SEdward Tomasz Napierala l_ulong flags, 1015ac26742SEdward Tomasz Napierala l_ulong fd, 1025ac26742SEdward Tomasz Napierala l_ulong pgoff 1035ac26742SEdward Tomasz Napierala ); 1045ac26742SEdward Tomasz Napierala } 1055ac26742SEdward Tomasz Napierala10 AUE_MPROTECT STD { 1065ac26742SEdward Tomasz Napierala int linux_mprotect( 1078036e787SEdward Tomasz Napierala l_ulong addr, 1088036e787SEdward Tomasz Napierala l_size_t len, 1098036e787SEdward Tomasz Napierala l_ulong prot 1105ac26742SEdward Tomasz Napierala ); 1115ac26742SEdward Tomasz Napierala } 1125ac26742SEdward Tomasz Napierala11 AUE_MUNMAP NOPROTO { 1135ac26742SEdward Tomasz Napierala int munmap( 1148036e787SEdward Tomasz Napierala void *addr, 1158036e787SEdward Tomasz Napierala l_size_t len 1165ac26742SEdward Tomasz Napierala ); 1175ac26742SEdward Tomasz Napierala } 1185ac26742SEdward Tomasz Napierala12 AUE_NULL STD { 1195ac26742SEdward Tomasz Napierala int linux_brk( 1205ac26742SEdward Tomasz Napierala l_ulong dsend 1215ac26742SEdward Tomasz Napierala ); 1225ac26742SEdward Tomasz Napierala } 1235ac26742SEdward Tomasz Napierala13 AUE_NULL STD { 1245ac26742SEdward Tomasz Napierala int linux_rt_sigaction( 1255ac26742SEdward Tomasz Napierala l_int sig, 1265ac26742SEdward Tomasz Napierala l_sigaction_t *act, 1275ac26742SEdward Tomasz Napierala l_sigaction_t *oact, 1285ac26742SEdward Tomasz Napierala l_size_t sigsetsize 1295ac26742SEdward Tomasz Napierala ); 1305ac26742SEdward Tomasz Napierala } 1315ac26742SEdward Tomasz Napierala14 AUE_NULL STD { 1325ac26742SEdward Tomasz Napierala int linux_rt_sigprocmask( 1335ac26742SEdward Tomasz Napierala l_int how, 1345ac26742SEdward Tomasz Napierala l_sigset_t *mask, 1355ac26742SEdward Tomasz Napierala l_sigset_t *omask, 1365ac26742SEdward Tomasz Napierala l_size_t sigsetsize 1375ac26742SEdward Tomasz Napierala ); 1385ac26742SEdward Tomasz Napierala } 1395ac26742SEdward Tomasz Napierala15 AUE_NULL STD { 1405ac26742SEdward Tomasz Napierala int linux_rt_sigreturn( 1415ac26742SEdward Tomasz Napierala struct l_ucontext *ucp 1425ac26742SEdward Tomasz Napierala ); 1435ac26742SEdward Tomasz Napierala } 1445ac26742SEdward Tomasz Napierala16 AUE_IOCTL STD { 1455ac26742SEdward Tomasz Napierala int linux_ioctl( 1465ac26742SEdward Tomasz Napierala l_uint fd, 1475ac26742SEdward Tomasz Napierala l_uint cmd, 1488036e787SEdward Tomasz Napierala l_ulong arg 1495ac26742SEdward Tomasz Napierala ); 1505ac26742SEdward Tomasz Napierala } 1515ac26742SEdward Tomasz Napierala17 AUE_PREAD STD { 1525ac26742SEdward Tomasz Napierala int linux_pread( 1535ac26742SEdward Tomasz Napierala l_uint fd, 1545ac26742SEdward Tomasz Napierala char *buf, 1555ac26742SEdward Tomasz Napierala l_size_t nbyte, 1565ac26742SEdward Tomasz Napierala l_loff_t offset 1575ac26742SEdward Tomasz Napierala ); 1585ac26742SEdward Tomasz Napierala } 1595ac26742SEdward Tomasz Napierala18 AUE_PWRITE STD { 1605ac26742SEdward Tomasz Napierala int linux_pwrite( 1615ac26742SEdward Tomasz Napierala l_uint fd, 1625ac26742SEdward Tomasz Napierala char *buf, 1635ac26742SEdward Tomasz Napierala l_size_t nbyte, 1645ac26742SEdward Tomasz Napierala l_loff_t offset 1655ac26742SEdward Tomasz Napierala ); 1665ac26742SEdward Tomasz Napierala } 1675ac26742SEdward Tomasz Napierala19 AUE_READV NOPROTO { 1685ac26742SEdward Tomasz Napierala int readv( 1695ac26742SEdward Tomasz Napierala int fd, 1705ac26742SEdward Tomasz Napierala struct iovec *iovp, 1715ac26742SEdward Tomasz Napierala u_int iovcnt 1725ac26742SEdward Tomasz Napierala ); 1735ac26742SEdward Tomasz Napierala } 174aad4b799SDmitry Chagin20 AUE_WRITEV STD { 175aad4b799SDmitry Chagin int linux_writev( 1765ac26742SEdward Tomasz Napierala int fd, 1775ac26742SEdward Tomasz Napierala struct iovec *iovp, 1785ac26742SEdward Tomasz Napierala u_int iovcnt 1795ac26742SEdward Tomasz Napierala ); 1805ac26742SEdward Tomasz Napierala } 1815ac26742SEdward Tomasz Napierala21 AUE_ACCESS STD { 1825ac26742SEdward Tomasz Napierala int linux_access( 1835ac26742SEdward Tomasz Napierala char *path, 1845ac26742SEdward Tomasz Napierala l_int amode 1855ac26742SEdward Tomasz Napierala ); 1865ac26742SEdward Tomasz Napierala } 1875ac26742SEdward Tomasz Napierala22 AUE_PIPE STD { 1885ac26742SEdward Tomasz Napierala int linux_pipe( 1898036e787SEdward Tomasz Napierala l_int *pipefds 1905ac26742SEdward Tomasz Napierala ); 1915ac26742SEdward Tomasz Napierala } 1925ac26742SEdward Tomasz Napierala23 AUE_SELECT STD { 1935ac26742SEdward Tomasz Napierala int linux_select( 1945ac26742SEdward Tomasz Napierala l_int nfds, 1955ac26742SEdward Tomasz Napierala l_fd_set *readfds, 1965ac26742SEdward Tomasz Napierala l_fd_set *writefds, 1975ac26742SEdward Tomasz Napierala l_fd_set *exceptfds, 1985ac26742SEdward Tomasz Napierala struct l_timeval *timeout 1995ac26742SEdward Tomasz Napierala ); 2005ac26742SEdward Tomasz Napierala } 2015ac26742SEdward Tomasz Napierala24 AUE_NULL NOPROTO { 2025ac26742SEdward Tomasz Napierala int sched_yield(void); 2035ac26742SEdward Tomasz Napierala } 2045ac26742SEdward Tomasz Napierala25 AUE_NULL STD { 2055ac26742SEdward Tomasz Napierala int linux_mremap( 2065ac26742SEdward Tomasz Napierala l_ulong addr, 2075ac26742SEdward Tomasz Napierala l_ulong old_len, 2085ac26742SEdward Tomasz Napierala l_ulong new_len, 2095ac26742SEdward Tomasz Napierala l_ulong flags, 2105ac26742SEdward Tomasz Napierala l_ulong new_addr 2115ac26742SEdward Tomasz Napierala ); 2125ac26742SEdward Tomasz Napierala } 2135ac26742SEdward Tomasz Napierala26 AUE_MSYNC STD { 2145ac26742SEdward Tomasz Napierala int linux_msync( 2155ac26742SEdward Tomasz Napierala l_ulong addr, 2165ac26742SEdward Tomasz Napierala l_size_t len, 2175ac26742SEdward Tomasz Napierala l_int fl 2185ac26742SEdward Tomasz Napierala ); 2195ac26742SEdward Tomasz Napierala } 2205ac26742SEdward Tomasz Napierala27 AUE_MINCORE STD { 2215ac26742SEdward Tomasz Napierala int linux_mincore( 2225ac26742SEdward Tomasz Napierala l_ulong start, 2235ac26742SEdward Tomasz Napierala l_size_t len, 2245ac26742SEdward Tomasz Napierala u_char *vec 2255ac26742SEdward Tomasz Napierala ); 2265ac26742SEdward Tomasz Napierala } 2275ac26742SEdward Tomasz Napierala28 AUE_MADVISE STD { 2285ac26742SEdward Tomasz Napierala int linux_madvise( 2298036e787SEdward Tomasz Napierala l_ulong addr, 2308036e787SEdward Tomasz Napierala l_size_t len, 2318036e787SEdward Tomasz Napierala l_int behav 2325ac26742SEdward Tomasz Napierala ); 2335ac26742SEdward Tomasz Napierala } 2345ac26742SEdward Tomasz Napierala29 AUE_NULL STD { 2355ac26742SEdward Tomasz Napierala int linux_shmget( 2365ac26742SEdward Tomasz Napierala l_key_t key, 2375ac26742SEdward Tomasz Napierala l_size_t size, 2385ac26742SEdward Tomasz Napierala l_int shmflg 2395ac26742SEdward Tomasz Napierala ); 2405ac26742SEdward Tomasz Napierala } 2415ac26742SEdward Tomasz Napierala30 AUE_NULL STD { 2425ac26742SEdward Tomasz Napierala int linux_shmat( 2435ac26742SEdward Tomasz Napierala l_int shmid, 2445ac26742SEdward Tomasz Napierala char *shmaddr, 2455ac26742SEdward Tomasz Napierala l_int shmflg 2465ac26742SEdward Tomasz Napierala ); 2475ac26742SEdward Tomasz Napierala } 2485ac26742SEdward Tomasz Napierala31 AUE_NULL STD { 2495ac26742SEdward Tomasz Napierala int linux_shmctl( 2505ac26742SEdward Tomasz Napierala l_int shmid, 2515ac26742SEdward Tomasz Napierala l_int cmd, 2525ac26742SEdward Tomasz Napierala struct l_shmid_ds *buf 2535ac26742SEdward Tomasz Napierala ); 2545ac26742SEdward Tomasz Napierala } 2555ac26742SEdward Tomasz Napierala32 AUE_DUP NOPROTO { 2565ac26742SEdward Tomasz Napierala int dup( 2575ac26742SEdward Tomasz Napierala u_int fd 2585ac26742SEdward Tomasz Napierala ); 2595ac26742SEdward Tomasz Napierala } 2605ac26742SEdward Tomasz Napierala33 AUE_DUP2 NOPROTO { 2615ac26742SEdward Tomasz Napierala int dup2( 2625ac26742SEdward Tomasz Napierala u_int from, 2635ac26742SEdward Tomasz Napierala u_int to 2645ac26742SEdward Tomasz Napierala ); 2655ac26742SEdward Tomasz Napierala } 2665ac26742SEdward Tomasz Napierala34 AUE_NULL STD { 2675ac26742SEdward Tomasz Napierala int linux_pause(void); 2685ac26742SEdward Tomasz Napierala } 2695ac26742SEdward Tomasz Napierala35 AUE_NULL STD { 2705ac26742SEdward Tomasz Napierala int linux_nanosleep( 2715ac26742SEdward Tomasz Napierala const struct l_timespec *rqtp, 2725ac26742SEdward Tomasz Napierala struct l_timespec *rmtp 2735ac26742SEdward Tomasz Napierala ); 2745ac26742SEdward Tomasz Napierala } 2755ac26742SEdward Tomasz Napierala36 AUE_GETITIMER STD { 2765ac26742SEdward Tomasz Napierala int linux_getitimer( 2775ac26742SEdward Tomasz Napierala l_int which, 2785ac26742SEdward Tomasz Napierala struct l_itimerval *itv 2795ac26742SEdward Tomasz Napierala ); 2805ac26742SEdward Tomasz Napierala } 2815ac26742SEdward Tomasz Napierala37 AUE_NULL STD { 2825ac26742SEdward Tomasz Napierala int linux_alarm( 2835ac26742SEdward Tomasz Napierala l_uint secs 2845ac26742SEdward Tomasz Napierala ); 2855ac26742SEdward Tomasz Napierala } 2865ac26742SEdward Tomasz Napierala38 AUE_SETITIMER STD { 2875ac26742SEdward Tomasz Napierala int linux_setitimer( 2885ac26742SEdward Tomasz Napierala l_int which, 2895ac26742SEdward Tomasz Napierala struct l_itimerval *itv, 2905ac26742SEdward Tomasz Napierala struct l_itimerval *oitv 2915ac26742SEdward Tomasz Napierala ); 2925ac26742SEdward Tomasz Napierala } 2935ac26742SEdward Tomasz Napierala39 AUE_GETPID STD { 2945ac26742SEdward Tomasz Napierala int linux_getpid(void); 2955ac26742SEdward Tomasz Napierala } 2965ac26742SEdward Tomasz Napierala40 AUE_SENDFILE STD { 2975ac26742SEdward Tomasz Napierala int linux_sendfile( 2985ac26742SEdward Tomasz Napierala l_int out, 2995ac26742SEdward Tomasz Napierala l_int in, 3008036e787SEdward Tomasz Napierala l_off_t *offset, 3015ac26742SEdward Tomasz Napierala l_size_t count 3025ac26742SEdward Tomasz Napierala ); 3035ac26742SEdward Tomasz Napierala } 3045ac26742SEdward Tomasz Napierala41 AUE_SOCKET STD { 3055ac26742SEdward Tomasz Napierala int linux_socket( 3065ac26742SEdward Tomasz Napierala l_int domain, 3075ac26742SEdward Tomasz Napierala l_int type, 3085ac26742SEdward Tomasz Napierala l_int protocol 3095ac26742SEdward Tomasz Napierala ); 3105ac26742SEdward Tomasz Napierala } 3115ac26742SEdward Tomasz Napierala42 AUE_CONNECT STD { 3125ac26742SEdward Tomasz Napierala int linux_connect( 3135ac26742SEdward Tomasz Napierala l_int s, 3145ac26742SEdward Tomasz Napierala l_uintptr_t name, 3155ac26742SEdward Tomasz Napierala l_int namelen 3165ac26742SEdward Tomasz Napierala ); 3175ac26742SEdward Tomasz Napierala } 3185ac26742SEdward Tomasz Napierala43 AUE_ACCEPT STD { 3195ac26742SEdward Tomasz Napierala int linux_accept( 3205ac26742SEdward Tomasz Napierala l_int s, 3215ac26742SEdward Tomasz Napierala l_uintptr_t addr, 3225ac26742SEdward Tomasz Napierala l_uintptr_t namelen 3235ac26742SEdward Tomasz Napierala ); 3245ac26742SEdward Tomasz Napierala } 3255ac26742SEdward Tomasz Napierala44 AUE_SENDTO STD { 3265ac26742SEdward Tomasz Napierala int linux_sendto( 3275ac26742SEdward Tomasz Napierala l_int s, 3285ac26742SEdward Tomasz Napierala l_uintptr_t msg, 3298036e787SEdward Tomasz Napierala l_size_t len, 3308036e787SEdward Tomasz Napierala l_uint flags, 3315ac26742SEdward Tomasz Napierala l_uintptr_t to, 3325ac26742SEdward Tomasz Napierala l_int tolen 3335ac26742SEdward Tomasz Napierala ); 3345ac26742SEdward Tomasz Napierala } 3355ac26742SEdward Tomasz Napierala45 AUE_RECVFROM STD { 3365ac26742SEdward Tomasz Napierala int linux_recvfrom( 3375ac26742SEdward Tomasz Napierala l_int s, 3385ac26742SEdward Tomasz Napierala l_uintptr_t buf, 3395ac26742SEdward Tomasz Napierala l_size_t len, 3408036e787SEdward Tomasz Napierala l_uint flags, 3415ac26742SEdward Tomasz Napierala l_uintptr_t from, 3425ac26742SEdward Tomasz Napierala l_uintptr_t fromlen 3435ac26742SEdward Tomasz Napierala ); 3445ac26742SEdward Tomasz Napierala } 3455ac26742SEdward Tomasz Napierala46 AUE_SENDMSG STD { 3465ac26742SEdward Tomasz Napierala int linux_sendmsg( 3475ac26742SEdward Tomasz Napierala l_int s, 3485ac26742SEdward Tomasz Napierala l_uintptr_t msg, 3498036e787SEdward Tomasz Napierala l_uint flags 3505ac26742SEdward Tomasz Napierala ); 3515ac26742SEdward Tomasz Napierala } 3525ac26742SEdward Tomasz Napierala47 AUE_RECVMSG STD { 3535ac26742SEdward Tomasz Napierala int linux_recvmsg( 3545ac26742SEdward Tomasz Napierala l_int s, 3555ac26742SEdward Tomasz Napierala l_uintptr_t msg, 3568036e787SEdward Tomasz Napierala l_uint flags 3575ac26742SEdward Tomasz Napierala ); 3585ac26742SEdward Tomasz Napierala } 3595ac26742SEdward Tomasz Napierala48 AUE_NULL STD { 3605ac26742SEdward Tomasz Napierala int linux_shutdown( 3615ac26742SEdward Tomasz Napierala l_int s, 3625ac26742SEdward Tomasz Napierala l_int how 3635ac26742SEdward Tomasz Napierala ); 3645ac26742SEdward Tomasz Napierala } 3655ac26742SEdward Tomasz Napierala49 AUE_BIND STD { 3665ac26742SEdward Tomasz Napierala int linux_bind( 3675ac26742SEdward Tomasz Napierala l_int s, 3685ac26742SEdward Tomasz Napierala l_uintptr_t name, 3695ac26742SEdward Tomasz Napierala l_int namelen 3705ac26742SEdward Tomasz Napierala ); 3715ac26742SEdward Tomasz Napierala } 3725ac26742SEdward Tomasz Napierala50 AUE_LISTEN STD { 3735ac26742SEdward Tomasz Napierala int linux_listen( 3745ac26742SEdward Tomasz Napierala l_int s, 3755ac26742SEdward Tomasz Napierala l_int backlog 3765ac26742SEdward Tomasz Napierala ); 3775ac26742SEdward Tomasz Napierala } 3785ac26742SEdward Tomasz Napierala51 AUE_GETSOCKNAME STD { 3795ac26742SEdward Tomasz Napierala int linux_getsockname( 3805ac26742SEdward Tomasz Napierala l_int s, 3815ac26742SEdward Tomasz Napierala l_uintptr_t addr, 3825ac26742SEdward Tomasz Napierala l_uintptr_t namelen 3835ac26742SEdward Tomasz Napierala ); 3845ac26742SEdward Tomasz Napierala } 3855ac26742SEdward Tomasz Napierala52 AUE_GETPEERNAME STD { 3865ac26742SEdward Tomasz Napierala int linux_getpeername( 3875ac26742SEdward Tomasz Napierala l_int s, 3885ac26742SEdward Tomasz Napierala l_uintptr_t addr, 3895ac26742SEdward Tomasz Napierala l_uintptr_t namelen 3905ac26742SEdward Tomasz Napierala ); 3915ac26742SEdward Tomasz Napierala } 3925ac26742SEdward Tomasz Napierala53 AUE_SOCKETPAIR STD { 3935ac26742SEdward Tomasz Napierala int linux_socketpair( 3945ac26742SEdward Tomasz Napierala l_int domain, 3955ac26742SEdward Tomasz Napierala l_int type, 3965ac26742SEdward Tomasz Napierala l_int protocol, 3975ac26742SEdward Tomasz Napierala l_uintptr_t rsv 3985ac26742SEdward Tomasz Napierala ); 3995ac26742SEdward Tomasz Napierala } 4005ac26742SEdward Tomasz Napierala54 AUE_SETSOCKOPT STD { 4015ac26742SEdward Tomasz Napierala int linux_setsockopt( 4025ac26742SEdward Tomasz Napierala l_int s, 4035ac26742SEdward Tomasz Napierala l_int level, 4045ac26742SEdward Tomasz Napierala l_int optname, 4055ac26742SEdward Tomasz Napierala l_uintptr_t optval, 4065ac26742SEdward Tomasz Napierala l_int optlen 4075ac26742SEdward Tomasz Napierala ); 4085ac26742SEdward Tomasz Napierala } 4095ac26742SEdward Tomasz Napierala55 AUE_GETSOCKOPT STD { 4105ac26742SEdward Tomasz Napierala int linux_getsockopt( 4115ac26742SEdward Tomasz Napierala l_int s, 4125ac26742SEdward Tomasz Napierala l_int level, 4135ac26742SEdward Tomasz Napierala l_int optname, 4145ac26742SEdward Tomasz Napierala l_uintptr_t optval, 4155ac26742SEdward Tomasz Napierala l_uintptr_t optlen 4165ac26742SEdward Tomasz Napierala ); 4175ac26742SEdward Tomasz Napierala } 4185ac26742SEdward Tomasz Napierala56 AUE_RFORK STD { 4195ac26742SEdward Tomasz Napierala int linux_clone( 4208036e787SEdward Tomasz Napierala l_ulong flags, 421f1c45049SDmitry Chagin l_ulong stack, 422f1c45049SDmitry Chagin l_int *parent_tidptr, 423f1c45049SDmitry Chagin l_int *child_tidptr, 424f1c45049SDmitry Chagin l_ulong tls 4255ac26742SEdward Tomasz Napierala ); 4265ac26742SEdward Tomasz Napierala } 4275ac26742SEdward Tomasz Napierala57 AUE_FORK STD { 4285ac26742SEdward Tomasz Napierala int linux_fork(void); 4295ac26742SEdward Tomasz Napierala } 4305ac26742SEdward Tomasz Napierala58 AUE_VFORK STD { 4315ac26742SEdward Tomasz Napierala int linux_vfork(void); 4325ac26742SEdward Tomasz Napierala } 4335ac26742SEdward Tomasz Napierala59 AUE_EXECVE STD { 4345ac26742SEdward Tomasz Napierala int linux_execve( 4355ac26742SEdward Tomasz Napierala char *path, 4368340b034SDmitry Chagin l_uintptr_t *argp, 4378340b034SDmitry Chagin l_uintptr_t *envp 4385ac26742SEdward Tomasz Napierala ); 4395ac26742SEdward Tomasz Napierala } 4405ac26742SEdward Tomasz Napierala60 AUE_EXIT STD { 4415ac26742SEdward Tomasz Napierala void linux_exit( 4425ac26742SEdward Tomasz Napierala l_int rval 4435ac26742SEdward Tomasz Napierala ); 4445ac26742SEdward Tomasz Napierala } 4455ac26742SEdward Tomasz Napierala61 AUE_WAIT4 STD { 4465ac26742SEdward Tomasz Napierala int linux_wait4( 4475ac26742SEdward Tomasz Napierala l_pid_t pid, 4485ac26742SEdward Tomasz Napierala l_int *status, 4495ac26742SEdward Tomasz Napierala l_int options, 4505ac26742SEdward Tomasz Napierala struct rusage *rusage 4515ac26742SEdward Tomasz Napierala ); 4525ac26742SEdward Tomasz Napierala } 4535ac26742SEdward Tomasz Napierala62 AUE_KILL STD { 4545ac26742SEdward Tomasz Napierala int linux_kill( 4558036e787SEdward Tomasz Napierala l_pid_t pid, 4565ac26742SEdward Tomasz Napierala l_int signum 4575ac26742SEdward Tomasz Napierala ); 4585ac26742SEdward Tomasz Napierala } 4595ac26742SEdward Tomasz Napierala63 AUE_NULL STD { 4605ac26742SEdward Tomasz Napierala int linux_newuname( 4615ac26742SEdward Tomasz Napierala struct l_new_utsname *buf 4625ac26742SEdward Tomasz Napierala ); 4635ac26742SEdward Tomasz Napierala } 4645ac26742SEdward Tomasz Napierala64 AUE_NULL STD { 4655ac26742SEdward Tomasz Napierala int linux_semget( 4665ac26742SEdward Tomasz Napierala l_key_t key, 4675ac26742SEdward Tomasz Napierala l_int nsems, 4685ac26742SEdward Tomasz Napierala l_int semflg 4695ac26742SEdward Tomasz Napierala ); 4705ac26742SEdward Tomasz Napierala } 471f6860926SDmitry Chagin65 AUE_NULL NOPROTO { 472f6860926SDmitry Chagin int semop( 4735ac26742SEdward Tomasz Napierala l_int semid, 474f6860926SDmitry Chagin struct sembuf *sops, 475f6860926SDmitry Chagin l_size_t nsops 4765ac26742SEdward Tomasz Napierala ); 4775ac26742SEdward Tomasz Napierala } 4785ac26742SEdward Tomasz Napierala66 AUE_NULL STD { 4795ac26742SEdward Tomasz Napierala int linux_semctl( 4805ac26742SEdward Tomasz Napierala l_int semid, 4815ac26742SEdward Tomasz Napierala l_int semnum, 4825ac26742SEdward Tomasz Napierala l_int cmd, 4835ac26742SEdward Tomasz Napierala union l_semun arg 4845ac26742SEdward Tomasz Napierala ); 4855ac26742SEdward Tomasz Napierala } 4865ac26742SEdward Tomasz Napierala67 AUE_NULL STD { 4875ac26742SEdward Tomasz Napierala int linux_shmdt( 4885ac26742SEdward Tomasz Napierala char *shmaddr 4895ac26742SEdward Tomasz Napierala ); 4905ac26742SEdward Tomasz Napierala } 4915ac26742SEdward Tomasz Napierala68 AUE_NULL STD { 4925ac26742SEdward Tomasz Napierala int linux_msgget( 4935ac26742SEdward Tomasz Napierala l_key_t key, 4945ac26742SEdward Tomasz Napierala l_int msgflg 4955ac26742SEdward Tomasz Napierala ); 4965ac26742SEdward Tomasz Napierala } 4975ac26742SEdward Tomasz Napierala69 AUE_NULL STD { 4985ac26742SEdward Tomasz Napierala int linux_msgsnd( 4995ac26742SEdward Tomasz Napierala l_int msqid, 5005ac26742SEdward Tomasz Napierala struct l_msgbuf *msgp, 5015ac26742SEdward Tomasz Napierala l_size_t msgsz, 5025ac26742SEdward Tomasz Napierala l_int msgflg 5035ac26742SEdward Tomasz Napierala ); 5045ac26742SEdward Tomasz Napierala } 5055ac26742SEdward Tomasz Napierala70 AUE_NULL STD { 5065ac26742SEdward Tomasz Napierala int linux_msgrcv( 5075ac26742SEdward Tomasz Napierala l_int msqid, 5085ac26742SEdward Tomasz Napierala struct l_msgbuf *msgp, 5095ac26742SEdward Tomasz Napierala l_size_t msgsz, 5105ac26742SEdward Tomasz Napierala l_long msgtyp, 5115ac26742SEdward Tomasz Napierala l_int msgflg 5125ac26742SEdward Tomasz Napierala ); 5135ac26742SEdward Tomasz Napierala } 5145ac26742SEdward Tomasz Napierala71 AUE_NULL STD { 5155ac26742SEdward Tomasz Napierala int linux_msgctl( 5165ac26742SEdward Tomasz Napierala l_int msqid, 5175ac26742SEdward Tomasz Napierala l_int cmd, 5185ac26742SEdward Tomasz Napierala struct l_msqid_ds *buf 5195ac26742SEdward Tomasz Napierala ); 5205ac26742SEdward Tomasz Napierala } 5215ac26742SEdward Tomasz Napierala72 AUE_FCNTL STD { 5225ac26742SEdward Tomasz Napierala int linux_fcntl( 5235ac26742SEdward Tomasz Napierala l_uint fd, 5245ac26742SEdward Tomasz Napierala l_uint cmd, 5255ac26742SEdward Tomasz Napierala l_ulong arg 5265ac26742SEdward Tomasz Napierala ); 5275ac26742SEdward Tomasz Napierala } 5285ac26742SEdward Tomasz Napierala73 AUE_FLOCK NOPROTO { 5295ac26742SEdward Tomasz Napierala int flock( 5305ac26742SEdward Tomasz Napierala int fd, 5315ac26742SEdward Tomasz Napierala int how 5325ac26742SEdward Tomasz Napierala ); 5335ac26742SEdward Tomasz Napierala } 5345ac26742SEdward Tomasz Napierala74 AUE_FSYNC NOPROTO { 5355ac26742SEdward Tomasz Napierala int fsync( 5365ac26742SEdward Tomasz Napierala int fd 5375ac26742SEdward Tomasz Napierala ); 5385ac26742SEdward Tomasz Napierala } 5395ac26742SEdward Tomasz Napierala75 AUE_NULL STD { 5405ac26742SEdward Tomasz Napierala int linux_fdatasync( 5415ac26742SEdward Tomasz Napierala l_uint fd 5425ac26742SEdward Tomasz Napierala ); 5435ac26742SEdward Tomasz Napierala } 5445ac26742SEdward Tomasz Napierala76 AUE_TRUNCATE STD { 5455ac26742SEdward Tomasz Napierala int linux_truncate( 5465ac26742SEdward Tomasz Napierala char *path, 5478036e787SEdward Tomasz Napierala l_long length 5485ac26742SEdward Tomasz Napierala ); 5495ac26742SEdward Tomasz Napierala } 5505ac26742SEdward Tomasz Napierala77 AUE_FTRUNCATE STD { 5515ac26742SEdward Tomasz Napierala int linux_ftruncate( 5525ac26742SEdward Tomasz Napierala l_int fd, 5538036e787SEdward Tomasz Napierala l_ulong length 5545ac26742SEdward Tomasz Napierala ); 5555ac26742SEdward Tomasz Napierala } 5565ac26742SEdward Tomasz Napierala78 AUE_GETDIRENTRIES STD { 5575ac26742SEdward Tomasz Napierala int linux_getdents( 5585ac26742SEdward Tomasz Napierala l_uint fd, 5595ac26742SEdward Tomasz Napierala void *dent, 5605ac26742SEdward Tomasz Napierala l_uint count 5615ac26742SEdward Tomasz Napierala ); 5625ac26742SEdward Tomasz Napierala } 5635ac26742SEdward Tomasz Napierala79 AUE_GETCWD STD { 5645ac26742SEdward Tomasz Napierala int linux_getcwd( 5655ac26742SEdward Tomasz Napierala char *buf, 5665ac26742SEdward Tomasz Napierala l_ulong bufsize 5675ac26742SEdward Tomasz Napierala ); 5685ac26742SEdward Tomasz Napierala } 5695ac26742SEdward Tomasz Napierala80 AUE_CHDIR STD { 5705ac26742SEdward Tomasz Napierala int linux_chdir( 5715ac26742SEdward Tomasz Napierala char *path 5725ac26742SEdward Tomasz Napierala ); 5735ac26742SEdward Tomasz Napierala } 5745ac26742SEdward Tomasz Napierala81 AUE_FCHDIR NOPROTO { 5755ac26742SEdward Tomasz Napierala int fchdir( 5765ac26742SEdward Tomasz Napierala int fd 5775ac26742SEdward Tomasz Napierala ); 5785ac26742SEdward Tomasz Napierala } 5795ac26742SEdward Tomasz Napierala82 AUE_RENAME STD { 5805ac26742SEdward Tomasz Napierala int linux_rename( 5815ac26742SEdward Tomasz Napierala char *from, 5825ac26742SEdward Tomasz Napierala char *to 5835ac26742SEdward Tomasz Napierala ); 5845ac26742SEdward Tomasz Napierala } 5855ac26742SEdward Tomasz Napierala83 AUE_MKDIR STD { 5865ac26742SEdward Tomasz Napierala int linux_mkdir( 5875ac26742SEdward Tomasz Napierala char *path, 5888036e787SEdward Tomasz Napierala l_mode_t mode 5895ac26742SEdward Tomasz Napierala ); 5905ac26742SEdward Tomasz Napierala } 5915ac26742SEdward Tomasz Napierala84 AUE_RMDIR STD { 5925ac26742SEdward Tomasz Napierala int linux_rmdir( 5935ac26742SEdward Tomasz Napierala char *path 5945ac26742SEdward Tomasz Napierala ); 5955ac26742SEdward Tomasz Napierala } 5965ac26742SEdward Tomasz Napierala85 AUE_CREAT STD { 5975ac26742SEdward Tomasz Napierala int linux_creat( 5985ac26742SEdward Tomasz Napierala char *path, 5998036e787SEdward Tomasz Napierala l_mode_t mode 6005ac26742SEdward Tomasz Napierala ); 6015ac26742SEdward Tomasz Napierala } 6025ac26742SEdward Tomasz Napierala86 AUE_LINK STD { 6035ac26742SEdward Tomasz Napierala int linux_link( 6045ac26742SEdward Tomasz Napierala char *path, 6055ac26742SEdward Tomasz Napierala char *to 6065ac26742SEdward Tomasz Napierala ); 6075ac26742SEdward Tomasz Napierala } 6085ac26742SEdward Tomasz Napierala87 AUE_UNLINK STD { 6095ac26742SEdward Tomasz Napierala int linux_unlink( 6105ac26742SEdward Tomasz Napierala char *path 6115ac26742SEdward Tomasz Napierala ); 6125ac26742SEdward Tomasz Napierala } 6135ac26742SEdward Tomasz Napierala88 AUE_SYMLINK STD { 6145ac26742SEdward Tomasz Napierala int linux_symlink( 6155ac26742SEdward Tomasz Napierala char *path, 6165ac26742SEdward Tomasz Napierala char *to 6175ac26742SEdward Tomasz Napierala ); 6185ac26742SEdward Tomasz Napierala } 6195ac26742SEdward Tomasz Napierala89 AUE_READLINK STD { 6205ac26742SEdward Tomasz Napierala int linux_readlink( 6215ac26742SEdward Tomasz Napierala char *name, 6225ac26742SEdward Tomasz Napierala char *buf, 6235ac26742SEdward Tomasz Napierala l_int count 6245ac26742SEdward Tomasz Napierala ); 6255ac26742SEdward Tomasz Napierala } 6265ac26742SEdward Tomasz Napierala90 AUE_CHMOD STD { 6275ac26742SEdward Tomasz Napierala int linux_chmod( 6285ac26742SEdward Tomasz Napierala char *path, 6295ac26742SEdward Tomasz Napierala l_mode_t mode 6305ac26742SEdward Tomasz Napierala ); 6315ac26742SEdward Tomasz Napierala } 6325ac26742SEdward Tomasz Napierala91 AUE_FCHMOD NOPROTO { 6335ac26742SEdward Tomasz Napierala int fchmod( 6345ac26742SEdward Tomasz Napierala int fd, 6355ac26742SEdward Tomasz Napierala int mode 6365ac26742SEdward Tomasz Napierala ); 6375ac26742SEdward Tomasz Napierala } 6385ac26742SEdward Tomasz Napierala92 AUE_LCHOWN STD { 6395ac26742SEdward Tomasz Napierala int linux_chown( 6405ac26742SEdward Tomasz Napierala char *path, 6415ac26742SEdward Tomasz Napierala l_uid_t uid, 6425ac26742SEdward Tomasz Napierala l_gid_t gid 6435ac26742SEdward Tomasz Napierala ); 6445ac26742SEdward Tomasz Napierala } 6455ac26742SEdward Tomasz Napierala93 AUE_FCHOWN NOPROTO { 6465ac26742SEdward Tomasz Napierala int fchown( 6475ac26742SEdward Tomasz Napierala int fd, 6485ac26742SEdward Tomasz Napierala int uid, 6495ac26742SEdward Tomasz Napierala int gid 6505ac26742SEdward Tomasz Napierala ); 6515ac26742SEdward Tomasz Napierala } 6525ac26742SEdward Tomasz Napierala94 AUE_LCHOWN STD { 6535ac26742SEdward Tomasz Napierala int linux_lchown( 6545ac26742SEdward Tomasz Napierala char *path, 6555ac26742SEdward Tomasz Napierala l_uid_t uid, 6565ac26742SEdward Tomasz Napierala l_gid_t gid 6575ac26742SEdward Tomasz Napierala ); 6585ac26742SEdward Tomasz Napierala } 6595ac26742SEdward Tomasz Napierala95 AUE_UMASK NOPROTO { 6605ac26742SEdward Tomasz Napierala int umask( 6615ac26742SEdward Tomasz Napierala int newmask 6625ac26742SEdward Tomasz Napierala ); 6635ac26742SEdward Tomasz Napierala } 6645ac26742SEdward Tomasz Napierala96 AUE_NULL NOPROTO { 6655ac26742SEdward Tomasz Napierala int gettimeofday( 6665ac26742SEdward Tomasz Napierala struct l_timeval *tp, 6675ac26742SEdward Tomasz Napierala struct timezone *tzp 6685ac26742SEdward Tomasz Napierala ); 6695ac26742SEdward Tomasz Napierala } 6705ac26742SEdward Tomasz Napierala97 AUE_GETRLIMIT STD { 6715ac26742SEdward Tomasz Napierala int linux_getrlimit( 6725ac26742SEdward Tomasz Napierala l_uint resource, 6735ac26742SEdward Tomasz Napierala struct l_rlimit *rlim 6745ac26742SEdward Tomasz Napierala ); 6755ac26742SEdward Tomasz Napierala } 6765ac26742SEdward Tomasz Napierala98 AUE_GETRUSAGE NOPROTO { 6775ac26742SEdward Tomasz Napierala int getrusage( 6785ac26742SEdward Tomasz Napierala int who, 6795ac26742SEdward Tomasz Napierala struct rusage *rusage 6805ac26742SEdward Tomasz Napierala ); 6815ac26742SEdward Tomasz Napierala } 6825ac26742SEdward Tomasz Napierala99 AUE_NULL STD { 6835ac26742SEdward Tomasz Napierala int linux_sysinfo( 6845ac26742SEdward Tomasz Napierala struct l_sysinfo *info 6855ac26742SEdward Tomasz Napierala ); 6865ac26742SEdward Tomasz Napierala } 6875ac26742SEdward Tomasz Napierala100 AUE_NULL STD { 6885ac26742SEdward Tomasz Napierala int linux_times( 6895ac26742SEdward Tomasz Napierala struct l_times_argv *buf 6905ac26742SEdward Tomasz Napierala ); 6915ac26742SEdward Tomasz Napierala } 6925ac26742SEdward Tomasz Napierala101 AUE_PTRACE STD { 6935ac26742SEdward Tomasz Napierala int linux_ptrace( 6945ac26742SEdward Tomasz Napierala l_long req, 6955ac26742SEdward Tomasz Napierala l_long pid, 6965ac26742SEdward Tomasz Napierala l_ulong addr, 6975ac26742SEdward Tomasz Napierala l_ulong data 6985ac26742SEdward Tomasz Napierala ); 6995ac26742SEdward Tomasz Napierala } 7005ac26742SEdward Tomasz Napierala102 AUE_GETUID STD { 7015ac26742SEdward Tomasz Napierala int linux_getuid(void); 7025ac26742SEdward Tomasz Napierala } 7035ac26742SEdward Tomasz Napierala103 AUE_NULL STD { 7045ac26742SEdward Tomasz Napierala int linux_syslog( 7055ac26742SEdward Tomasz Napierala l_int type, 7065ac26742SEdward Tomasz Napierala char *buf, 7075ac26742SEdward Tomasz Napierala l_int len 7085ac26742SEdward Tomasz Napierala ); 7095ac26742SEdward Tomasz Napierala } 7105ac26742SEdward Tomasz Napierala104 AUE_GETGID STD { 7115ac26742SEdward Tomasz Napierala int linux_getgid(void); 7125ac26742SEdward Tomasz Napierala } 7135ac26742SEdward Tomasz Napierala105 AUE_SETUID NOPROTO { 7145ac26742SEdward Tomasz Napierala int setuid( 7155ac26742SEdward Tomasz Napierala uid_t uid 7165ac26742SEdward Tomasz Napierala ); 7175ac26742SEdward Tomasz Napierala } 7185ac26742SEdward Tomasz Napierala106 AUE_SETGID NOPROTO { 7195ac26742SEdward Tomasz Napierala int setgid( 7205ac26742SEdward Tomasz Napierala gid_t gid 7215ac26742SEdward Tomasz Napierala ); 7225ac26742SEdward Tomasz Napierala } 7235ac26742SEdward Tomasz Napierala107 AUE_GETEUID NOPROTO { 7245ac26742SEdward Tomasz Napierala int geteuid(void); 7255ac26742SEdward Tomasz Napierala } 7265ac26742SEdward Tomasz Napierala108 AUE_GETEGID NOPROTO { 7275ac26742SEdward Tomasz Napierala int getegid(void); 7285ac26742SEdward Tomasz Napierala } 7295ac26742SEdward Tomasz Napierala109 AUE_SETPGRP NOPROTO { 7305ac26742SEdward Tomasz Napierala int setpgid( 7315ac26742SEdward Tomasz Napierala int pid, 7325ac26742SEdward Tomasz Napierala int pgid 7335ac26742SEdward Tomasz Napierala ); 7345ac26742SEdward Tomasz Napierala } 7355ac26742SEdward Tomasz Napierala110 AUE_GETPPID STD { 7365ac26742SEdward Tomasz Napierala int linux_getppid(void); 7375ac26742SEdward Tomasz Napierala } 7385ac26742SEdward Tomasz Napierala111 AUE_GETPGRP NOPROTO { 7395ac26742SEdward Tomasz Napierala int getpgrp(void); 7405ac26742SEdward Tomasz Napierala } 7415ac26742SEdward Tomasz Napierala112 AUE_SETSID NOPROTO { 7425ac26742SEdward Tomasz Napierala int setsid(void); 7435ac26742SEdward Tomasz Napierala } 7445ac26742SEdward Tomasz Napierala113 AUE_SETREUID NOPROTO { 7455ac26742SEdward Tomasz Napierala int setreuid( 7465ac26742SEdward Tomasz Napierala uid_t ruid, 7475ac26742SEdward Tomasz Napierala uid_t euid 7485ac26742SEdward Tomasz Napierala ); 7495ac26742SEdward Tomasz Napierala } 7505ac26742SEdward Tomasz Napierala114 AUE_SETREGID NOPROTO { 7515ac26742SEdward Tomasz Napierala int setregid( 7525ac26742SEdward Tomasz Napierala gid_t rgid, 7535ac26742SEdward Tomasz Napierala gid_t egid 7545ac26742SEdward Tomasz Napierala ); 7555ac26742SEdward Tomasz Napierala } 7565ac26742SEdward Tomasz Napierala115 AUE_GETGROUPS STD { 7575ac26742SEdward Tomasz Napierala int linux_getgroups( 7585ac26742SEdward Tomasz Napierala l_int gidsetsize, 7595ac26742SEdward Tomasz Napierala l_gid_t *grouplist 7605ac26742SEdward Tomasz Napierala ); 7615ac26742SEdward Tomasz Napierala } 7625ac26742SEdward Tomasz Napierala116 AUE_SETGROUPS STD { 7635ac26742SEdward Tomasz Napierala int linux_setgroups( 7645ac26742SEdward Tomasz Napierala l_int gidsetsize, 7655ac26742SEdward Tomasz Napierala l_gid_t *grouplist 7665ac26742SEdward Tomasz Napierala ); 7675ac26742SEdward Tomasz Napierala } 7685ac26742SEdward Tomasz Napierala117 AUE_SETRESUID NOPROTO { 7695ac26742SEdward Tomasz Napierala int setresuid( 7705ac26742SEdward Tomasz Napierala uid_t ruid, 7715ac26742SEdward Tomasz Napierala uid_t euid, 7725ac26742SEdward Tomasz Napierala uid_t suid 7735ac26742SEdward Tomasz Napierala ); 7745ac26742SEdward Tomasz Napierala } 7755ac26742SEdward Tomasz Napierala118 AUE_GETRESUID NOPROTO { 7765ac26742SEdward Tomasz Napierala int getresuid( 7775ac26742SEdward Tomasz Napierala uid_t *ruid, 7785ac26742SEdward Tomasz Napierala uid_t *euid, 7795ac26742SEdward Tomasz Napierala uid_t *suid 7805ac26742SEdward Tomasz Napierala ); 7815ac26742SEdward Tomasz Napierala } 7825ac26742SEdward Tomasz Napierala119 AUE_SETRESGID NOPROTO { 7835ac26742SEdward Tomasz Napierala int setresgid( 7845ac26742SEdward Tomasz Napierala gid_t rgid, 7855ac26742SEdward Tomasz Napierala gid_t egid, 7865ac26742SEdward Tomasz Napierala gid_t sgid 7875ac26742SEdward Tomasz Napierala ); 7885ac26742SEdward Tomasz Napierala } 7895ac26742SEdward Tomasz Napierala120 AUE_GETRESGID NOPROTO { 7905ac26742SEdward Tomasz Napierala int getresgid( 7915ac26742SEdward Tomasz Napierala gid_t *rgid, 7925ac26742SEdward Tomasz Napierala gid_t *egid, 7935ac26742SEdward Tomasz Napierala gid_t *sgid 7945ac26742SEdward Tomasz Napierala ); 7955ac26742SEdward Tomasz Napierala } 7965ac26742SEdward Tomasz Napierala121 AUE_GETPGID NOPROTO { 7975ac26742SEdward Tomasz Napierala int getpgid( 7985ac26742SEdward Tomasz Napierala int pid 7995ac26742SEdward Tomasz Napierala ); 8005ac26742SEdward Tomasz Napierala } 8015ac26742SEdward Tomasz Napierala122 AUE_SETFSUID STD { 8025ac26742SEdward Tomasz Napierala int linux_setfsuid( 8035ac26742SEdward Tomasz Napierala l_uid_t uid 8045ac26742SEdward Tomasz Napierala ); 8055ac26742SEdward Tomasz Napierala } 8065ac26742SEdward Tomasz Napierala123 AUE_SETFSGID STD { 8075ac26742SEdward Tomasz Napierala int linux_setfsgid( 8085ac26742SEdward Tomasz Napierala l_gid_t gid 8095ac26742SEdward Tomasz Napierala ); 8105ac26742SEdward Tomasz Napierala } 8115ac26742SEdward Tomasz Napierala124 AUE_GETSID STD { 8125ac26742SEdward Tomasz Napierala int linux_getsid( 8135ac26742SEdward Tomasz Napierala l_pid_t pid 8145ac26742SEdward Tomasz Napierala ); 8155ac26742SEdward Tomasz Napierala } 8165ac26742SEdward Tomasz Napierala125 AUE_CAPGET STD { 8175ac26742SEdward Tomasz Napierala int linux_capget( 8185ac26742SEdward Tomasz Napierala struct l_user_cap_header *hdrp, 8195ac26742SEdward Tomasz Napierala struct l_user_cap_data *datap 8205ac26742SEdward Tomasz Napierala ); 8215ac26742SEdward Tomasz Napierala } 8225ac26742SEdward Tomasz Napierala126 AUE_CAPSET STD { 8235ac26742SEdward Tomasz Napierala int linux_capset( 8245ac26742SEdward Tomasz Napierala struct l_user_cap_header *hdrp, 8255ac26742SEdward Tomasz Napierala struct l_user_cap_data *datap 8265ac26742SEdward Tomasz Napierala ); 8275ac26742SEdward Tomasz Napierala } 8285ac26742SEdward Tomasz Napierala127 AUE_NULL STD { 8295ac26742SEdward Tomasz Napierala int linux_rt_sigpending( 8305ac26742SEdward Tomasz Napierala l_sigset_t *set, 8315ac26742SEdward Tomasz Napierala l_size_t sigsetsize 8325ac26742SEdward Tomasz Napierala ); 8335ac26742SEdward Tomasz Napierala } 8345ac26742SEdward Tomasz Napierala128 AUE_NULL STD { 8355ac26742SEdward Tomasz Napierala int linux_rt_sigtimedwait( 8365ac26742SEdward Tomasz Napierala l_sigset_t *mask, 8375ac26742SEdward Tomasz Napierala l_siginfo_t *ptr, 8380f8dab45SDmitry Chagin struct l_timespec *timeout, 8395ac26742SEdward Tomasz Napierala l_size_t sigsetsize 8405ac26742SEdward Tomasz Napierala ); 8415ac26742SEdward Tomasz Napierala } 8425ac26742SEdward Tomasz Napierala129 AUE_NULL STD { 8435ac26742SEdward Tomasz Napierala int linux_rt_sigqueueinfo( 8445ac26742SEdward Tomasz Napierala l_pid_t pid, 8455ac26742SEdward Tomasz Napierala l_int sig, 8465ac26742SEdward Tomasz Napierala l_siginfo_t *info 8475ac26742SEdward Tomasz Napierala ); 8485ac26742SEdward Tomasz Napierala } 8495ac26742SEdward Tomasz Napierala130 AUE_NULL STD { 8505ac26742SEdward Tomasz Napierala int linux_rt_sigsuspend( 8515ac26742SEdward Tomasz Napierala l_sigset_t *newset, 8525ac26742SEdward Tomasz Napierala l_size_t sigsetsize 8535ac26742SEdward Tomasz Napierala ); 8545ac26742SEdward Tomasz Napierala } 8555ac26742SEdward Tomasz Napierala131 AUE_NULL STD { 8565ac26742SEdward Tomasz Napierala int linux_sigaltstack( 8575ac26742SEdward Tomasz Napierala l_stack_t *uss, 8585ac26742SEdward Tomasz Napierala l_stack_t *uoss 8595ac26742SEdward Tomasz Napierala ); 8605ac26742SEdward Tomasz Napierala } 8615ac26742SEdward Tomasz Napierala132 AUE_UTIME STD { 8625ac26742SEdward Tomasz Napierala int linux_utime( 8635ac26742SEdward Tomasz Napierala char *fname, 8645ac26742SEdward Tomasz Napierala struct l_utimbuf *times 8655ac26742SEdward Tomasz Napierala ); 8665ac26742SEdward Tomasz Napierala } 8675ac26742SEdward Tomasz Napierala133 AUE_MKNOD STD { 8685ac26742SEdward Tomasz Napierala int linux_mknod( 8695ac26742SEdward Tomasz Napierala char *path, 8708036e787SEdward Tomasz Napierala l_mode_t mode, 871ca3333ddSDmitry Chagin l_dev_t dev 8725ac26742SEdward Tomasz Napierala ); 8735ac26742SEdward Tomasz Napierala } 874b2f58791SDmitry Chagin134 AUE_USELIB UNIMPL uselib 8755ac26742SEdward Tomasz Napierala135 AUE_PERSONALITY STD { 8765ac26742SEdward Tomasz Napierala int linux_personality( 8775ac26742SEdward Tomasz Napierala l_uint per 8785ac26742SEdward Tomasz Napierala ); 8795ac26742SEdward Tomasz Napierala } 8805ac26742SEdward Tomasz Napierala136 AUE_NULL STD { 8815ac26742SEdward Tomasz Napierala int linux_ustat( 8828036e787SEdward Tomasz Napierala l_uint dev, 8835ac26742SEdward Tomasz Napierala struct l_ustat *ubuf 8845ac26742SEdward Tomasz Napierala ); 8855ac26742SEdward Tomasz Napierala } 8865ac26742SEdward Tomasz Napierala137 AUE_STATFS STD { 8875ac26742SEdward Tomasz Napierala int linux_statfs( 8885ac26742SEdward Tomasz Napierala char *path, 8895ac26742SEdward Tomasz Napierala struct l_statfs_buf *buf 8905ac26742SEdward Tomasz Napierala ); 8915ac26742SEdward Tomasz Napierala } 8925ac26742SEdward Tomasz Napierala138 AUE_FSTATFS STD { 8935ac26742SEdward Tomasz Napierala int linux_fstatfs( 8945ac26742SEdward Tomasz Napierala l_uint fd, 8955ac26742SEdward Tomasz Napierala struct l_statfs_buf *buf 8965ac26742SEdward Tomasz Napierala ); 8975ac26742SEdward Tomasz Napierala } 8985ac26742SEdward Tomasz Napierala139 AUE_NULL STD { 8995ac26742SEdward Tomasz Napierala int linux_sysfs( 9005ac26742SEdward Tomasz Napierala l_int option, 9015ac26742SEdward Tomasz Napierala l_ulong arg1, 9025ac26742SEdward Tomasz Napierala l_ulong arg2 9035ac26742SEdward Tomasz Napierala ); 9045ac26742SEdward Tomasz Napierala } 9055ac26742SEdward Tomasz Napierala140 AUE_GETPRIORITY STD { 9065ac26742SEdward Tomasz Napierala int linux_getpriority( 9075ac26742SEdward Tomasz Napierala l_int which, 9085ac26742SEdward Tomasz Napierala l_int who 9095ac26742SEdward Tomasz Napierala ); 9105ac26742SEdward Tomasz Napierala } 9115ac26742SEdward Tomasz Napierala141 AUE_SETPRIORITY NOPROTO { 9125ac26742SEdward Tomasz Napierala int setpriority( 9135ac26742SEdward Tomasz Napierala int which, 9145ac26742SEdward Tomasz Napierala int who, 9155ac26742SEdward Tomasz Napierala int prio 9165ac26742SEdward Tomasz Napierala ); 9175ac26742SEdward Tomasz Napierala } 9185ac26742SEdward Tomasz Napierala142 AUE_SCHED_SETPARAM STD { 9195ac26742SEdward Tomasz Napierala int linux_sched_setparam( 9205ac26742SEdward Tomasz Napierala l_pid_t pid, 9215ac26742SEdward Tomasz Napierala struct sched_param *param 9225ac26742SEdward Tomasz Napierala ); 9235ac26742SEdward Tomasz Napierala } 9245ac26742SEdward Tomasz Napierala143 AUE_SCHED_GETPARAM STD { 9255ac26742SEdward Tomasz Napierala int linux_sched_getparam( 9265ac26742SEdward Tomasz Napierala l_pid_t pid, 9275ac26742SEdward Tomasz Napierala struct sched_param *param 9285ac26742SEdward Tomasz Napierala ); 9295ac26742SEdward Tomasz Napierala } 9305ac26742SEdward Tomasz Napierala144 AUE_SCHED_SETSCHEDULER STD { 9315ac26742SEdward Tomasz Napierala int linux_sched_setscheduler( 9325ac26742SEdward Tomasz Napierala l_pid_t pid, 9335ac26742SEdward Tomasz Napierala l_int policy, 9345ac26742SEdward Tomasz Napierala struct sched_param *param 9355ac26742SEdward Tomasz Napierala ); 9365ac26742SEdward Tomasz Napierala } 9375ac26742SEdward Tomasz Napierala145 AUE_SCHED_GETSCHEDULER STD { 9385ac26742SEdward Tomasz Napierala int linux_sched_getscheduler( 9395ac26742SEdward Tomasz Napierala l_pid_t pid 9405ac26742SEdward Tomasz Napierala ); 9415ac26742SEdward Tomasz Napierala } 9425ac26742SEdward Tomasz Napierala146 AUE_SCHED_GET_PRIORITY_MAX STD { 9435ac26742SEdward Tomasz Napierala int linux_sched_get_priority_max( 9445ac26742SEdward Tomasz Napierala l_int policy 9455ac26742SEdward Tomasz Napierala ); 9465ac26742SEdward Tomasz Napierala } 9475ac26742SEdward Tomasz Napierala147 AUE_SCHED_GET_PRIORITY_MIN STD { 9485ac26742SEdward Tomasz Napierala int linux_sched_get_priority_min( 9495ac26742SEdward Tomasz Napierala l_int policy 9505ac26742SEdward Tomasz Napierala ); 9515ac26742SEdward Tomasz Napierala } 9525ac26742SEdward Tomasz Napierala148 AUE_SCHED_RR_GET_INTERVAL STD { 9535ac26742SEdward Tomasz Napierala int linux_sched_rr_get_interval( 9545ac26742SEdward Tomasz Napierala l_pid_t pid, 9555ac26742SEdward Tomasz Napierala struct l_timespec *interval 9565ac26742SEdward Tomasz Napierala ); 9575ac26742SEdward Tomasz Napierala } 9585ac26742SEdward Tomasz Napierala149 AUE_MLOCK NOPROTO { 9595ac26742SEdward Tomasz Napierala int mlock( 9605ac26742SEdward Tomasz Napierala const void *addr, 9615ac26742SEdward Tomasz Napierala size_t len 9625ac26742SEdward Tomasz Napierala ); 9635ac26742SEdward Tomasz Napierala } 9645ac26742SEdward Tomasz Napierala150 AUE_MUNLOCK NOPROTO { 9655ac26742SEdward Tomasz Napierala int munlock( 9665ac26742SEdward Tomasz Napierala const void *addr, 9675ac26742SEdward Tomasz Napierala size_t len 9685ac26742SEdward Tomasz Napierala ); 9695ac26742SEdward Tomasz Napierala } 9705ac26742SEdward Tomasz Napierala151 AUE_MLOCKALL NOPROTO { 9715ac26742SEdward Tomasz Napierala int mlockall( 9725ac26742SEdward Tomasz Napierala int how 9735ac26742SEdward Tomasz Napierala ); 9745ac26742SEdward Tomasz Napierala } 9755ac26742SEdward Tomasz Napierala152 AUE_MUNLOCKALL NOPROTO { 9765ac26742SEdward Tomasz Napierala int munlockall(void); 9775ac26742SEdward Tomasz Napierala } 9785ac26742SEdward Tomasz Napierala153 AUE_NULL STD { 9795ac26742SEdward Tomasz Napierala int linux_vhangup(void); 9805ac26742SEdward Tomasz Napierala } 9815ac26742SEdward Tomasz Napierala154 AUE_NULL STD { 9825ac26742SEdward Tomasz Napierala int linux_modify_ldt(void); 9835ac26742SEdward Tomasz Napierala } 9845ac26742SEdward Tomasz Napierala155 AUE_PIVOT_ROOT STD { 9855ac26742SEdward Tomasz Napierala int linux_pivot_root(void); 9865ac26742SEdward Tomasz Napierala } 9875ac26742SEdward Tomasz Napierala156 AUE_SYSCTL STD { 9885ac26742SEdward Tomasz Napierala int linux_sysctl( 9895ac26742SEdward Tomasz Napierala struct l___sysctl_args *args 9905ac26742SEdward Tomasz Napierala ); 9915ac26742SEdward Tomasz Napierala } 9925ac26742SEdward Tomasz Napierala157 AUE_PRCTL STD { 9935ac26742SEdward Tomasz Napierala int linux_prctl( 9945ac26742SEdward Tomasz Napierala l_int option, 9955ac26742SEdward Tomasz Napierala l_uintptr_t arg2, 9965ac26742SEdward Tomasz Napierala l_uintptr_t arg3, 9975ac26742SEdward Tomasz Napierala l_uintptr_t arg4, 9985ac26742SEdward Tomasz Napierala l_uintptr_t arg5 9995ac26742SEdward Tomasz Napierala ); 10005ac26742SEdward Tomasz Napierala } 10015ac26742SEdward Tomasz Napierala158 AUE_PRCTL STD { 10025ac26742SEdward Tomasz Napierala int linux_arch_prctl( 10035ac26742SEdward Tomasz Napierala l_int code, 10045ac26742SEdward Tomasz Napierala l_ulong addr 10055ac26742SEdward Tomasz Napierala ); 10065ac26742SEdward Tomasz Napierala } 10075ac26742SEdward Tomasz Napierala159 AUE_ADJTIME STD { 10085ac26742SEdward Tomasz Napierala int linux_adjtimex(void); 10095ac26742SEdward Tomasz Napierala } 10105ac26742SEdward Tomasz Napierala160 AUE_SETRLIMIT STD { 10115ac26742SEdward Tomasz Napierala int linux_setrlimit( 10125ac26742SEdward Tomasz Napierala l_uint resource, 10135ac26742SEdward Tomasz Napierala struct l_rlimit *rlim 10145ac26742SEdward Tomasz Napierala ); 10155ac26742SEdward Tomasz Napierala } 10165ac26742SEdward Tomasz Napierala161 AUE_CHROOT NOPROTO { 10175ac26742SEdward Tomasz Napierala int chroot( 10185ac26742SEdward Tomasz Napierala char *path 10195ac26742SEdward Tomasz Napierala ); 10205ac26742SEdward Tomasz Napierala } 10215ac26742SEdward Tomasz Napierala162 AUE_SYNC NOPROTO { 10225ac26742SEdward Tomasz Napierala int sync(void); 10235ac26742SEdward Tomasz Napierala } 10245ac26742SEdward Tomasz Napierala163 AUE_ACCT NOPROTO { 10255ac26742SEdward Tomasz Napierala int acct( 10265ac26742SEdward Tomasz Napierala char *path 10275ac26742SEdward Tomasz Napierala ); 10285ac26742SEdward Tomasz Napierala } 10295ac26742SEdward Tomasz Napierala164 AUE_SETTIMEOFDAY NOPROTO { 10305ac26742SEdward Tomasz Napierala int settimeofday( 10315ac26742SEdward Tomasz Napierala struct l_timeval *tv, 10325ac26742SEdward Tomasz Napierala struct timezone *tzp 10335ac26742SEdward Tomasz Napierala ); 10345ac26742SEdward Tomasz Napierala } 10355ac26742SEdward Tomasz Napierala165 AUE_MOUNT STD { 10365ac26742SEdward Tomasz Napierala int linux_mount( 10375ac26742SEdward Tomasz Napierala char *specialfile, 10385ac26742SEdward Tomasz Napierala char *dir, 10395ac26742SEdward Tomasz Napierala char *filesystemtype, 10405ac26742SEdward Tomasz Napierala l_ulong rwflag, 10415ac26742SEdward Tomasz Napierala void *data 10425ac26742SEdward Tomasz Napierala ); 10435ac26742SEdward Tomasz Napierala } 10445ac26742SEdward Tomasz Napierala166 AUE_UMOUNT STD { 10455ac26742SEdward Tomasz Napierala int linux_umount( 10465ac26742SEdward Tomasz Napierala char *path, 10475ac26742SEdward Tomasz Napierala l_int flags 10485ac26742SEdward Tomasz Napierala ); 10495ac26742SEdward Tomasz Napierala } 10505ac26742SEdward Tomasz Napierala167 AUE_SWAPON NOPROTO { 10515ac26742SEdward Tomasz Napierala int swapon( 10525ac26742SEdward Tomasz Napierala char *name 10535ac26742SEdward Tomasz Napierala ); 10545ac26742SEdward Tomasz Napierala } 10555ac26742SEdward Tomasz Napierala168 AUE_SWAPOFF STD { 10565ac26742SEdward Tomasz Napierala int linux_swapoff(void); 10575ac26742SEdward Tomasz Napierala } 10585ac26742SEdward Tomasz Napierala169 AUE_REBOOT STD { 10595ac26742SEdward Tomasz Napierala int linux_reboot( 10605ac26742SEdward Tomasz Napierala l_int magic1, 10615ac26742SEdward Tomasz Napierala l_int magic2, 10625ac26742SEdward Tomasz Napierala l_uint cmd, 10635ac26742SEdward Tomasz Napierala void *arg 10645ac26742SEdward Tomasz Napierala ); 10655ac26742SEdward Tomasz Napierala } 10665ac26742SEdward Tomasz Napierala170 AUE_SYSCTL STD { 10675ac26742SEdward Tomasz Napierala int linux_sethostname( 10685ac26742SEdward Tomasz Napierala char *hostname, 10698036e787SEdward Tomasz Napierala l_int len 10705ac26742SEdward Tomasz Napierala ); 10715ac26742SEdward Tomasz Napierala } 10725ac26742SEdward Tomasz Napierala171 AUE_SYSCTL STD { 10735ac26742SEdward Tomasz Napierala int linux_setdomainname( 10745ac26742SEdward Tomasz Napierala char *name, 10755ac26742SEdward Tomasz Napierala l_int len 10765ac26742SEdward Tomasz Napierala ); 10775ac26742SEdward Tomasz Napierala } 10785ac26742SEdward Tomasz Napierala172 AUE_NULL STD { 10795ac26742SEdward Tomasz Napierala int linux_iopl( 10805ac26742SEdward Tomasz Napierala l_uint level 10815ac26742SEdward Tomasz Napierala ); 10825ac26742SEdward Tomasz Napierala } 10835ac26742SEdward Tomasz Napierala173 AUE_NULL STD { 10845ac26742SEdward Tomasz Napierala int linux_ioperm(void); 10855ac26742SEdward Tomasz Napierala } 10868049c6bfSMahdi Mokhtari174 AUE_NULL UNIMPL create_module 10875ac26742SEdward Tomasz Napierala175 AUE_NULL STD { 10885ac26742SEdward Tomasz Napierala int linux_init_module(void); 10895ac26742SEdward Tomasz Napierala } 10905ac26742SEdward Tomasz Napierala176 AUE_NULL STD { 10915ac26742SEdward Tomasz Napierala int linux_delete_module(void); 10925ac26742SEdward Tomasz Napierala } 10938049c6bfSMahdi Mokhtari177 AUE_NULL UNIMPL get_kernel_syms 10948049c6bfSMahdi Mokhtari178 AUE_NULL UNIMPL query_module 10955ac26742SEdward Tomasz Napierala179 AUE_QUOTACTL STD { 10965ac26742SEdward Tomasz Napierala int linux_quotactl(void); 10975ac26742SEdward Tomasz Napierala } 10988049c6bfSMahdi Mokhtari180 AUE_NULL UNIMPL nfsservctl 10998049c6bfSMahdi Mokhtari181 AUE_GETPMSG UNIMPL getpmsg 11008049c6bfSMahdi Mokhtari182 AUE_PUTPMSG UNIMPL putpmsg 11018049c6bfSMahdi Mokhtari183 AUE_NULL UNIMPL afs_syscall 11028049c6bfSMahdi Mokhtari184 AUE_NULL UNIMPL tuxcall 11038049c6bfSMahdi Mokhtari185 AUE_NULL UNIMPL security 11045ac26742SEdward Tomasz Napierala186 AUE_NULL STD { 11055ac26742SEdward Tomasz Napierala int linux_gettid(void); 11065ac26742SEdward Tomasz Napierala } 11075ac26742SEdward Tomasz Napierala187 AUE_NULL STD { 11085ac26742SEdward Tomasz Napierala int linux_readahead(void); 11095ac26742SEdward Tomasz Napierala } 11105ac26742SEdward Tomasz Napierala188 AUE_NULL STD { 111136507f85SEdward Tomasz Napierala int linux_setxattr( 111236507f85SEdward Tomasz Napierala const char *path, 111336507f85SEdward Tomasz Napierala const char *name, 111441f2c69eSDmitry Chagin void *value, 111536507f85SEdward Tomasz Napierala l_size_t size, 111636507f85SEdward Tomasz Napierala l_int flags 111736507f85SEdward Tomasz Napierala ); 11185ac26742SEdward Tomasz Napierala } 11195ac26742SEdward Tomasz Napierala189 AUE_NULL STD { 112036507f85SEdward Tomasz Napierala int linux_lsetxattr( 112136507f85SEdward Tomasz Napierala const char *path, 112236507f85SEdward Tomasz Napierala const char *name, 112341f2c69eSDmitry Chagin void *value, 112436507f85SEdward Tomasz Napierala l_size_t size, 112536507f85SEdward Tomasz Napierala l_int flags 112636507f85SEdward Tomasz Napierala ); 11275ac26742SEdward Tomasz Napierala } 11285ac26742SEdward Tomasz Napierala190 AUE_NULL STD { 112936507f85SEdward Tomasz Napierala int linux_fsetxattr( 113036507f85SEdward Tomasz Napierala l_int fd, 113136507f85SEdward Tomasz Napierala const char *name, 113241f2c69eSDmitry Chagin void *value, 113336507f85SEdward Tomasz Napierala l_size_t size, 113436507f85SEdward Tomasz Napierala l_int flags 113536507f85SEdward Tomasz Napierala ); 11365ac26742SEdward Tomasz Napierala } 11375ac26742SEdward Tomasz Napierala191 AUE_NULL STD { 113836507f85SEdward Tomasz Napierala int linux_getxattr( 113936507f85SEdward Tomasz Napierala const char *path, 114036507f85SEdward Tomasz Napierala const char *name, 114141f2c69eSDmitry Chagin void *value, 114236507f85SEdward Tomasz Napierala l_size_t size 114336507f85SEdward Tomasz Napierala ); 11445ac26742SEdward Tomasz Napierala } 11455ac26742SEdward Tomasz Napierala192 AUE_NULL STD { 114636507f85SEdward Tomasz Napierala int linux_lgetxattr( 114736507f85SEdward Tomasz Napierala const char *path, 114836507f85SEdward Tomasz Napierala const char *name, 114941f2c69eSDmitry Chagin void *value, 115036507f85SEdward Tomasz Napierala l_size_t size 115136507f85SEdward Tomasz Napierala ); 11525ac26742SEdward Tomasz Napierala } 11535ac26742SEdward Tomasz Napierala193 AUE_NULL STD { 115436507f85SEdward Tomasz Napierala int linux_fgetxattr( 115536507f85SEdward Tomasz Napierala l_int fd, 115636507f85SEdward Tomasz Napierala const char *name, 115741f2c69eSDmitry Chagin void *value, 115836507f85SEdward Tomasz Napierala l_size_t size 115936507f85SEdward Tomasz Napierala ); 11605ac26742SEdward Tomasz Napierala } 11615ac26742SEdward Tomasz Napierala194 AUE_NULL STD { 116236507f85SEdward Tomasz Napierala int linux_listxattr( 116336507f85SEdward Tomasz Napierala const char *path, 116441f2c69eSDmitry Chagin char *list, 116536507f85SEdward Tomasz Napierala l_size_t size 116636507f85SEdward Tomasz Napierala ); 11675ac26742SEdward Tomasz Napierala } 11685ac26742SEdward Tomasz Napierala195 AUE_NULL STD { 116936507f85SEdward Tomasz Napierala int linux_llistxattr( 117036507f85SEdward Tomasz Napierala const char *path, 117141f2c69eSDmitry Chagin char *list, 117236507f85SEdward Tomasz Napierala l_size_t size 117336507f85SEdward Tomasz Napierala ); 11745ac26742SEdward Tomasz Napierala } 11755ac26742SEdward Tomasz Napierala196 AUE_NULL STD { 117636507f85SEdward Tomasz Napierala int linux_flistxattr( 117736507f85SEdward Tomasz Napierala l_int fd, 117841f2c69eSDmitry Chagin char *list, 117936507f85SEdward Tomasz Napierala l_size_t size 118036507f85SEdward Tomasz Napierala ); 11815ac26742SEdward Tomasz Napierala } 11825ac26742SEdward Tomasz Napierala197 AUE_NULL STD { 118336507f85SEdward Tomasz Napierala int linux_removexattr( 118436507f85SEdward Tomasz Napierala const char *path, 118536507f85SEdward Tomasz Napierala const char *name 118636507f85SEdward Tomasz Napierala ); 11875ac26742SEdward Tomasz Napierala } 11885ac26742SEdward Tomasz Napierala198 AUE_NULL STD { 118936507f85SEdward Tomasz Napierala int linux_lremovexattr( 119036507f85SEdward Tomasz Napierala const char *path, 119136507f85SEdward Tomasz Napierala const char *name 119236507f85SEdward Tomasz Napierala ); 11935ac26742SEdward Tomasz Napierala } 11945ac26742SEdward Tomasz Napierala199 AUE_NULL STD { 119536507f85SEdward Tomasz Napierala int linux_fremovexattr( 119636507f85SEdward Tomasz Napierala l_int fd, 119736507f85SEdward Tomasz Napierala const char *name 119836507f85SEdward Tomasz Napierala ); 11995ac26742SEdward Tomasz Napierala } 12005ac26742SEdward Tomasz Napierala200 AUE_NULL STD { 12015ac26742SEdward Tomasz Napierala int linux_tkill( 12028036e787SEdward Tomasz Napierala l_pid_t tid, 12035ac26742SEdward Tomasz Napierala l_int sig 12045ac26742SEdward Tomasz Napierala ); 12055ac26742SEdward Tomasz Napierala } 12065ac26742SEdward Tomasz Napierala201 AUE_NULL STD { 12075ac26742SEdward Tomasz Napierala int linux_time( 12085ac26742SEdward Tomasz Napierala l_time_t *tm 12095ac26742SEdward Tomasz Napierala ); 12105ac26742SEdward Tomasz Napierala } 12115ac26742SEdward Tomasz Napierala202 AUE_NULL STD { 12125ac26742SEdward Tomasz Napierala int linux_sys_futex( 12133c1de151SDmitry Chagin uint32_t *uaddr, 12145ac26742SEdward Tomasz Napierala l_int op, 12153c1de151SDmitry Chagin uint32_t val, 12165ac26742SEdward Tomasz Napierala struct l_timespec *timeout, 12173c1de151SDmitry Chagin uint32_t *uaddr2, 12183c1de151SDmitry Chagin uint32_t val3 12195ac26742SEdward Tomasz Napierala ); 12205ac26742SEdward Tomasz Napierala } 12215ac26742SEdward Tomasz Napierala203 AUE_NULL STD { 12225ac26742SEdward Tomasz Napierala int linux_sched_setaffinity( 12235ac26742SEdward Tomasz Napierala l_pid_t pid, 12245ac26742SEdward Tomasz Napierala l_uint len, 12255ac26742SEdward Tomasz Napierala l_ulong *user_mask_ptr 12265ac26742SEdward Tomasz Napierala ); 12275ac26742SEdward Tomasz Napierala } 12285ac26742SEdward Tomasz Napierala204 AUE_NULL STD { 12295ac26742SEdward Tomasz Napierala int linux_sched_getaffinity( 12305ac26742SEdward Tomasz Napierala l_pid_t pid, 12315ac26742SEdward Tomasz Napierala l_uint len, 12325ac26742SEdward Tomasz Napierala l_ulong *user_mask_ptr 12335ac26742SEdward Tomasz Napierala ); 12345ac26742SEdward Tomasz Napierala } 12358049c6bfSMahdi Mokhtari205 AUE_NULL UNIMPL set_thread_area 12365ac26742SEdward Tomasz Napierala206 AUE_NULL STD { 12375ac26742SEdward Tomasz Napierala int linux_io_setup(void); 12385ac26742SEdward Tomasz Napierala } 12395ac26742SEdward Tomasz Napierala207 AUE_NULL STD { 12405ac26742SEdward Tomasz Napierala int linux_io_destroy(void); 12415ac26742SEdward Tomasz Napierala } 12425ac26742SEdward Tomasz Napierala208 AUE_NULL STD { 12435ac26742SEdward Tomasz Napierala int linux_io_getevents(void); 12445ac26742SEdward Tomasz Napierala } 12455ac26742SEdward Tomasz Napierala209 AUE_NULL STD { 12465ac26742SEdward Tomasz Napierala int linux_io_submit(void); 12475ac26742SEdward Tomasz Napierala } 12485ac26742SEdward Tomasz Napierala210 AUE_NULL STD { 12495ac26742SEdward Tomasz Napierala int linux_io_cancel(void); 12505ac26742SEdward Tomasz Napierala } 12518049c6bfSMahdi Mokhtari211 AUE_NULL UNIMPL get_thread_area 12525ac26742SEdward Tomasz Napierala212 AUE_NULL STD { 12535ac26742SEdward Tomasz Napierala int linux_lookup_dcookie(void); 12545ac26742SEdward Tomasz Napierala } 12555ac26742SEdward Tomasz Napierala213 AUE_NULL STD { 12565ac26742SEdward Tomasz Napierala int linux_epoll_create( 12575ac26742SEdward Tomasz Napierala l_int size 12585ac26742SEdward Tomasz Napierala ); 12595ac26742SEdward Tomasz Napierala } 12608049c6bfSMahdi Mokhtari214 AUE_NULL UNIMPL epoll_ctl_old 12618049c6bfSMahdi Mokhtari215 AUE_NULL UNIMPL epoll_wait_old 12625ac26742SEdward Tomasz Napierala216 AUE_NULL STD { 12635ac26742SEdward Tomasz Napierala int linux_remap_file_pages(void); 12645ac26742SEdward Tomasz Napierala } 12655ac26742SEdward Tomasz Napierala217 AUE_GETDIRENTRIES STD { 12665ac26742SEdward Tomasz Napierala int linux_getdents64( 12675ac26742SEdward Tomasz Napierala l_uint fd, 12685ac26742SEdward Tomasz Napierala void *dirent, 12695ac26742SEdward Tomasz Napierala l_uint count 12705ac26742SEdward Tomasz Napierala ); 12715ac26742SEdward Tomasz Napierala } 12725ac26742SEdward Tomasz Napierala218 AUE_NULL STD { 12735ac26742SEdward Tomasz Napierala int linux_set_tid_address( 12745ac26742SEdward Tomasz Napierala l_int *tidptr 12755ac26742SEdward Tomasz Napierala ); 12765ac26742SEdward Tomasz Napierala } 12775ac26742SEdward Tomasz Napierala219 AUE_NULL STD { 12785ac26742SEdward Tomasz Napierala int linux_restart_syscall(void); 12795ac26742SEdward Tomasz Napierala } 12805ac26742SEdward Tomasz Napierala220 AUE_NULL STD { 1281f19c4e23SDmitry Chagin int linux_semtimedop( 1282f19c4e23SDmitry Chagin l_int semid, 1283f19c4e23SDmitry Chagin struct sembuf *tsops, 1284f19c4e23SDmitry Chagin l_size_t nsops, 1285f19c4e23SDmitry Chagin struct l_timespec *timeout 1286f19c4e23SDmitry Chagin ); 12875ac26742SEdward Tomasz Napierala } 12885ac26742SEdward Tomasz Napierala221 AUE_NULL STD { 12895ac26742SEdward Tomasz Napierala int linux_fadvise64( 12905ac26742SEdward Tomasz Napierala l_int fd, 12915ac26742SEdward Tomasz Napierala l_loff_t offset, 12925ac26742SEdward Tomasz Napierala l_size_t len, 12935ac26742SEdward Tomasz Napierala l_int advice 12945ac26742SEdward Tomasz Napierala ); 12955ac26742SEdward Tomasz Napierala } 12965ac26742SEdward Tomasz Napierala222 AUE_NULL STD { 12975ac26742SEdward Tomasz Napierala int linux_timer_create( 12985ac26742SEdward Tomasz Napierala clockid_t clock_id, 1299*427db2c4SRicardo Branco struct l_sigevent *evp, 13005ac26742SEdward Tomasz Napierala l_timer_t *timerid 13015ac26742SEdward Tomasz Napierala ); 13025ac26742SEdward Tomasz Napierala } 13035ac26742SEdward Tomasz Napierala223 AUE_NULL STD { 13045ac26742SEdward Tomasz Napierala int linux_timer_settime( 13055ac26742SEdward Tomasz Napierala l_timer_t timerid, 13065ac26742SEdward Tomasz Napierala l_int flags, 13075ac26742SEdward Tomasz Napierala const struct itimerspec *new, 13085ac26742SEdward Tomasz Napierala struct itimerspec *old 13095ac26742SEdward Tomasz Napierala ); 13105ac26742SEdward Tomasz Napierala } 13115ac26742SEdward Tomasz Napierala224 AUE_NULL STD { 13125ac26742SEdward Tomasz Napierala int linux_timer_gettime( 13135ac26742SEdward Tomasz Napierala l_timer_t timerid, 13145ac26742SEdward Tomasz Napierala struct itimerspec *setting 13155ac26742SEdward Tomasz Napierala ); 13165ac26742SEdward Tomasz Napierala } 13175ac26742SEdward Tomasz Napierala225 AUE_NULL STD { 13185ac26742SEdward Tomasz Napierala int linux_timer_getoverrun( 13195ac26742SEdward Tomasz Napierala l_timer_t timerid 13205ac26742SEdward Tomasz Napierala ); 13215ac26742SEdward Tomasz Napierala } 13225ac26742SEdward Tomasz Napierala226 AUE_NULL STD { 13235ac26742SEdward Tomasz Napierala int linux_timer_delete( 13245ac26742SEdward Tomasz Napierala l_timer_t timerid 13255ac26742SEdward Tomasz Napierala ); 13265ac26742SEdward Tomasz Napierala } 13275ac26742SEdward Tomasz Napierala227 AUE_CLOCK_SETTIME STD { 13285ac26742SEdward Tomasz Napierala int linux_clock_settime( 13295ac26742SEdward Tomasz Napierala clockid_t which, 13305ac26742SEdward Tomasz Napierala struct l_timespec *tp 13315ac26742SEdward Tomasz Napierala ); 13325ac26742SEdward Tomasz Napierala } 13335ac26742SEdward Tomasz Napierala228 AUE_NULL STD { 13345ac26742SEdward Tomasz Napierala int linux_clock_gettime( 13355ac26742SEdward Tomasz Napierala clockid_t which, 13365ac26742SEdward Tomasz Napierala struct l_timespec *tp 13375ac26742SEdward Tomasz Napierala ); 13385ac26742SEdward Tomasz Napierala } 13395ac26742SEdward Tomasz Napierala229 AUE_NULL STD { 13405ac26742SEdward Tomasz Napierala int linux_clock_getres( 13415ac26742SEdward Tomasz Napierala clockid_t which, 13425ac26742SEdward Tomasz Napierala struct l_timespec *tp 13435ac26742SEdward Tomasz Napierala ); 13445ac26742SEdward Tomasz Napierala } 13455ac26742SEdward Tomasz Napierala230 AUE_NULL STD { 13465ac26742SEdward Tomasz Napierala int linux_clock_nanosleep( 13475ac26742SEdward Tomasz Napierala clockid_t which, 13488036e787SEdward Tomasz Napierala l_int flags, 13495ac26742SEdward Tomasz Napierala struct l_timespec *rqtp, 13505ac26742SEdward Tomasz Napierala struct l_timespec *rmtp 13515ac26742SEdward Tomasz Napierala ); 13525ac26742SEdward Tomasz Napierala } 13535ac26742SEdward Tomasz Napierala231 AUE_EXIT STD { 13545ac26742SEdward Tomasz Napierala int linux_exit_group( 13555ac26742SEdward Tomasz Napierala l_int error_code 13565ac26742SEdward Tomasz Napierala ); 13575ac26742SEdward Tomasz Napierala } 13585ac26742SEdward Tomasz Napierala232 AUE_NULL STD { 13595ac26742SEdward Tomasz Napierala int linux_epoll_wait( 13605ac26742SEdward Tomasz Napierala l_int epfd, 13615ac26742SEdward Tomasz Napierala struct epoll_event *events, 13625ac26742SEdward Tomasz Napierala l_int maxevents, 13635ac26742SEdward Tomasz Napierala l_int timeout 13645ac26742SEdward Tomasz Napierala ); 13655ac26742SEdward Tomasz Napierala } 13665ac26742SEdward Tomasz Napierala233 AUE_NULL STD { 13675ac26742SEdward Tomasz Napierala int linux_epoll_ctl( 13685ac26742SEdward Tomasz Napierala l_int epfd, 13695ac26742SEdward Tomasz Napierala l_int op, 13705ac26742SEdward Tomasz Napierala l_int fd, 13715ac26742SEdward Tomasz Napierala struct epoll_event *event 13725ac26742SEdward Tomasz Napierala ); 13735ac26742SEdward Tomasz Napierala } 13745ac26742SEdward Tomasz Napierala234 AUE_NULL STD { 13755ac26742SEdward Tomasz Napierala int linux_tgkill( 13768036e787SEdward Tomasz Napierala l_pid_t tgid, 13778036e787SEdward Tomasz Napierala l_pid_t pid, 13785ac26742SEdward Tomasz Napierala l_int sig 13795ac26742SEdward Tomasz Napierala ); 13805ac26742SEdward Tomasz Napierala } 13815ac26742SEdward Tomasz Napierala235 AUE_UTIMES STD { 13825ac26742SEdward Tomasz Napierala int linux_utimes( 13835ac26742SEdward Tomasz Napierala char *fname, 13845ac26742SEdward Tomasz Napierala struct l_timeval *tptr 13855ac26742SEdward Tomasz Napierala ); 13865ac26742SEdward Tomasz Napierala } 1387b2f58791SDmitry Chagin236 AUE_NULL UNIMPL vserver 13885ac26742SEdward Tomasz Napierala237 AUE_NULL STD { 13895ac26742SEdward Tomasz Napierala int linux_mbind(void); 13905ac26742SEdward Tomasz Napierala } 13915ac26742SEdward Tomasz Napierala238 AUE_NULL STD { 13925ac26742SEdward Tomasz Napierala int linux_set_mempolicy(void); 13935ac26742SEdward Tomasz Napierala } 13945ac26742SEdward Tomasz Napierala239 AUE_NULL STD { 13955ac26742SEdward Tomasz Napierala int linux_get_mempolicy(void); 13965ac26742SEdward Tomasz Napierala } 13975ac26742SEdward Tomasz Napierala240 AUE_NULL STD { 1398308e194cSEdward Tomasz Napierala int linux_mq_open( 1399308e194cSEdward Tomasz Napierala const char *name, 1400308e194cSEdward Tomasz Napierala l_int oflag, 1401308e194cSEdward Tomasz Napierala l_mode_t mode, 1402308e194cSEdward Tomasz Napierala struct mq_attr *attr 1403308e194cSEdward Tomasz Napierala ); 14045ac26742SEdward Tomasz Napierala } 14055ac26742SEdward Tomasz Napierala241 AUE_NULL STD { 1406308e194cSEdward Tomasz Napierala int linux_mq_unlink( 1407308e194cSEdward Tomasz Napierala const char *name 1408308e194cSEdward Tomasz Napierala ); 14095ac26742SEdward Tomasz Napierala } 14105ac26742SEdward Tomasz Napierala242 AUE_NULL STD { 1411308e194cSEdward Tomasz Napierala int linux_mq_timedsend( 1412308e194cSEdward Tomasz Napierala l_mqd_t mqd, 1413308e194cSEdward Tomasz Napierala const char *msg_ptr, 1414308e194cSEdward Tomasz Napierala l_size_t msg_len, 1415308e194cSEdward Tomasz Napierala l_uint msg_prio, 1416308e194cSEdward Tomasz Napierala const struct l_timespec *abs_timeout 1417308e194cSEdward Tomasz Napierala ); 14185ac26742SEdward Tomasz Napierala } 14195ac26742SEdward Tomasz Napierala243 AUE_NULL STD { 1420308e194cSEdward Tomasz Napierala int linux_mq_timedreceive( 1421308e194cSEdward Tomasz Napierala l_mqd_t mqd, 1422308e194cSEdward Tomasz Napierala char *msg_ptr, 1423308e194cSEdward Tomasz Napierala l_size_t msg_len, 1424308e194cSEdward Tomasz Napierala l_uint *msg_prio, 1425308e194cSEdward Tomasz Napierala const struct l_timespec *abs_timeout 1426308e194cSEdward Tomasz Napierala ); 14275ac26742SEdward Tomasz Napierala } 14285ac26742SEdward Tomasz Napierala244 AUE_NULL STD { 1429308e194cSEdward Tomasz Napierala int linux_mq_notify( 1430308e194cSEdward Tomasz Napierala l_mqd_t mqd, 1431*427db2c4SRicardo Branco const struct l_sigevent *sevp, 1432308e194cSEdward Tomasz Napierala ); 14335ac26742SEdward Tomasz Napierala } 14345ac26742SEdward Tomasz Napierala245 AUE_NULL STD { 1435308e194cSEdward Tomasz Napierala int linux_mq_getsetattr( 1436308e194cSEdward Tomasz Napierala l_mqd_t mqd, 1437308e194cSEdward Tomasz Napierala const struct mq_attr *attr, 1438308e194cSEdward Tomasz Napierala struct mq_attr *oattr 1439308e194cSEdward Tomasz Napierala ); 14405ac26742SEdward Tomasz Napierala } 14415ac26742SEdward Tomasz Napierala246 AUE_NULL STD { 14425ac26742SEdward Tomasz Napierala int linux_kexec_load(void); 14435ac26742SEdward Tomasz Napierala } 14445ac26742SEdward Tomasz Napierala247 AUE_WAIT6 STD { 14455ac26742SEdward Tomasz Napierala int linux_waitid( 14465ac26742SEdward Tomasz Napierala l_int idtype, 14475ac26742SEdward Tomasz Napierala l_pid_t id, 14485ac26742SEdward Tomasz Napierala l_siginfo_t *info, 14495ac26742SEdward Tomasz Napierala l_int options, 14505ac26742SEdward Tomasz Napierala struct rusage *rusage 14515ac26742SEdward Tomasz Napierala ); 14525ac26742SEdward Tomasz Napierala } 14535ac26742SEdward Tomasz Napierala248 AUE_NULL STD { 14545ac26742SEdward Tomasz Napierala int linux_add_key(void); 14555ac26742SEdward Tomasz Napierala } 14565ac26742SEdward Tomasz Napierala249 AUE_NULL STD { 14575ac26742SEdward Tomasz Napierala int linux_request_key(void); 14585ac26742SEdward Tomasz Napierala } 14595ac26742SEdward Tomasz Napierala250 AUE_NULL STD { 14605ac26742SEdward Tomasz Napierala int linux_keyctl(void); 14615ac26742SEdward Tomasz Napierala } 14621c83154eSDmitry Chagin251 AUE_SETPRIORITY STD { 14631c83154eSDmitry Chagin int linux_ioprio_set( 14641c83154eSDmitry Chagin l_int which, 14651c83154eSDmitry Chagin l_int who, 14661c83154eSDmitry Chagin l_int ioprio 14671c83154eSDmitry Chagin ); 14685ac26742SEdward Tomasz Napierala } 14691c83154eSDmitry Chagin252 AUE_GETPRIORITY STD { 14701c83154eSDmitry Chagin int linux_ioprio_get( 14711c83154eSDmitry Chagin l_int which, 14721c83154eSDmitry Chagin l_int who 14731c83154eSDmitry Chagin ); 14745ac26742SEdward Tomasz Napierala } 14755ac26742SEdward Tomasz Napierala253 AUE_NULL STD { 14765ac26742SEdward Tomasz Napierala int linux_inotify_init(void); 14775ac26742SEdward Tomasz Napierala } 14785ac26742SEdward Tomasz Napierala254 AUE_NULL STD { 14795ac26742SEdward Tomasz Napierala int linux_inotify_add_watch(void); 14805ac26742SEdward Tomasz Napierala } 14815ac26742SEdward Tomasz Napierala255 AUE_NULL STD { 14825ac26742SEdward Tomasz Napierala int linux_inotify_rm_watch(void); 14835ac26742SEdward Tomasz Napierala } 14845ac26742SEdward Tomasz Napierala256 AUE_NULL STD { 14855ac26742SEdward Tomasz Napierala int linux_migrate_pages(void); 14865ac26742SEdward Tomasz Napierala } 14875ac26742SEdward Tomasz Napierala257 AUE_OPEN_RWTC STD { 14885ac26742SEdward Tomasz Napierala int linux_openat( 14895ac26742SEdward Tomasz Napierala l_int dfd, 14905ac26742SEdward Tomasz Napierala const char *filename, 14915ac26742SEdward Tomasz Napierala l_int flags, 14928036e787SEdward Tomasz Napierala l_mode_t mode 14935ac26742SEdward Tomasz Napierala ); 14945ac26742SEdward Tomasz Napierala } 14955ac26742SEdward Tomasz Napierala258 AUE_MKDIRAT STD { 14965ac26742SEdward Tomasz Napierala int linux_mkdirat( 14975ac26742SEdward Tomasz Napierala l_int dfd, 14985ac26742SEdward Tomasz Napierala const char *pathname, 14998036e787SEdward Tomasz Napierala l_mode_t mode 15005ac26742SEdward Tomasz Napierala ); 15015ac26742SEdward Tomasz Napierala } 15025ac26742SEdward Tomasz Napierala259 AUE_MKNODAT STD { 15035ac26742SEdward Tomasz Napierala int linux_mknodat( 15045ac26742SEdward Tomasz Napierala l_int dfd, 15055ac26742SEdward Tomasz Napierala const char *filename, 15068036e787SEdward Tomasz Napierala l_mode_t mode, 1507ca3333ddSDmitry Chagin l_dev_t dev 15085ac26742SEdward Tomasz Napierala ); 15095ac26742SEdward Tomasz Napierala } 15105ac26742SEdward Tomasz Napierala260 AUE_FCHOWNAT STD { 15115ac26742SEdward Tomasz Napierala int linux_fchownat( 15125ac26742SEdward Tomasz Napierala l_int dfd, 15135ac26742SEdward Tomasz Napierala const char *filename, 15145ac26742SEdward Tomasz Napierala l_uid_t uid, 15155ac26742SEdward Tomasz Napierala l_gid_t gid, 15165ac26742SEdward Tomasz Napierala l_int flag 15175ac26742SEdward Tomasz Napierala ); 15185ac26742SEdward Tomasz Napierala } 15195ac26742SEdward Tomasz Napierala261 AUE_FUTIMESAT STD { 15205ac26742SEdward Tomasz Napierala int linux_futimesat( 15215ac26742SEdward Tomasz Napierala l_int dfd, 15225ac26742SEdward Tomasz Napierala char *filename, 15235ac26742SEdward Tomasz Napierala struct l_timeval *utimes 15245ac26742SEdward Tomasz Napierala ); 15255ac26742SEdward Tomasz Napierala } 15265ac26742SEdward Tomasz Napierala262 AUE_FSTATAT STD { 15275ac26742SEdward Tomasz Napierala int linux_newfstatat( 15285ac26742SEdward Tomasz Napierala l_int dfd, 15295ac26742SEdward Tomasz Napierala char *pathname, 15305ac26742SEdward Tomasz Napierala struct l_stat64 *statbuf, 15315ac26742SEdward Tomasz Napierala l_int flag 15325ac26742SEdward Tomasz Napierala ); 15335ac26742SEdward Tomasz Napierala } 15345ac26742SEdward Tomasz Napierala263 AUE_UNLINKAT STD { 15355ac26742SEdward Tomasz Napierala int linux_unlinkat( 15365ac26742SEdward Tomasz Napierala l_int dfd, 15375ac26742SEdward Tomasz Napierala const char *pathname, 15385ac26742SEdward Tomasz Napierala l_int flag 15395ac26742SEdward Tomasz Napierala ); 15405ac26742SEdward Tomasz Napierala } 15415ac26742SEdward Tomasz Napierala264 AUE_RENAMEAT STD { 15425ac26742SEdward Tomasz Napierala int linux_renameat( 15435ac26742SEdward Tomasz Napierala l_int olddfd, 15445ac26742SEdward Tomasz Napierala const char *oldname, 15455ac26742SEdward Tomasz Napierala l_int newdfd, 15465ac26742SEdward Tomasz Napierala const char *newname 15475ac26742SEdward Tomasz Napierala ); 15485ac26742SEdward Tomasz Napierala } 15495ac26742SEdward Tomasz Napierala265 AUE_LINKAT STD { 15505ac26742SEdward Tomasz Napierala int linux_linkat( 15515ac26742SEdward Tomasz Napierala l_int olddfd, 15525ac26742SEdward Tomasz Napierala const char *oldname, 15535ac26742SEdward Tomasz Napierala l_int newdfd, 15545ac26742SEdward Tomasz Napierala const char *newname, 15555ac26742SEdward Tomasz Napierala l_int flag 15565ac26742SEdward Tomasz Napierala ); 15575ac26742SEdward Tomasz Napierala } 15585ac26742SEdward Tomasz Napierala266 AUE_SYMLINKAT STD { 15595ac26742SEdward Tomasz Napierala int linux_symlinkat( 15605ac26742SEdward Tomasz Napierala const char *oldname, 15615ac26742SEdward Tomasz Napierala l_int newdfd, 15625ac26742SEdward Tomasz Napierala const char *newname 15635ac26742SEdward Tomasz Napierala ); 15645ac26742SEdward Tomasz Napierala } 15655ac26742SEdward Tomasz Napierala267 AUE_READLINKAT STD { 15665ac26742SEdward Tomasz Napierala int linux_readlinkat( 15675ac26742SEdward Tomasz Napierala l_int dfd, 15685ac26742SEdward Tomasz Napierala const char *path, 15695ac26742SEdward Tomasz Napierala char *buf, 15705ac26742SEdward Tomasz Napierala l_int bufsiz 15715ac26742SEdward Tomasz Napierala ); 15725ac26742SEdward Tomasz Napierala } 15735ac26742SEdward Tomasz Napierala268 AUE_FCHMODAT STD { 15745ac26742SEdward Tomasz Napierala int linux_fchmodat( 15755ac26742SEdward Tomasz Napierala l_int dfd, 15765ac26742SEdward Tomasz Napierala const char *filename, 15775ac26742SEdward Tomasz Napierala l_mode_t mode 15785ac26742SEdward Tomasz Napierala ); 15795ac26742SEdward Tomasz Napierala } 15805ac26742SEdward Tomasz Napierala269 AUE_FACCESSAT STD { 15815ac26742SEdward Tomasz Napierala int linux_faccessat( 15825ac26742SEdward Tomasz Napierala l_int dfd, 15835ac26742SEdward Tomasz Napierala const char *filename, 15845ac26742SEdward Tomasz Napierala l_int amode 15855ac26742SEdward Tomasz Napierala ); 15865ac26742SEdward Tomasz Napierala } 15875ac26742SEdward Tomasz Napierala270 AUE_SELECT STD { 15885ac26742SEdward Tomasz Napierala int linux_pselect6( 15895ac26742SEdward Tomasz Napierala l_int nfds, 15905ac26742SEdward Tomasz Napierala l_fd_set *readfds, 15915ac26742SEdward Tomasz Napierala l_fd_set *writefds, 15925ac26742SEdward Tomasz Napierala l_fd_set *exceptfds, 15935ac26742SEdward Tomasz Napierala struct l_timespec *tsp, 15945ac26742SEdward Tomasz Napierala l_uintptr_t *sig 15955ac26742SEdward Tomasz Napierala ); 15965ac26742SEdward Tomasz Napierala } 15975ac26742SEdward Tomasz Napierala271 AUE_POLL STD { 15985ac26742SEdward Tomasz Napierala int linux_ppoll( 15995ac26742SEdward Tomasz Napierala struct pollfd *fds, 16008036e787SEdward Tomasz Napierala l_uint nfds, 16015ac26742SEdward Tomasz Napierala struct l_timespec *tsp, 16025ac26742SEdward Tomasz Napierala l_sigset_t *sset, 16035ac26742SEdward Tomasz Napierala l_size_t ssize 16045ac26742SEdward Tomasz Napierala ); 16055ac26742SEdward Tomasz Napierala } 16065ac26742SEdward Tomasz Napierala272 AUE_NULL STD { 16075ac26742SEdward Tomasz Napierala int linux_unshare(void); 16085ac26742SEdward Tomasz Napierala } 16095ac26742SEdward Tomasz Napierala273 AUE_NULL STD { 16105ac26742SEdward Tomasz Napierala int linux_set_robust_list( 16115ac26742SEdward Tomasz Napierala struct linux_robust_list_head *head, 16125ac26742SEdward Tomasz Napierala l_size_t len 16135ac26742SEdward Tomasz Napierala ); 16145ac26742SEdward Tomasz Napierala } 16155ac26742SEdward Tomasz Napierala274 AUE_NULL STD { 16165ac26742SEdward Tomasz Napierala int linux_get_robust_list( 16175ac26742SEdward Tomasz Napierala l_int pid, 16185ac26742SEdward Tomasz Napierala struct linux_robust_list_head **head, 16195ac26742SEdward Tomasz Napierala l_size_t *len 16205ac26742SEdward Tomasz Napierala ); 16215ac26742SEdward Tomasz Napierala } 16225ac26742SEdward Tomasz Napierala275 AUE_NULL STD { 16238d1d0171SEdward Tomasz Napierala int linux_splice( 16248d1d0171SEdward Tomasz Napierala int fd_in, 16258d1d0171SEdward Tomasz Napierala l_loff_t *off_in, 16268d1d0171SEdward Tomasz Napierala int fd_out, 16278d1d0171SEdward Tomasz Napierala l_loff_t *off_out, 16288d1d0171SEdward Tomasz Napierala l_size_t len, 16298d1d0171SEdward Tomasz Napierala l_uint flags 16308d1d0171SEdward Tomasz Napierala ); 16315ac26742SEdward Tomasz Napierala } 16325ac26742SEdward Tomasz Napierala276 AUE_NULL STD { 16335ac26742SEdward Tomasz Napierala int linux_tee(void); 16345ac26742SEdward Tomasz Napierala } 16355ac26742SEdward Tomasz Napierala277 AUE_NULL STD { 16365ac26742SEdward Tomasz Napierala int linux_sync_file_range( 16375ac26742SEdward Tomasz Napierala l_int fd, 16385ac26742SEdward Tomasz Napierala l_loff_t offset, 16395ac26742SEdward Tomasz Napierala l_loff_t nbytes, 16408036e787SEdward Tomasz Napierala l_uint flags 16415ac26742SEdward Tomasz Napierala ); 16425ac26742SEdward Tomasz Napierala } 16435ac26742SEdward Tomasz Napierala278 AUE_NULL STD { 16445ac26742SEdward Tomasz Napierala int linux_vmsplice(void); 16455ac26742SEdward Tomasz Napierala } 16465ac26742SEdward Tomasz Napierala279 AUE_NULL STD { 16475ac26742SEdward Tomasz Napierala int linux_move_pages(void); 16485ac26742SEdward Tomasz Napierala } 16495ac26742SEdward Tomasz Napierala280 AUE_FUTIMESAT STD { 16505ac26742SEdward Tomasz Napierala int linux_utimensat( 16515ac26742SEdward Tomasz Napierala l_int dfd, 16525ac26742SEdward Tomasz Napierala const char *pathname, 16535ac26742SEdward Tomasz Napierala const struct l_timespec *times, 16545ac26742SEdward Tomasz Napierala l_int flags 16555ac26742SEdward Tomasz Napierala ); 16565ac26742SEdward Tomasz Napierala } 16575ac26742SEdward Tomasz Napierala281 AUE_NULL STD { 16585ac26742SEdward Tomasz Napierala int linux_epoll_pwait( 16595ac26742SEdward Tomasz Napierala l_int epfd, 16605ac26742SEdward Tomasz Napierala struct epoll_event *events, 16615ac26742SEdward Tomasz Napierala l_int maxevents, 16625ac26742SEdward Tomasz Napierala l_int timeout, 16635ac26742SEdward Tomasz Napierala l_sigset_t *mask, 16645ac26742SEdward Tomasz Napierala l_size_t sigsetsize 16655ac26742SEdward Tomasz Napierala ); 16665ac26742SEdward Tomasz Napierala } 16675ac26742SEdward Tomasz Napierala282 AUE_NULL STD { 16685ac26742SEdward Tomasz Napierala int linux_signalfd(void); 16695ac26742SEdward Tomasz Napierala } 16705ac26742SEdward Tomasz Napierala283 AUE_NULL STD { 16715ac26742SEdward Tomasz Napierala int linux_timerfd_create( 16725ac26742SEdward Tomasz Napierala l_int clockid, 16735ac26742SEdward Tomasz Napierala l_int flags 16745ac26742SEdward Tomasz Napierala ); 16755ac26742SEdward Tomasz Napierala } 16765ac26742SEdward Tomasz Napierala284 AUE_NULL STD { 16775ac26742SEdward Tomasz Napierala int linux_eventfd( 16785ac26742SEdward Tomasz Napierala l_uint initval 16795ac26742SEdward Tomasz Napierala ); 16805ac26742SEdward Tomasz Napierala } 16815ac26742SEdward Tomasz Napierala285 AUE_NULL STD { 16825ac26742SEdward Tomasz Napierala int linux_fallocate( 16835ac26742SEdward Tomasz Napierala l_int fd, 16845ac26742SEdward Tomasz Napierala l_int mode, 16855ac26742SEdward Tomasz Napierala l_loff_t offset, 16865ac26742SEdward Tomasz Napierala l_loff_t len 16875ac26742SEdward Tomasz Napierala ); 16885ac26742SEdward Tomasz Napierala } 16895ac26742SEdward Tomasz Napierala286 AUE_NULL STD { 16905ac26742SEdward Tomasz Napierala int linux_timerfd_settime( 16915ac26742SEdward Tomasz Napierala l_int fd, 16925ac26742SEdward Tomasz Napierala l_int flags, 16935ac26742SEdward Tomasz Napierala const struct l_itimerspec *new_value, 16945ac26742SEdward Tomasz Napierala struct l_itimerspec *old_value 16955ac26742SEdward Tomasz Napierala ); 16965ac26742SEdward Tomasz Napierala } 16975ac26742SEdward Tomasz Napierala287 AUE_NULL STD { 16985ac26742SEdward Tomasz Napierala int linux_timerfd_gettime( 16995ac26742SEdward Tomasz Napierala l_int fd, 17005ac26742SEdward Tomasz Napierala struct l_itimerspec *old_value 17015ac26742SEdward Tomasz Napierala ); 17025ac26742SEdward Tomasz Napierala } 17035ac26742SEdward Tomasz Napierala288 AUE_ACCEPT STD { 17045ac26742SEdward Tomasz Napierala int linux_accept4( 17055ac26742SEdward Tomasz Napierala l_int s, 17065ac26742SEdward Tomasz Napierala l_uintptr_t addr, 17075ac26742SEdward Tomasz Napierala l_uintptr_t namelen, 17088036e787SEdward Tomasz Napierala l_int flags 17095ac26742SEdward Tomasz Napierala ); 17105ac26742SEdward Tomasz Napierala } 1711eae594f7SEd Maste; Linux 2.6.27: 17125ac26742SEdward Tomasz Napierala289 AUE_NULL STD { 17135ac26742SEdward Tomasz Napierala int linux_signalfd4(void); 17145ac26742SEdward Tomasz Napierala } 17155ac26742SEdward Tomasz Napierala290 AUE_NULL STD { 17165ac26742SEdward Tomasz Napierala int linux_eventfd2( 17175ac26742SEdward Tomasz Napierala l_uint initval, 17185ac26742SEdward Tomasz Napierala l_int flags 17195ac26742SEdward Tomasz Napierala ); 17205ac26742SEdward Tomasz Napierala } 17215ac26742SEdward Tomasz Napierala291 AUE_NULL STD { 17225ac26742SEdward Tomasz Napierala int linux_epoll_create1( 17235ac26742SEdward Tomasz Napierala l_int flags 17245ac26742SEdward Tomasz Napierala ); 17255ac26742SEdward Tomasz Napierala } 17265ac26742SEdward Tomasz Napierala292 AUE_NULL STD { 17275ac26742SEdward Tomasz Napierala int linux_dup3( 17288036e787SEdward Tomasz Napierala l_uint oldfd, 17298036e787SEdward Tomasz Napierala l_uint newfd, 17305ac26742SEdward Tomasz Napierala l_int flags 17315ac26742SEdward Tomasz Napierala ); 17325ac26742SEdward Tomasz Napierala } 17335ac26742SEdward Tomasz Napierala293 AUE_NULL STD { 17345ac26742SEdward Tomasz Napierala int linux_pipe2( 17355ac26742SEdward Tomasz Napierala l_int *pipefds, 17365ac26742SEdward Tomasz Napierala l_int flags 17375ac26742SEdward Tomasz Napierala ); 17385ac26742SEdward Tomasz Napierala } 17395ac26742SEdward Tomasz Napierala294 AUE_NULL STD { 17405ac26742SEdward Tomasz Napierala int linux_inotify_init1( 17415ac26742SEdward Tomasz Napierala l_int flags 17425ac26742SEdward Tomasz Napierala ); 17435ac26742SEdward Tomasz Napierala } 1744eae594f7SEd Maste; Linux 2.6.30: 17455ac26742SEdward Tomasz Napierala295 AUE_NULL STD { 17465ac26742SEdward Tomasz Napierala int linux_preadv( 17475ac26742SEdward Tomasz Napierala l_ulong fd, 17485ac26742SEdward Tomasz Napierala struct iovec *vec, 17495ac26742SEdward Tomasz Napierala l_ulong vlen, 17505ac26742SEdward Tomasz Napierala l_ulong pos_l, 17515ac26742SEdward Tomasz Napierala l_ulong pos_h 17525ac26742SEdward Tomasz Napierala ); 17535ac26742SEdward Tomasz Napierala } 17545ac26742SEdward Tomasz Napierala296 AUE_NULL STD { 17555ac26742SEdward Tomasz Napierala int linux_pwritev( 17565ac26742SEdward Tomasz Napierala l_ulong fd, 17575ac26742SEdward Tomasz Napierala struct iovec *vec, 17585ac26742SEdward Tomasz Napierala l_ulong vlen, 17595ac26742SEdward Tomasz Napierala l_ulong pos_l, 17605ac26742SEdward Tomasz Napierala l_ulong pos_h 17615ac26742SEdward Tomasz Napierala ); 17625ac26742SEdward Tomasz Napierala } 1763eae594f7SEd Maste; Linux 2.6.31: 17645ac26742SEdward Tomasz Napierala297 AUE_NULL STD { 17655ac26742SEdward Tomasz Napierala int linux_rt_tgsigqueueinfo( 17665ac26742SEdward Tomasz Napierala l_pid_t tgid, 17675ac26742SEdward Tomasz Napierala l_pid_t tid, 17685ac26742SEdward Tomasz Napierala l_int sig, 17695ac26742SEdward Tomasz Napierala l_siginfo_t *uinfo 17705ac26742SEdward Tomasz Napierala ); 17715ac26742SEdward Tomasz Napierala } 17725ac26742SEdward Tomasz Napierala298 AUE_NULL STD { 17735ac26742SEdward Tomasz Napierala int linux_perf_event_open(void); 17745ac26742SEdward Tomasz Napierala } 1775eae594f7SEd Maste; Linux 2.6.33: 17765ac26742SEdward Tomasz Napierala299 AUE_NULL STD { 17775ac26742SEdward Tomasz Napierala int linux_recvmmsg( 17785ac26742SEdward Tomasz Napierala l_int s, 17795ac26742SEdward Tomasz Napierala struct l_mmsghdr *msg, 17805ac26742SEdward Tomasz Napierala l_uint vlen, 17815ac26742SEdward Tomasz Napierala l_uint flags, 17825ac26742SEdward Tomasz Napierala struct l_timespec *timeout 17835ac26742SEdward Tomasz Napierala ); 17845ac26742SEdward Tomasz Napierala } 1785eae594f7SEd Maste; Linux 2.6.37: 17865ac26742SEdward Tomasz Napierala300 AUE_NULL STD { 17875ac26742SEdward Tomasz Napierala int linux_fanotify_init(void); 17885ac26742SEdward Tomasz Napierala } 17895ac26742SEdward Tomasz Napierala301 AUE_NULL STD { 17905ac26742SEdward Tomasz Napierala int linux_fanotify_mark(void); 17915ac26742SEdward Tomasz Napierala } 1792eae594f7SEd Maste; Linux 2.6.36: 17935ac26742SEdward Tomasz Napierala302 AUE_NULL STD { 17945ac26742SEdward Tomasz Napierala int linux_prlimit64( 17955ac26742SEdward Tomasz Napierala l_pid_t pid, 17965ac26742SEdward Tomasz Napierala l_uint resource, 17975ac26742SEdward Tomasz Napierala struct rlimit *new, 17985ac26742SEdward Tomasz Napierala struct rlimit *old 17995ac26742SEdward Tomasz Napierala ); 18005ac26742SEdward Tomasz Napierala } 1801eae594f7SEd Maste; Linux 2.6.39 (glibc 2.14): 18025ac26742SEdward Tomasz Napierala303 AUE_NULL STD { 1803de774e42SConrad Meyer int linux_name_to_handle_at( 1804de774e42SConrad Meyer l_int dirfd, 1805de774e42SConrad Meyer const char *name, 1806de774e42SConrad Meyer struct l_file_handle *handle, 1807de774e42SConrad Meyer l_int *mnt_id, 1808de774e42SConrad Meyer l_int flags 1809de774e42SConrad Meyer ); 18105ac26742SEdward Tomasz Napierala } 18115ac26742SEdward Tomasz Napierala304 AUE_NULL STD { 1812de774e42SConrad Meyer int linux_open_by_handle_at( 1813de774e42SConrad Meyer l_int mountdirfd, 1814de774e42SConrad Meyer struct l_file_handle *handle, 1815de774e42SConrad Meyer l_int flags 1816de774e42SConrad Meyer ); 18175ac26742SEdward Tomasz Napierala } 18185ac26742SEdward Tomasz Napierala305 AUE_NULL STD { 18195ac26742SEdward Tomasz Napierala int linux_clock_adjtime(void); 18205ac26742SEdward Tomasz Napierala } 18215ac26742SEdward Tomasz Napierala306 AUE_SYNC STD { 18225ac26742SEdward Tomasz Napierala int linux_syncfs( 18235ac26742SEdward Tomasz Napierala l_int fd 18245ac26742SEdward Tomasz Napierala ); 18255ac26742SEdward Tomasz Napierala } 1826eae594f7SEd Maste; Linux 3.0 (glibc 2.14): 18275ac26742SEdward Tomasz Napierala307 AUE_NULL STD { 18285ac26742SEdward Tomasz Napierala int linux_sendmmsg( 18295ac26742SEdward Tomasz Napierala l_int s, 18305ac26742SEdward Tomasz Napierala struct l_mmsghdr *msg, 18315ac26742SEdward Tomasz Napierala l_uint vlen, 18325ac26742SEdward Tomasz Napierala l_uint flags 18335ac26742SEdward Tomasz Napierala ); 18345ac26742SEdward Tomasz Napierala } 18355ac26742SEdward Tomasz Napierala308 AUE_NULL STD { 18365ac26742SEdward Tomasz Napierala int linux_setns( 18375ac26742SEdward Tomasz Napierala l_int fd, 18385ac26742SEdward Tomasz Napierala l_int nstype 18395ac26742SEdward Tomasz Napierala ); 18405ac26742SEdward Tomasz Napierala } 1841eae594f7SEd Maste; Linux 2.6.19 (no glibc wrapper): 18425ac26742SEdward Tomasz Napierala309 AUE_NULL STD { 18435ac26742SEdward Tomasz Napierala int linux_getcpu( 18445ac26742SEdward Tomasz Napierala l_uint *cpu, 18455ac26742SEdward Tomasz Napierala l_uint *node, 18465ac26742SEdward Tomasz Napierala void *cache 18475ac26742SEdward Tomasz Napierala ); 18485ac26742SEdward Tomasz Napierala } 1849eae594f7SEd Maste; Linux 3.2 (glibc 2.15): 18505ac26742SEdward Tomasz Napierala310 AUE_NULL STD { 18515ac26742SEdward Tomasz Napierala int linux_process_vm_readv( 18525ac26742SEdward Tomasz Napierala l_pid_t pid, 18535ac26742SEdward Tomasz Napierala const struct iovec *lvec, 18545ac26742SEdward Tomasz Napierala l_ulong liovcnt, 18555ac26742SEdward Tomasz Napierala const struct iovec *rvec, 18565ac26742SEdward Tomasz Napierala l_ulong riovcnt, 18575ac26742SEdward Tomasz Napierala l_ulong flags 18585ac26742SEdward Tomasz Napierala ); 18595ac26742SEdward Tomasz Napierala } 18605ac26742SEdward Tomasz Napierala311 AUE_NULL STD { 18615ac26742SEdward Tomasz Napierala int linux_process_vm_writev( 18625ac26742SEdward Tomasz Napierala l_pid_t pid, 18635ac26742SEdward Tomasz Napierala const struct iovec *lvec, 18645ac26742SEdward Tomasz Napierala l_ulong liovcnt, 18655ac26742SEdward Tomasz Napierala const struct iovec *rvec, 18665ac26742SEdward Tomasz Napierala l_ulong riovcnt, 18675ac26742SEdward Tomasz Napierala l_ulong flags 18685ac26742SEdward Tomasz Napierala ); 18695ac26742SEdward Tomasz Napierala } 1870eae594f7SEd Maste; Linux 3.5 (no glibc wrapper): 18715ac26742SEdward Tomasz Napierala312 AUE_NULL STD { 18725ac26742SEdward Tomasz Napierala int linux_kcmp( 18735ac26742SEdward Tomasz Napierala l_pid_t pid1, 18745ac26742SEdward Tomasz Napierala l_pid_t pid2, 18755ac26742SEdward Tomasz Napierala l_int type, 18765ac26742SEdward Tomasz Napierala l_ulong idx1, 18775ac26742SEdward Tomasz Napierala l_ulong idx 18785ac26742SEdward Tomasz Napierala ); 18795ac26742SEdward Tomasz Napierala } 1880eae594f7SEd Maste; Linux 3.8 (no glibc wrapper): 18815ac26742SEdward Tomasz Napierala313 AUE_NULL STD { 18825ac26742SEdward Tomasz Napierala int linux_finit_module( 18835ac26742SEdward Tomasz Napierala l_int fd, 18845ac26742SEdward Tomasz Napierala const char *uargs, 18855ac26742SEdward Tomasz Napierala l_int flags 18865ac26742SEdward Tomasz Napierala ); 18875ac26742SEdward Tomasz Napierala } 1888eae594f7SEd Maste; Linux 3.14: 18895ac26742SEdward Tomasz Napierala314 AUE_NULL STD { 18905ac26742SEdward Tomasz Napierala int linux_sched_setattr( 18915ac26742SEdward Tomasz Napierala l_pid_t pid, 18925ac26742SEdward Tomasz Napierala void *attr, 18935ac26742SEdward Tomasz Napierala l_uint flags 18945ac26742SEdward Tomasz Napierala ); 18955ac26742SEdward Tomasz Napierala } 18965ac26742SEdward Tomasz Napierala315 AUE_NULL STD { 18975ac26742SEdward Tomasz Napierala int linux_sched_getattr( 18985ac26742SEdward Tomasz Napierala l_pid_t pid, 18995ac26742SEdward Tomasz Napierala void *attr, 19005ac26742SEdward Tomasz Napierala l_uint size, 19015ac26742SEdward Tomasz Napierala l_uint flags 19025ac26742SEdward Tomasz Napierala ); 19035ac26742SEdward Tomasz Napierala } 1904eae594f7SEd Maste; Linux 3.15: 19055ac26742SEdward Tomasz Napierala316 AUE_NULL STD { 19065ac26742SEdward Tomasz Napierala int linux_renameat2( 19075ac26742SEdward Tomasz Napierala l_int olddfd, 19085ac26742SEdward Tomasz Napierala const char *oldname, 19095ac26742SEdward Tomasz Napierala l_int newdfd, 19105ac26742SEdward Tomasz Napierala const char *newname, 19118036e787SEdward Tomasz Napierala l_uint flags 19125ac26742SEdward Tomasz Napierala ); 19135ac26742SEdward Tomasz Napierala } 1914eae594f7SEd Maste; Linux 3.17: 19155ac26742SEdward Tomasz Napierala317 AUE_NULL STD { 19165ac26742SEdward Tomasz Napierala int linux_seccomp( 19175ac26742SEdward Tomasz Napierala l_uint op, 19185ac26742SEdward Tomasz Napierala l_uint flags, 19195ac26742SEdward Tomasz Napierala const char *uargs 19205ac26742SEdward Tomasz Napierala ); 19215ac26742SEdward Tomasz Napierala } 19225ac26742SEdward Tomasz Napierala318 AUE_NULL STD { 19235ac26742SEdward Tomasz Napierala int linux_getrandom( 19245ac26742SEdward Tomasz Napierala char *buf, 19255ac26742SEdward Tomasz Napierala l_size_t count, 19265ac26742SEdward Tomasz Napierala l_uint flags 19275ac26742SEdward Tomasz Napierala ); 19285ac26742SEdward Tomasz Napierala } 19295ac26742SEdward Tomasz Napierala319 AUE_NULL STD { 19305ac26742SEdward Tomasz Napierala int linux_memfd_create( 19315ac26742SEdward Tomasz Napierala const char *uname_ptr, 19325ac26742SEdward Tomasz Napierala l_uint flags 19335ac26742SEdward Tomasz Napierala ); 19345ac26742SEdward Tomasz Napierala } 19355ac26742SEdward Tomasz Napierala320 AUE_NULL STD { 19365ac26742SEdward Tomasz Napierala int linux_kexec_file_load( 19375ac26742SEdward Tomasz Napierala l_int kernel_fd, 19385ac26742SEdward Tomasz Napierala l_int initrd_fd, 19395ac26742SEdward Tomasz Napierala l_ulong cmdline_len, 19405ac26742SEdward Tomasz Napierala const char *cmdline_ptr, 19415ac26742SEdward Tomasz Napierala l_ulong flags 19425ac26742SEdward Tomasz Napierala ); 19435ac26742SEdward Tomasz Napierala } 1944eae594f7SEd Maste; Linux 3.18: 19455ac26742SEdward Tomasz Napierala321 AUE_NULL STD { 19465ac26742SEdward Tomasz Napierala int linux_bpf( 19475ac26742SEdward Tomasz Napierala l_int cmd, 19485ac26742SEdward Tomasz Napierala void *attr, 19495ac26742SEdward Tomasz Napierala l_uint size 19505ac26742SEdward Tomasz Napierala ); 19515ac26742SEdward Tomasz Napierala } 1952eae594f7SEd Maste; Linux 3.19: 19535ac26742SEdward Tomasz Napierala322 AUE_NULL STD { 19545ac26742SEdward Tomasz Napierala int linux_execveat( 19555ac26742SEdward Tomasz Napierala l_int dfd, 19565ac26742SEdward Tomasz Napierala const char *filename, 19575ac26742SEdward Tomasz Napierala const char **argv, 19585ac26742SEdward Tomasz Napierala const char **envp, 19595ac26742SEdward Tomasz Napierala l_int flags 19605ac26742SEdward Tomasz Napierala ); 19615ac26742SEdward Tomasz Napierala } 1962eae594f7SEd Maste; Linux 4.2: 19635ac26742SEdward Tomasz Napierala323 AUE_NULL STD { 19645ac26742SEdward Tomasz Napierala int linux_userfaultfd( 19655ac26742SEdward Tomasz Napierala l_int flags 19665ac26742SEdward Tomasz Napierala ); 19675ac26742SEdward Tomasz Napierala } 1968eae594f7SEd Maste; Linux 4.3: 19695ac26742SEdward Tomasz Napierala324 AUE_NULL STD { 19705ac26742SEdward Tomasz Napierala int linux_membarrier( 19715ac26742SEdward Tomasz Napierala l_int cmd, 19725ac26742SEdward Tomasz Napierala l_int flags 19735ac26742SEdward Tomasz Napierala ); 19745ac26742SEdward Tomasz Napierala } 1975eae594f7SEd Maste; Linux 4.4: 19765ac26742SEdward Tomasz Napierala325 AUE_NULL STD { 19775ac26742SEdward Tomasz Napierala int linux_mlock2( 19785ac26742SEdward Tomasz Napierala l_ulong start, 19795ac26742SEdward Tomasz Napierala l_size_t len, 19805ac26742SEdward Tomasz Napierala l_int flags 19815ac26742SEdward Tomasz Napierala ); 19825ac26742SEdward Tomasz Napierala } 1983eae594f7SEd Maste; Linux 4.5: 19845ac26742SEdward Tomasz Napierala326 AUE_NULL STD { 19855ac26742SEdward Tomasz Napierala int linux_copy_file_range( 19865ac26742SEdward Tomasz Napierala l_int fd_in, 19875ac26742SEdward Tomasz Napierala l_loff_t *off_in, 19885ac26742SEdward Tomasz Napierala l_int fd_out, 19895ac26742SEdward Tomasz Napierala l_loff_t *off_out, 19905ac26742SEdward Tomasz Napierala l_size_t len, 19915ac26742SEdward Tomasz Napierala l_uint flags 19925ac26742SEdward Tomasz Napierala ); 19935ac26742SEdward Tomasz Napierala } 1994eae594f7SEd Maste; Linux 4.6: 19955ac26742SEdward Tomasz Napierala327 AUE_NULL STD { 19965ac26742SEdward Tomasz Napierala int linux_preadv2( 19975ac26742SEdward Tomasz Napierala l_ulong fd, 19985ac26742SEdward Tomasz Napierala const struct iovec *vec, 19995ac26742SEdward Tomasz Napierala l_ulong vlen, 20005ac26742SEdward Tomasz Napierala l_ulong pos_l, 20015ac26742SEdward Tomasz Napierala l_ulong pos_h, 20025ac26742SEdward Tomasz Napierala l_int flags 20035ac26742SEdward Tomasz Napierala ); 20045ac26742SEdward Tomasz Napierala } 20055ac26742SEdward Tomasz Napierala328 AUE_NULL STD { 20065ac26742SEdward Tomasz Napierala int linux_pwritev2( 20075ac26742SEdward Tomasz Napierala l_ulong fd, 20085ac26742SEdward Tomasz Napierala const struct iovec *vec, 20095ac26742SEdward Tomasz Napierala l_ulong vlen, 20105ac26742SEdward Tomasz Napierala l_ulong pos_l, 20115ac26742SEdward Tomasz Napierala l_ulong pos_h, 20125ac26742SEdward Tomasz Napierala l_int flags 20135ac26742SEdward Tomasz Napierala ); 20145ac26742SEdward Tomasz Napierala } 2015eae594f7SEd Maste; Linux 4.8: 20165ac26742SEdward Tomasz Napierala329 AUE_NULL STD { 20175ac26742SEdward Tomasz Napierala int linux_pkey_mprotect( 20185ac26742SEdward Tomasz Napierala l_ulong start, 20195ac26742SEdward Tomasz Napierala l_size_t len, 20205ac26742SEdward Tomasz Napierala l_ulong prot, 20215ac26742SEdward Tomasz Napierala l_int pkey 20225ac26742SEdward Tomasz Napierala ); 20235ac26742SEdward Tomasz Napierala } 20245ac26742SEdward Tomasz Napierala330 AUE_NULL STD { 20255ac26742SEdward Tomasz Napierala int linux_pkey_alloc( 20265ac26742SEdward Tomasz Napierala l_ulong flags, 20275ac26742SEdward Tomasz Napierala l_ulong init_val 20285ac26742SEdward Tomasz Napierala ); 20295ac26742SEdward Tomasz Napierala } 20305ac26742SEdward Tomasz Napierala331 AUE_NULL STD { 20315ac26742SEdward Tomasz Napierala int linux_pkey_free( 20325ac26742SEdward Tomasz Napierala l_int pkey 20335ac26742SEdward Tomasz Napierala ); 20345ac26742SEdward Tomasz Napierala } 2035f730d606SDmitry Chagin; Linux 4.11: 20365ac26742SEdward Tomasz Napierala332 AUE_NULL STD { 20375ac26742SEdward Tomasz Napierala int linux_statx( 20385ac26742SEdward Tomasz Napierala l_int dirfd, 20395ac26742SEdward Tomasz Napierala const char *pathname, 20405ac26742SEdward Tomasz Napierala l_uint flags, 20415ac26742SEdward Tomasz Napierala l_uint mask, 20425ac26742SEdward Tomasz Napierala void *statxbuf 20435ac26742SEdward Tomasz Napierala ); 20445ac26742SEdward Tomasz Napierala } 2045f730d606SDmitry Chagin; Linux 4.18: 20465ac26742SEdward Tomasz Napierala333 AUE_NULL STD { 20475ac26742SEdward Tomasz Napierala int linux_io_pgetevents(void); 20485ac26742SEdward Tomasz Napierala } 20495ac26742SEdward Tomasz Napierala334 AUE_NULL STD { 2050f202f35dSDmitry Chagin int linux_rseq( 2051f202f35dSDmitry Chagin struct linux_rseq *rseq, 2052f202f35dSDmitry Chagin uint32_t rseq_len, 2053f202f35dSDmitry Chagin l_int flags, 2054f202f35dSDmitry Chagin uint32_t sig 2055f202f35dSDmitry Chagin ); 20565ac26742SEdward Tomasz Napierala } 20570a16d3d1SDmitry Chagin; Linux 5.1: 2058f730d606SDmitry Chagin335-423 AUE_NULL UNIMPL nosys 20595ac26742SEdward Tomasz Napierala424 AUE_NULL STD { 20605ac26742SEdward Tomasz Napierala int linux_pidfd_send_signal( 20615ac26742SEdward Tomasz Napierala l_int pidfd, 20625ac26742SEdward Tomasz Napierala l_int sig, 20635ac26742SEdward Tomasz Napierala l_siginfo_t *info, 20645ac26742SEdward Tomasz Napierala l_uint flags 20655ac26742SEdward Tomasz Napierala ); 20665ac26742SEdward Tomasz Napierala } 20675ac26742SEdward Tomasz Napierala425 AUE_NULL STD { 20685ac26742SEdward Tomasz Napierala int linux_io_uring_setup(void); 20695ac26742SEdward Tomasz Napierala } 20705ac26742SEdward Tomasz Napierala426 AUE_NULL STD { 20715ac26742SEdward Tomasz Napierala int linux_io_uring_enter(void); 20725ac26742SEdward Tomasz Napierala } 20735ac26742SEdward Tomasz Napierala427 AUE_NULL STD { 20745ac26742SEdward Tomasz Napierala int linux_io_uring_register(void); 20755ac26742SEdward Tomasz Napierala } 20760a16d3d1SDmitry Chagin; Linux 5.2: 20776d926e85SEdward Tomasz Napierala428 AUE_NULL STD { 20786d926e85SEdward Tomasz Napierala int linux_open_tree(void); 20796d926e85SEdward Tomasz Napierala } 20806d926e85SEdward Tomasz Napierala429 AUE_NULL STD { 20816d926e85SEdward Tomasz Napierala int linux_move_mount(void); 20826d926e85SEdward Tomasz Napierala } 20836d926e85SEdward Tomasz Napierala430 AUE_NULL STD { 20846d926e85SEdward Tomasz Napierala int linux_fsopen(void); 20856d926e85SEdward Tomasz Napierala } 20866d926e85SEdward Tomasz Napierala431 AUE_NULL STD { 20876d926e85SEdward Tomasz Napierala int linux_fsconfig(void); 20886d926e85SEdward Tomasz Napierala } 20896d926e85SEdward Tomasz Napierala432 AUE_NULL STD { 20906d926e85SEdward Tomasz Napierala int linux_fsmount(void); 20916d926e85SEdward Tomasz Napierala } 20926d926e85SEdward Tomasz Napierala433 AUE_NULL STD { 20936d926e85SEdward Tomasz Napierala int linux_fspick(void); 20946d926e85SEdward Tomasz Napierala } 20950a16d3d1SDmitry Chagin; Linux 5.3: 20966d926e85SEdward Tomasz Napierala434 AUE_NULL STD { 20976d926e85SEdward Tomasz Napierala int linux_pidfd_open(void); 20986d926e85SEdward Tomasz Napierala } 20996d926e85SEdward Tomasz Napierala435 AUE_NULL STD { 210017913b0bSDmitry Chagin int linux_clone3( 210117913b0bSDmitry Chagin struct l_user_clone_args *uargs, 210217913b0bSDmitry Chagin l_size_t usize 210317913b0bSDmitry Chagin ); 21046d926e85SEdward Tomasz Napierala } 21050a16d3d1SDmitry Chagin; Linux 5.9: 21061c27dce1SDmitry Chagin436 AUE_CLOSERANGE STD { 21071c27dce1SDmitry Chagin int linux_close_range( 21081c27dce1SDmitry Chagin l_uint first, 21091c27dce1SDmitry Chagin l_uint last, 21101c27dce1SDmitry Chagin l_uint flags 21111c27dce1SDmitry Chagin ); 21126d926e85SEdward Tomasz Napierala } 21130a16d3d1SDmitry Chagin; Linux 5.6: 21146d926e85SEdward Tomasz Napierala437 AUE_NULL STD { 21156d926e85SEdward Tomasz Napierala int linux_openat2(void); 21166d926e85SEdward Tomasz Napierala } 21176d926e85SEdward Tomasz Napierala438 AUE_NULL STD { 21186d926e85SEdward Tomasz Napierala int linux_pidfd_getfd(void); 21196d926e85SEdward Tomasz Napierala } 21200a16d3d1SDmitry Chagin; Linux 5.8: 21216d926e85SEdward Tomasz Napierala439 AUE_NULL STD { 212213d79be9SDmitry Chagin int linux_faccessat2( 212313d79be9SDmitry Chagin l_int dfd, 212413d79be9SDmitry Chagin const char *filename, 212513d79be9SDmitry Chagin l_int amode, 212613d79be9SDmitry Chagin l_int flags 212713d79be9SDmitry Chagin ); 21286d926e85SEdward Tomasz Napierala } 21290a16d3d1SDmitry Chagin; Linux 5.10: 21306d926e85SEdward Tomasz Napierala440 AUE_NULL STD { 21316d926e85SEdward Tomasz Napierala int linux_process_madvise(void); 21326d926e85SEdward Tomasz Napierala } 21330a16d3d1SDmitry Chagin; Linux 5.11: 21346d926e85SEdward Tomasz Napierala441 AUE_NULL STD { 213581b0b7dcSDmitry Chagin int linux_epoll_pwait2( 213681b0b7dcSDmitry Chagin l_int epfd, 213781b0b7dcSDmitry Chagin struct epoll_event *events, 213881b0b7dcSDmitry Chagin l_int maxevents, 213981b0b7dcSDmitry Chagin struct l_timespec *timeout, 214081b0b7dcSDmitry Chagin l_sigset_t *mask, 214181b0b7dcSDmitry Chagin l_size_t sigsetsize 214281b0b7dcSDmitry Chagin ); 21436d926e85SEdward Tomasz Napierala } 21440a16d3d1SDmitry Chagin; Linux 5.12: 21456d926e85SEdward Tomasz Napierala442 AUE_NULL STD { 21466d926e85SEdward Tomasz Napierala int linux_mount_setattr(void); 21476d926e85SEdward Tomasz Napierala } 21480a16d3d1SDmitry Chagin; Linux 5.14: 21490a16d3d1SDmitry Chagin443 AUE_NULL STD { 21500a16d3d1SDmitry Chagin int linux_quotactl_fd(void); 21510a16d3d1SDmitry Chagin } 21520a16d3d1SDmitry Chagin; Linux 5.13: 21530a16d3d1SDmitry Chagin444 AUE_NULL STD { 21540a16d3d1SDmitry Chagin int linux_landlock_create_ruleset(void); 21550a16d3d1SDmitry Chagin } 21560a16d3d1SDmitry Chagin445 AUE_NULL STD { 21570a16d3d1SDmitry Chagin int linux_landlock_add_rule(void); 21580a16d3d1SDmitry Chagin } 21590a16d3d1SDmitry Chagin446 AUE_NULL STD { 21600a16d3d1SDmitry Chagin int linux_landlock_restrict_self(void); 21610a16d3d1SDmitry Chagin } 21620a16d3d1SDmitry Chagin; Linux 5.14: 21630a16d3d1SDmitry Chagin447 AUE_NULL STD { 21640a16d3d1SDmitry Chagin int linux_memfd_secret(void); 21650a16d3d1SDmitry Chagin } 21660a16d3d1SDmitry Chagin; Linux 5.15: 21670a16d3d1SDmitry Chagin448 AUE_NULL STD { 21680a16d3d1SDmitry Chagin int linux_process_mrelease(void); 21690a16d3d1SDmitry Chagin } 21700a16d3d1SDmitry Chagin; Linux 5.16: 21710a16d3d1SDmitry Chagin449 AUE_NULL STD { 21720a16d3d1SDmitry Chagin int linux_futex_waitv(void); 21730a16d3d1SDmitry Chagin } 21740a16d3d1SDmitry Chagin; Linux 5.17: 21750a16d3d1SDmitry Chagin450 AUE_NULL STD { 21760a16d3d1SDmitry Chagin int linux_set_mempolicy_home_node(void); 21770a16d3d1SDmitry Chagin } 21780a16d3d1SDmitry Chagin; Linux 6.5: 21790a16d3d1SDmitry Chagin451 AUE_NULL STD { 21800a16d3d1SDmitry Chagin int linux_cachestat(void); 21810a16d3d1SDmitry Chagin } 21820a16d3d1SDmitry Chagin; Linux 6.6: 21830a16d3d1SDmitry Chagin452 AUE_NULL STD { 21840a16d3d1SDmitry Chagin int linux_fchmodat2(void); 21850a16d3d1SDmitry Chagin } 21860a16d3d1SDmitry Chagin453 AUE_NULL STD { 21870a16d3d1SDmitry Chagin int linux_map_shadow_stack(void); 21880a16d3d1SDmitry Chagin } 21898e523be5SDmitry Chagin 21905cd667e6SBrooks Davis; vim: syntax=off 2191