Home | History | Annotate | Line # | Download | only in mips
syscalls.master revision 1.29.2.3
      1  1.29.2.3      yamt 	$NetBSD: syscalls.master,v 1.29.2.3 2010/03/11 15:03:16 yamt Exp $  
      2       1.1      manu 
      3       1.1      manu ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
      4       1.1      manu 
      5       1.1      manu ; Derived from NetBSD's sys/compat/linux/arch/powerpc/syscalls.master
      6       1.1      manu ; from Linux's arch/mips/kernel/syscalls.h
      7       1.1      manu 
      8       1.1      manu ; NetBSD mips COMPAT_LINUX system call name/number "master" file.
      9       1.1      manu ; (See syscalls.conf to see what it is processed into.)
     10       1.1      manu ;
     11      1.17     perry ; Expect problems with
     12       1.1      manu ;  48 signal: undefined in Linux???
     13       1.1      manu ;  86 uselib: needs a.out
     14       1.1      manu ;
     15       1.1      manu ; Fields: number type [type-dependent ...]
     16       1.1      manu ;	number	system call number, must be in order
     17       1.1      manu ;	type	one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
     18       1.1      manu ;		the compatibility options defined in syscalls.conf.
     19       1.1      manu ;
     20       1.1      manu ; types:
     21       1.1      manu ;	STD	always included
     22       1.1      manu ;	OBSOL	obsolete, not included in system
     23       1.1      manu ;	UNIMPL	unimplemented, not included in system
     24       1.1      manu ;	NODEF	included, but don't define the syscall number
     25       1.1      manu ;	NOARGS	included, but don't define the syscall args structure
     26       1.1      manu ;	INDIR	included, but don't define the syscall args structure
     27       1.1      manu ;		and allow it to be "really" varargs.
     28       1.1      manu ;
     29       1.1      manu ; The compat options are defined in the syscalls.conf file, and the
     30       1.1      manu ; compat option name is prefixed to the syscall name.  Other than
     31       1.1      manu ; that, they're like NODEF (for 'compat' options), or STD (for
     32       1.1      manu ; 'libcompat' options).
     33       1.1      manu ;
     34       1.1      manu ; The type-dependent arguments are as follows:
     35       1.1      manu ; For STD, NODEF, NOARGS, and compat syscalls:
     36       1.1      manu ;	{ pseudo-proto } [alias]
     37       1.1      manu ; For other syscalls:
     38       1.1      manu ;	[comment]
     39       1.1      manu ;
     40       1.1      manu ; #ifdef's, etc. may be included, and are copied to the output files.
     41       1.1      manu ; #include's are copied to the syscall names and switch definition files only.
     42       1.1      manu 
     43       1.1      manu #include <sys/param.h>
     44       1.1      manu #include <sys/poll.h>
     45       1.1      manu #include <sys/systm.h>
     46       1.1      manu #include <sys/signal.h>
     47       1.1      manu #include <sys/mount.h>
     48       1.1      manu #include <sys/syscallargs.h>
     49       1.1      manu 
     50       1.1      manu #include <compat/linux/common/linux_types.h>
     51       1.1      manu #include <compat/linux/common/linux_signal.h>
     52       1.1      manu #include <compat/linux/common/linux_siginfo.h>
     53       1.1      manu #include <compat/linux/common/linux_machdep.h>
     54       1.1      manu #include <compat/linux/common/linux_mmap.h>
     55       1.3      manu #include <compat/linux/common/linux_socketcall.h>
     56       1.1      manu 
     57       1.1      manu #include <compat/linux/linux_syscallargs.h>
     58       1.1      manu 
     59  1.29.2.1      yamt 0	NOARGS		{ int|linux_sys||nosys(void); } syscall
     60  1.29.2.1      yamt 1	NOARGS		{ int|sys||exit(int rval); }
     61  1.29.2.1      yamt 2	NOARGS		{ int|sys||fork(void); }
     62  1.29.2.1      yamt 3	NOARGS		{ int|sys||read(int fd, char *buf, u_int nbyte); }
     63  1.29.2.1      yamt 4	NOARGS		{ int|sys||write(int fd, char *buf, u_int nbyte); }
     64  1.29.2.1      yamt 5	STD		{ int|linux_sys||open(const char *path, int flags, \
     65       1.1      manu 			    int mode); }
     66  1.29.2.1      yamt 6	NOARGS		{ int|sys||close(int fd); }
     67  1.29.2.1      yamt 7	STD		{ int|linux_sys||waitpid(int pid, int *status, \
     68       1.1      manu 			    int options);}
     69  1.29.2.1      yamt 8	STD		{ int|linux_sys||creat(const char *path, int mode); }
     70  1.29.2.1      yamt 9	NOARGS		{ int|sys||link(const char *path, const char *link); }
     71  1.29.2.1      yamt 10	STD		{ int|linux_sys||unlink(const char *path); }
     72  1.29.2.1      yamt 11	NOARGS		{ int|sys||execve(const char *path, char **argp, \
     73       1.1      manu 			    char **envp); }
     74  1.29.2.1      yamt 12	NOARGS		{ int|sys||chdir(const char *path); }
     75  1.29.2.1      yamt 13	STD		{ int|linux_sys||time(linux_time_t *t); }
     76  1.29.2.1      yamt 14	STD		{ int|linux_sys||mknod(const char *path, int mode, \
     77       1.1      manu 			    int dev); }
     78  1.29.2.1      yamt 15	NOARGS		{ int|sys||chmod(const char *path, int mode); }
     79  1.29.2.1      yamt 16	NOARGS		{ int|sys||__posix_lchown(const char *path, int uid, \
     80       1.1      manu 			    int gid); }
     81       1.1      manu 17	UNIMPL
     82       1.1      manu 18	OBSOL		ostat
     83  1.29.2.1      yamt 19	NOARGS		{ long|compat_43_sys||lseek(int fd, long offset, \
     84       1.1      manu 			    int whence); }
     85  1.29.2.1      yamt 20	NOARGS 		{ pid_t|sys||getpid(void); }
     86       1.1      manu 21	UNIMPL		mount
     87       1.1      manu 22	OBSOL		umount
     88  1.29.2.1      yamt 23	NOARGS		{ int|sys||setuid(uid_t uid); }
     89  1.29.2.1      yamt 24	NOARGS		{ uid_t|sys||getuid(void); }
     90  1.29.2.1      yamt 25	STD		{ int|linux_sys||stime(linux_time_t *t); }
     91  1.29.2.1      yamt 26	STD		{ int|linux_sys||ptrace(int request, int pid, \
     92       1.1      manu 			  int addr, int data); }
     93  1.29.2.1      yamt 27	STD		{ int|linux_sys||alarm(unsigned int secs); }
     94       1.1      manu 28	OBSOL		ofstat
     95  1.29.2.1      yamt 29	STD		{ int|linux_sys||pause(void); }
     96  1.29.2.1      yamt 30	STD		{ int|linux_sys||utime(const char *path, \
     97       1.1      manu 			    struct linux_utimbuf *times); }
     98       1.1      manu 31	UNIMPL
     99       1.1      manu 32	UNIMPL
    100  1.29.2.1      yamt 33	NOARGS		{ int|sys||access(const char *path, int flags); }
    101  1.29.2.1      yamt 34	STD		{ int|linux_sys||nice(int incr); }
    102       1.1      manu 35	UNIMPL
    103  1.29.2.1      yamt 36	NOARGS		{ int|sys||sync(void); }
    104  1.29.2.1      yamt 37	STD		{ int|linux_sys||kill(int pid, int signum); }
    105  1.29.2.1      yamt 38	NOARGS		{ int|sys||__posix_rename(const char *from, \
    106       1.1      manu 			    const char *to); }
    107  1.29.2.1      yamt 39	NOARGS		{ int|sys||mkdir(const char *path, int mode); }
    108  1.29.2.1      yamt 40	NOARGS		{ int|sys||rmdir(const char *path); }
    109  1.29.2.1      yamt 41	NOARGS		{ int|sys||dup(u_int fd); }
    110  1.29.2.1      yamt 42	STD		{ int|linux_sys||pipe(int *pfds); }
    111  1.29.2.1      yamt 43	STD		{ int|linux_sys||times(struct times *tms); }
    112       1.1      manu 44	UNIMPL
    113  1.29.2.1      yamt 45	STD		{ int|linux_sys||brk(char *nsize); }
    114  1.29.2.1      yamt 46	NOARGS		{ int|sys||setgid(gid_t gid); }
    115  1.29.2.1      yamt 47	NOARGS		{ gid_t|sys||getgid(void); }
    116  1.29.2.1      yamt 48	STD		{ int|linux_sys||signal(int signum, \
    117       1.1      manu 			    linux___sighandler_t handler); }
    118  1.29.2.1      yamt 49	NOARGS		{ uid_t|sys||geteuid(void); }
    119  1.29.2.1      yamt 50	NOARGS		{ gid_t|sys||getegid(void); }
    120  1.29.2.1      yamt 51	NOARGS		{ int|sys||acct(char *path); }
    121       1.1      manu 52	UNIMPL		umount
    122       1.1      manu 53	UNIMPL
    123  1.29.2.1      yamt 54	STD		{ int|linux_sys||ioctl(int fd, u_long com, \
    124      1.23  christos 			    void *data); }
    125  1.29.2.1      yamt 55	STD		{ int|linux_sys||fcntl(int fd, int cmd, void *arg); }
    126       1.1      manu 56	OBSOL		mpx
    127  1.29.2.1      yamt 57	NOARGS		{ int|sys||setpgid(int pid, int pgid); }
    128       1.1      manu 58	UNIMPL
    129  1.29.2.1      yamt 59 	STD  		    { int|linux_sys||olduname(struct linux_old_utsname \
    130       1.1      manu 			    *up); }
    131  1.29.2.1      yamt 60	NOARGS		{ int|sys||umask(int newmask); }
    132  1.29.2.1      yamt 61	NOARGS		{ int|sys||chroot(char *path); }
    133       1.1      manu 62	UNIMPL		ustat
    134  1.29.2.1      yamt 63	NOARGS		{ int|sys||dup2(u_int from, u_int to); }
    135  1.29.2.1      yamt 64	NOARGS		{ pid_t|sys||getppid(void); }
    136  1.29.2.1      yamt 65	NOARGS		{ int|sys||getpgrp(void); }
    137  1.29.2.1      yamt 66	NOARGS		{ int|sys||setsid(void); }
    138  1.29.2.1      yamt 67	STD		{ int|linux_sys||sigaction(int signum, \
    139       1.1      manu 			    const struct linux_old_sigaction *nsa, \
    140       1.1      manu 			    struct linux_old_sigaction *osa); }
    141  1.29.2.1      yamt 68	STD		{ int|linux_sys||siggetmask(void); }
    142  1.29.2.1      yamt 69	STD		{ int|linux_sys||sigsetmask(linux_old_sigset_t mask); }
    143  1.29.2.1      yamt 70	NOARGS		{ int|sys||setreuid(uid_t ruid, uid_t euid); }
    144  1.29.2.1      yamt 71	NOARGS		{ int|sys||setregid(gid_t rgid, gid_t egid); }
    145  1.29.2.1      yamt 72	STD		{ int|linux_sys||sigsuspend(void *restart, \
    146       1.1      manu 			    int oldmask, int mask); }
    147  1.29.2.1      yamt 73	STD		{ int|linux_sys||sigpending(linux_old_sigset_t *set); }
    148  1.29.2.1      yamt 74	NOARGS		{ int|compat_43_sys||sethostname(char *hostname, \
    149       1.1      manu 			    u_int len);}
    150  1.29.2.1      yamt 75	STD		{ int|linux_sys||setrlimit(u_int which, \
    151       1.1      manu 			    struct orlimit *rlp); }
    152  1.29.2.1      yamt 76	STD		{ int|linux_sys||getrlimit(u_int which, \
    153       1.1      manu 			    struct orlimit *rlp); }
    154  1.29.2.1      yamt 77	NOARGS		{ int|compat_50_sys||getrusage(int who, \
    155  1.29.2.1      yamt 			    struct rusage50 *rusage); }
    156  1.29.2.1      yamt 78	STD		{ int|linux_sys||gettimeofday(struct timeval50 *tp, \
    157       1.1      manu 			    struct timezone *tzp); }
    158  1.29.2.1      yamt 79	STD		{ int|linux_sys||settimeofday(struct timeval50 *tp, \
    159       1.1      manu 			    struct timezone *tzp); }
    160  1.29.2.1      yamt 80	NOARGS		{ int|sys||getgroups(u_int gidsetsize, gid_t *gidset); }
    161  1.29.2.1      yamt 81	NOARGS		{ int|sys||setgroups(u_int gidsetsize, gid_t *gidset); }
    162       1.1      manu 82	UNIMPL		old_select
    163  1.29.2.1      yamt 83	NOARGS		{ int|sys||symlink(const char *path, const char *to); }
    164  1.29.2.1      yamt 84	NOARGS		{ int|compat_43_sys||lstat(const char *path, \
    165       1.1      manu 			    struct stat43 *up); } oolstat
    166  1.29.2.1      yamt 85	NOARGS		{ int|sys||readlink(const char *name, char *buf, \
    167       1.1      manu 			    int count); }
    168       1.1      manu 86	UNIMPL		uselib
    169  1.29.2.1      yamt ;86	STD		{ int|linux_sys||uselib(const char *path); }
    170  1.29.2.1      yamt 87	STD		{ int|linux_sys||swapon(char *name); }
    171  1.29.2.1      yamt 88	STD		{ int|linux_sys||reboot(int magic1, int magic2, \
    172       1.1      manu 			    int cmd, void *arg); }
    173  1.29.2.1      yamt 89	STD		{ int|linux_sys||readdir(int fd, void *dent, \
    174       1.1      manu 			    unsigned int count); }
    175  1.29.2.1      yamt 90	NOARGS      	{ int|linux_sys||mmap(unsigned long addr, size_t len, \
    176       1.1      manu 			    int prot, int flags, int fd, linux_off_t offset); }
    177  1.29.2.1      yamt 91	NOARGS		{ int|sys||munmap(void *addr, int len); }
    178  1.29.2.1      yamt 92	NOARGS		{ int|compat_43_sys||truncate(const char *path, \
    179       1.1      manu 			    long length); }
    180  1.29.2.1      yamt 93	NOARGS		{ int|compat_43_sys||ftruncate(int fd, long length); }
    181  1.29.2.1      yamt 94	NOARGS		{ int|sys||fchmod(int fd, int mode); }
    182  1.29.2.1      yamt 95 	NOARGS		{ int|sys||__posix_fchown(int fd, int uid, int gid); }
    183  1.29.2.1      yamt 96	STD		{ int|linux_sys||getpriority(int which, int who); }
    184  1.29.2.1      yamt 97	NOARGS		{ int|sys||setpriority(int which, int who, int prio); }
    185       1.1      manu 98	UNIMPL
    186  1.29.2.1      yamt 99	STD		{ int|linux_sys||statfs(const char *path, \
    187       1.1      manu 			    struct linux_statfs *sp); }
    188  1.29.2.1      yamt 100	STD		{ int|linux_sys||fstatfs(int fd, \
    189       1.1      manu 			    struct linux_statfs *sp); }
    190  1.29.2.1      yamt 101	STD		{ int|linux_sys||ioperm(unsigned int lo, \
    191       1.1      manu 			    unsigned int hi, int val); }
    192  1.29.2.1      yamt 102	STD		{ int|linux_sys||socketcall(int what, void *args); }
    193       1.1      manu 103	UNIMPL		syslog
    194  1.29.2.1      yamt 104	NOARGS		{ int|compat_50_sys||setitimer(u_int which, \
    195  1.29.2.1      yamt 			    struct itimerval50 *itv, \
    196  1.29.2.1      yamt 			    struct itimerval50 *oitv); }
    197  1.29.2.1      yamt 105	NOARGS		{ int|compat_50_sys||getitimer(u_int which, \
    198  1.29.2.1      yamt 			    struct itimerval50 *itv); }
    199  1.29.2.1      yamt 106	STD		{ int|linux_sys||stat(const char *path, \
    200       1.1      manu 			    struct linux_stat *sp); }
    201  1.29.2.1      yamt 107	STD		{ int|linux_sys||lstat(const char *path, \
    202       1.1      manu 			    struct linux_stat *sp); }
    203  1.29.2.1      yamt 108	STD		{ int|linux_sys||fstat(int fd, struct linux_stat *sp); }
    204  1.29.2.1      yamt 109	STD		{ int|linux_sys||uname(struct linux_utsname *up); }
    205      1.17     perry 110	UNIMPL		iopl
    206       1.1      manu 111	UNIMPL		vhangup
    207       1.1      manu 112	UNIMPL		idle
    208      1.17     perry 113	UNIMPL		vm86old
    209  1.29.2.1      yamt 114	STD		{ int|linux_sys||wait4(int pid, int *status, \
    210  1.29.2.1      yamt 			    int options, struct rusage50 *rusage); }
    211  1.29.2.1      yamt 115	STD		{ int|linux_sys||swapoff(const char *path); }
    212  1.29.2.1      yamt 116	STD		{ int|linux_sys||sysinfo(struct linux_sysinfo *arg); }
    213  1.29.2.1      yamt 117	STD		{ int|linux_sys||ipc(int what, int a1, int a2, int a3, \
    214      1.23  christos 			    void *ptr); }
    215  1.29.2.1      yamt 118	NOARGS		{ int|sys||fsync(int fd); }
    216  1.29.2.1      yamt 119	STD		{ int|linux_sys||sigreturn(struct linux_sigframe *sf); }
    217  1.29.2.1      yamt 120	STD		{ int|linux_sys||clone(int flags, void *stack); }
    218  1.29.2.1      yamt 121	STD		{ int|linux_sys||setdomainname(char *domainname, \
    219       1.1      manu 			    int len); }
    220  1.29.2.1      yamt 122	STD		{ int|linux_sys||new_uname(struct linux_utsname *up); }
    221      1.17     perry 123	UNIMPL		modify_ldt
    222       1.1      manu 124	UNIMPL		adjtimex
    223  1.29.2.1      yamt 125	STD		{ int|linux_sys||mprotect(const void *start, \
    224       1.8  christos 			    unsigned long len, int prot); }
    225  1.29.2.1      yamt 126	STD		{ int|linux_sys||sigprocmask(int how, \
    226       1.1      manu 			    const linux_old_sigset_t *set, \
    227       1.1      manu 			    linux_old_sigset_t *oset); }
    228       1.1      manu 127	UNIMPL		create_module
    229       1.1      manu 128	UNIMPL		init_module
    230       1.1      manu 129	UNIMPL		delete_module
    231       1.1      manu 130	UNIMPL		get_kernel_syms
    232       1.1      manu 131	UNIMPL		quotactl
    233  1.29.2.1      yamt 132	NOARGS		{ pid_t|sys||getpgid(pid_t pid); }
    234  1.29.2.1      yamt 133	NOARGS		{ int|sys||fchdir(int fd); }
    235       1.1      manu 134	UNIMPL		bdflush
    236       1.1      manu 135	UNIMPL		sysfs
    237  1.29.2.3      yamt 136	STD		{ int|linux_sys||personality(unsigned long per); }
    238       1.1      manu 137	UNIMPL		afs_syscall
    239  1.29.2.1      yamt 138	STD		{ int|linux_sys||setfsuid(uid_t uid); }
    240  1.29.2.1      yamt 139	STD		{ int|linux_sys||setfsgid(gid_t gid); }
    241  1.29.2.1      yamt 140	STD		{ int|linux_sys||llseek(int fd, u_int32_t ohigh, \
    242      1.23  christos 			    u_int32_t olow, void *res, int whence); }
    243  1.29.2.1      yamt 141	STD		{ int|linux_sys||getdents(int fd, \
    244       1.1      manu 			    struct linux_dirent *dent, unsigned int count); }
    245  1.29.2.1      yamt 142	STD		{ int|linux_sys||select(int nfds, fd_set *readfds, \
    246       1.1      manu 			    fd_set *writefds, fd_set *exceptfds, \
    247  1.29.2.1      yamt 			    struct timeval50 *timeout); }
    248  1.29.2.1      yamt 143	NOARGS		{ int|sys||flock(int fd, int how); }
    249  1.29.2.1      yamt 144	NOARGS		{ int|sys|13|msync(void *addr, size_t len, int flags); }
    250  1.29.2.1      yamt 145	NOARGS		{ int|sys||readv(int fd, struct iovec *iovp, \
    251       1.1      manu 				u_int iovcnt); }
    252  1.29.2.1      yamt 146	NOARGS		{ int|sys||writev(int fd, struct iovec *iovp, \
    253       1.1      manu 				u_int iovcnt); }
    254  1.29.2.1      yamt 147	STD		{ int|linux_sys||cacheflush(void *addr, \
    255       1.1      manu 			    int bytes, int cache); }
    256       1.1      manu 148	UNIMPL		cachectl
    257  1.29.2.1      yamt 149	STD		{ int|linux_sys||sysmips(int cmd, int arg1, \
    258       1.2      manu 			    int arg2, int arg3); }
    259       1.1      manu 150	UNIMPL
    260  1.29.2.1      yamt 151	NOARGS		{ pid_t|sys||getsid(pid_t pid); }
    261  1.29.2.1      yamt 152	STD		{ int|linux_sys||fdatasync(int fd); }
    262  1.29.2.1      yamt 153	STD		{ int|linux_sys||__sysctl(struct linux___sysctl *lsp); }
    263  1.29.2.1      yamt 154	NOARGS		{ int|sys||mlock(void *addr, size_t len); }
    264  1.29.2.1      yamt 155	NOARGS		{ int|sys||munlock(void *addr, size_t len); }
    265  1.29.2.1      yamt 156	NOARGS		{ int|sys||mlockall(int flags); }
    266  1.29.2.1      yamt 157	NOARGS		{ int|sys||munlockall(void); }
    267  1.29.2.1      yamt 158	STD		{ int|linux_sys||sched_setparam(pid_t pid, \
    268       1.1      manu 			    const struct linux_sched_param *sp); }
    269  1.29.2.1      yamt 159	STD		{ int|linux_sys||sched_getparam(pid_t pid, \
    270       1.1      manu 			    struct linux_sched_param *sp); }
    271  1.29.2.1      yamt 160	STD		{ int|linux_sys||sched_setscheduler(pid_t pid, \
    272       1.1      manu 			    int policy, const struct linux_sched_param *sp); }
    273  1.29.2.1      yamt 161	STD		{ int|linux_sys||sched_getscheduler(pid_t pid); }
    274  1.29.2.1      yamt 162	STD		{ int|linux_sys||sched_yield(void); }
    275  1.29.2.1      yamt 163	STD		{ int|linux_sys||sched_get_priority_max(int policy); }
    276  1.29.2.1      yamt 164	STD		{ int|linux_sys||sched_get_priority_min(int policy); }
    277       1.1      manu 165	UNIMPL		sched_rr_get_interval
    278  1.29.2.1      yamt 166	STD		{ int|linux_sys||nanosleep( \
    279  1.29.2.1      yamt 			    const struct linux_timespec *rqtp, \
    280  1.29.2.1      yamt 			    struct linux_timespec *rmtp); }
    281  1.29.2.1      yamt 167	STD		{ void *|linux_sys||mremap(void *old_address, \
    282       1.1      manu 			    size_t old_size, size_t new_size, u_long flags); }
    283  1.29.2.1      yamt 168	NOARGS		{ int|linux_sys||accept(int s, \
    284       1.3      manu 			    struct osockaddr *name, int *anamelen); }
    285  1.29.2.1      yamt 169	NOARGS		{ int|linux_sys||bind(int s, \
    286       1.3      manu 			    const struct osockaddr *name, int namelen); }
    287  1.29.2.1      yamt 170	NOARGS		{ int|linux_sys||connect(int s, \
    288       1.3      manu 			    const struct sockaddr *name, int namelen); }
    289  1.29.2.1      yamt 171	NOARGS		{ int|linux_sys||getpeername(int fdes, void *asa, \
    290       1.3      manu 			    int *alen); }
    291  1.29.2.1      yamt 172	NOARGS		{ int|linux_sys||getsockname(int fdes, void *asa, \
    292       1.3      manu 			    int *alen); }
    293  1.29.2.1      yamt 173	NOARGS		{ int|linux_sys||getsockopt(int s, int level, \
    294       1.3      manu 			    int optname, void *optval, int *optlen); }
    295  1.29.2.1      yamt 174	NOARGS		{ int|sys||listen(int s, int backlog); }
    296  1.29.2.1      yamt 175	NOARGS		{ int|linux_sys||recv(int s, void *buf, int len, \
    297       1.3      manu 			    int flags); }
    298  1.29.2.1      yamt 176	NOARGS		{ int|linux_sys||recvfrom(int s, void *buf, int len, \
    299       1.3      manu 			    int flags, struct osockaddr *from, \
    300       1.3      manu 			    int *fromlenaddr); }
    301  1.29.2.2      yamt 177	NOARGS		{ int|linux_sys||recvmsg(int s, \
    302  1.29.2.2      yamt 			    struct linux_msghdr *msg, u_int flags); }
    303  1.29.2.1      yamt 178	NOARGS		{ int|linux_sys||send(int s, void *buf, int len, \
    304       1.3      manu 			    int flags); }
    305  1.29.2.2      yamt 179	NOARGS		{ int|linux_sys||sendmsg(int s, \
    306  1.29.2.2      yamt 			    struct linux_msghdr *msg, u_int flags); }
    307  1.29.2.1      yamt 180	NOARGS		{ int|linux_sys||sendto(int s, void *msg, \
    308       1.3      manu 			    int len, int flags, struct osockaddr *to, \
    309       1.3      manu 			    int tolen); }
    310  1.29.2.1      yamt 181	NOARGS		{ int|linux_sys||setsockopt(int s, int level, \
    311       1.3      manu 			    int optname, void *optval, int optlen); }
    312       1.3      manu 182	UNIMPL		shutdown
    313  1.29.2.1      yamt 183	NOARGS		{ int|linux_sys||socket(int domain, int type, \
    314       1.3      manu 			    int protocol); }
    315  1.29.2.1      yamt 184	NOARGS		{ int|linux_sys||socketpair(int domain, int type, \
    316       1.3      manu 			    int protocol, int *rsv); }
    317  1.29.2.1      yamt 185	STD		{ int|linux_sys||setresuid(uid_t ruid, uid_t euid, \
    318       1.1      manu 			    uid_t suid); }
    319  1.29.2.1      yamt 186	STD		{ int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \
    320       1.1      manu 			    uid_t *suid); }
    321       1.1      manu 187	UNIMPL		query_module
    322  1.29.2.1      yamt 188	NOARGS		{ int|sys||poll(struct pollfd *fds, u_int nfds, \
    323       1.1      manu 			    int timeout); }
    324       1.1      manu 189	UNIMPL		nfsservctl
    325  1.29.2.1      yamt 190	STD		{ int|linux_sys||setresgid(gid_t rgid, gid_t egid, \
    326       1.1      manu 			    gid_t sgid); }
    327  1.29.2.1      yamt 191	STD		{ int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \
    328       1.1      manu 			    gid_t *sgid); }
    329       1.1      manu 192	UNIMPL		prctl
    330  1.29.2.1      yamt 193	STD		{ int|linux_sys||rt_sigreturn( \
    331       1.1      manu 			    struct linux_pt_regs regs); }
    332  1.29.2.1      yamt 194	STD		{ int|linux_sys||rt_sigaction(int signum, \
    333       1.1      manu 			    const struct linux_sigaction *nsa, \
    334       1.1      manu 			    struct linux_sigaction *osa, \
    335       1.1      manu 			    size_t sigsetsize); }
    336  1.29.2.1      yamt 195	STD		{ int|linux_sys||rt_sigprocmask(int how, \
    337       1.1      manu 			    const linux_sigset_t *set, \
    338       1.1      manu 			    linux_sigset_t *oset, \
    339       1.1      manu 			    size_t sigsetsize); }
    340  1.29.2.1      yamt 196	STD		{ int|linux_sys||rt_sigpending( \
    341       1.1      manu 			    linux_sigset_t *set, \
    342       1.1      manu 			    size_t sigsetsize); }
    343       1.1      manu 197	UNIMPL		rt_sigtimedwait
    344  1.29.2.1      yamt 198	STD		{ int|linux_sys||rt_queueinfo(int pid, int signum, \
    345  1.29.2.2      yamt 			    linux_siginfo_t *uinfo); }
    346  1.29.2.1      yamt 199	STD		{ int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \
    347       1.1      manu 			    size_t sigsetsize); }
    348  1.29.2.1      yamt 200	STD		{ int|linux_sys||pread(int fd, char *buf, \
    349       1.1      manu 			    size_t nbyte, linux_off_t offset); }
    350  1.29.2.1      yamt 201	STD		{ int|linux_sys||pwrite(int fd, char *buf, \
    351       1.1      manu 			    size_t nbyte, linux_off_t offset); }
    352  1.29.2.1      yamt 202	NOARGS		{ int|sys||__posix_chown(const char *path, \
    353       1.1      manu 			    int uid, int gid); }
    354  1.29.2.1      yamt 203	NOARGS		{ int|sys||__getcwd(char *bufp, size_t length); }
    355       1.1      manu 204	UNIMPL		capget
    356       1.1      manu 205	UNIMPL		capset
    357  1.29.2.1      yamt 206	STD		{ int|linux_sys||sigaltstack( \
    358       1.1      manu 			    const struct linux_sigaltstack *ss, \
    359       1.1      manu 			    struct linux_sigaltstack *oss); }
    360       1.1      manu 207	UNIMPL		sendfile
    361       1.1      manu 208	UNIMPL
    362       1.7     rafal 209	UNIMPL
    363      1.25       dsl #define linux_sys_mmap2_args linux_sys_mmap_args
    364  1.29.2.1      yamt 210	NOARGS		{ linux_off_t|linux_sys||mmap2(unsigned long addr, \
    365      1.11  christos 			    size_t len, int prot, int flags, int fd, \
    366      1.11  christos 			    linux_off_t offset); }
    367  1.29.2.1      yamt 211	STD		{ int|linux_sys||truncate64(const char *path, \
    368       1.2      manu 			    off_t length); }
    369  1.29.2.1      yamt 212	STD		{ int|linux_sys||ftruncate64(unsigned int fd, \
    370      1.12  jdolecek 			    off_t length); }
    371  1.29.2.1      yamt 213	STD		{ int|linux_sys||stat64(const char *path, \
    372       1.5  christos 			    struct linux_stat64 *sp); }
    373  1.29.2.1      yamt 214	STD		{ int|linux_sys||lstat64(const char *path, \
    374       1.5  christos 			    struct linux_stat64 *sp); }
    375  1.29.2.1      yamt 215	STD		{ int|linux_sys||fstat64(int fd, \
    376       1.5  christos 			    struct linux_stat64 *sp); }
    377       1.1      manu 216	UNIMPL		pivot_root
    378  1.29.2.1      yamt 217	NOARGS		{ int|sys||mincore(void *addr, size_t len, char *vec); }
    379  1.29.2.1      yamt 218	NOARGS		{ int|sys||madvise(void *addr, size_t len, int behav); }
    380  1.29.2.1      yamt 219	STD		{ int|linux_sys||getdents64(int fd, \
    381       1.9  christos 			    struct linux_dirent64 *dent, unsigned int count); }
    382  1.29.2.1      yamt 220	STD		{ int|linux_sys||fcntl64(int fd, \
    383       1.8  christos 			    int cmd, void *arg); }
    384      1.14  jdolecek 221	UNIMPL		/* reserved */
    385      1.14  jdolecek 222	UNIMPL		gettid
    386      1.14  jdolecek 223	UNIMPL		readahead
    387  1.29.2.1      yamt 224	STD		{ int|linux_sys||setxattr(char *path, char *name, \
    388      1.18      fvdl 			    void *value, size_t size, int flags); }
    389  1.29.2.1      yamt 225	STD		{ int|linux_sys||lsetxattr(char *path, char *name, \
    390      1.18      fvdl 			    void *value, size_t size, int flags); }
    391  1.29.2.1      yamt 226	STD		{ int|linux_sys||fsetxattr(int fd, char *name, \
    392      1.18      fvdl 			    void *value, size_t size, int flags); }
    393  1.29.2.1      yamt 227	STD		{ ssize_t|linux_sys||getxattr(char *path, char *name, \
    394      1.18      fvdl 			    void *value, size_t size); }
    395  1.29.2.1      yamt 228	STD		{ ssize_t|linux_sys||lgetxattr(char *path, char *name, \
    396      1.18      fvdl 			    void *value, size_t size); }
    397  1.29.2.1      yamt 229	STD		{ ssize_t|linux_sys||fgetxattr(int fd, char *name, \
    398      1.18      fvdl 			    void *value, size_t size); }
    399  1.29.2.1      yamt 230	STD		{ ssize_t|linux_sys||listxattr(char *path, char *list, \
    400      1.18      fvdl 			    size_t size); }
    401  1.29.2.1      yamt 231	STD		{ ssize_t|linux_sys||llistxattr(char *path, char *list, \
    402      1.18      fvdl 			    size_t size); }
    403  1.29.2.1      yamt 232	STD		{ ssize_t|linux_sys||flistxattr(int fd, char *list, \
    404      1.18      fvdl 			    size_t size); }
    405  1.29.2.1      yamt 233	STD		{ int|linux_sys||removexattr(char *path, char *name); }
    406  1.29.2.1      yamt 234	STD		{ int|linux_sys||lremovexattr(char *path, char *name); }
    407  1.29.2.1      yamt 235	STD		{ int|linux_sys||fremovexattr(int fd, char *name); }
    408      1.14  jdolecek 236	UNIMPL		tkill
    409      1.14  jdolecek 237	UNIMPL		sendfile64
    410      1.14  jdolecek 238	UNIMPL		futex
    411      1.14  jdolecek 239	UNIMPL		sched_setaffinity
    412      1.14  jdolecek 240	UNIMPL		sched_getaffinity
    413      1.14  jdolecek 241	UNIMPL		io_setup
    414      1.14  jdolecek 242	UNIMPL		io_destroy
    415      1.14  jdolecek 243	UNIMPL		io_getevents
    416      1.14  jdolecek 244	UNIMPL		io_submit
    417      1.14  jdolecek 245	UNIMPL		io_cancel
    418  1.29.2.1      yamt 246	STD		{ int|linux_sys||exit_group(int error_code); }
    419      1.14  jdolecek 247	UNIMPL		lookup_dcookie
    420      1.14  jdolecek 248	UNIMPL		epoll_create
    421      1.14  jdolecek 249	UNIMPL		epoll_ctl
    422      1.14  jdolecek 250	UNIMPL		epoll_wait
    423      1.14  jdolecek 251	UNIMPL		remap_file_pages
    424      1.14  jdolecek 252	UNIMPL		set_tid_address
    425      1.14  jdolecek 253	UNIMPL		restart_syscall
    426      1.14  jdolecek 254	UNIMPL		fadvise64
    427  1.29.2.1      yamt 255	STD		{ int|linux_sys||statfs64(const char *path, \
    428      1.16  jdolecek 			    size_t sz, struct linux_statfs64 *sp); }
    429  1.29.2.1      yamt 256	STD		{ int|linux_sys||fstatfs64(int fd, \
    430      1.16  jdolecek 			    size_t sz, struct linux_statfs64 *sp); }
    431      1.14  jdolecek 257	UNIMPL		timer_create
    432      1.14  jdolecek 258	UNIMPL		timer_settime
    433      1.14  jdolecek 259	UNIMPL		timer_gettime
    434      1.14  jdolecek 260	UNIMPL		timer_getoverrun
    435      1.14  jdolecek 261	UNIMPL		timer_delete
    436  1.29.2.1      yamt 262	STD		{ int|linux_sys||clock_settime(clockid_t which, \
    437      1.19      fvdl 			    struct linux_timespec *tp); }
    438  1.29.2.1      yamt 263	STD		{ int|linux_sys||clock_gettime(clockid_t which, \
    439      1.19      fvdl 			    struct linux_timespec *tp); }
    440  1.29.2.1      yamt 264	STD		{ int|linux_sys||clock_getres(clockid_t which, \
    441      1.19      fvdl 			    struct linux_timespec *tp); }
    442  1.29.2.1      yamt 265	STD		{ int|linux_sys||clock_nanosleep(clockid_t which, \
    443      1.19      fvdl 			    int flags, struct linux_timespec *rqtp, \
    444      1.19      fvdl 			    struct linux_timespec *rmtp); }
    445      1.14  jdolecek 266	UNIMPL		tgkill
    446      1.14  jdolecek 267	UNIMPL		utimes
    447      1.14  jdolecek 268	UNIMPL		mbind
    448      1.14  jdolecek 269	UNIMPL		get_mempolicy
    449      1.14  jdolecek 270	UNIMPL		set_mempolicy
    450      1.14  jdolecek 271	UNIMPL		mq_open
    451      1.14  jdolecek 272	UNIMPL		mq_unlink
    452      1.14  jdolecek 273	UNIMPL		mq_timedsend
    453      1.14  jdolecek 274	UNIMPL		mq_timedreceive
    454      1.14  jdolecek 275	UNIMPL		mq_notify
    455      1.14  jdolecek 276	UNIMPL		mq_getsetattr
    456