Home | History | Annotate | Line # | Download | only in m68k
syscalls.master revision 1.11
      1  1.11     tron 	$NetBSD: syscalls.master,v 1.11 1999/12/05 21:24:30 tron Exp $
      2   1.1    itohy 
      3   1.1    itohy ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
      4   1.1    itohy 
      5   1.1    itohy ; NetBSD m68k COMPAT_LINUX system call name/number "master" file.
      6   1.1    itohy ; (See syscalls.conf to see what it is processed into.)
      7   1.1    itohy ;
      8   1.1    itohy ; Fields: number type [type-dependent ...]
      9   1.1    itohy ;	number	system call number, must be in order
     10   1.1    itohy ;	type	one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
     11   1.1    itohy ;		the compatibility options defined in syscalls.conf.
     12   1.1    itohy ;
     13   1.1    itohy ; types:
     14   1.1    itohy ;	STD	always included
     15   1.1    itohy ;	OBSOL	obsolete, not included in system
     16   1.1    itohy ;	UNIMPL	unimplemented, not included in system
     17   1.1    itohy ;	NODEF	included, but don't define the syscall number
     18   1.1    itohy ;	NOARGS	included, but don't define the syscall args structure
     19   1.1    itohy ;	INDIR	included, but don't define the syscall args structure
     20   1.1    itohy ;		and allow it to be "really" varargs.
     21   1.1    itohy ;
     22   1.1    itohy ; The compat options are defined in the syscalls.conf file, and the
     23   1.1    itohy ; compat option name is prefixed to the syscall name.  Other than
     24   1.1    itohy ; that, they're like NODEF (for 'compat' options), or STD (for
     25   1.1    itohy ; 'libcompat' options).
     26   1.1    itohy ;
     27   1.1    itohy ; The type-dependent arguments are as follows:
     28   1.1    itohy ; For STD, NODEF, NOARGS, and compat syscalls:
     29   1.1    itohy ;	{ pseudo-proto } [alias]
     30   1.1    itohy ; For other syscalls:
     31   1.1    itohy ;	[comment]
     32   1.1    itohy ;
     33   1.1    itohy ; #ifdef's, etc. may be included, and are copied to the output files.
     34   1.1    itohy ; #include's are copied to the syscall names and switch definition files only.
     35   1.1    itohy 
     36   1.1    itohy #include "opt_compat_netbsd.h"
     37   1.1    itohy #include "opt_compat_43.h"
     38   1.1    itohy 
     39   1.1    itohy #include <sys/param.h>
     40   1.5     tron #include <sys/poll.h>
     41   1.1    itohy #include <sys/systm.h>
     42   1.1    itohy #include <sys/signal.h>
     43   1.1    itohy #include <sys/mount.h>
     44   1.1    itohy #include <sys/syscallargs.h>
     45   1.1    itohy 
     46   1.1    itohy #include <compat/linux/common/linux_types.h>
     47   1.1    itohy #include <compat/linux/common/linux_signal.h>
     48   1.1    itohy #include <compat/linux/common/linux_siginfo.h>
     49   1.1    itohy #include <compat/linux/common/linux_machdep.h>
     50   1.1    itohy 
     51   1.1    itohy #include <compat/linux/linux_syscallargs.h>
     52   1.1    itohy 
     53   1.1    itohy 
     54   1.1    itohy 0	NOARGS		{ int sys_nosys(void); } syscall
     55   1.1    itohy 1	NOARGS		{ int sys_exit(int rval); }
     56   1.1    itohy 2	NOARGS		{ int sys_fork(void); }
     57   1.1    itohy 3	NOARGS		{ int sys_read(int fd, char *buf, u_int nbyte); }
     58   1.1    itohy 4	NOARGS		{ int sys_write(int fd, char *buf, u_int nbyte); }
     59   1.2    itohy 5	STD		{ int linux_sys_open(const char *path, int flags, \
     60   1.2    itohy 			    int mode); }
     61   1.1    itohy 6	NOARGS		{ int sys_close(int fd); }
     62   1.1    itohy 7	STD		{ int linux_sys_waitpid(int pid, int *status, \
     63   1.1    itohy 			    int options);}
     64   1.2    itohy 8	STD		{ int linux_sys_creat(const char *path, int mode); }
     65   1.2    itohy 9	NOARGS		{ int sys_link(const char *path, const char *link); }
     66   1.2    itohy 10	STD		{ int linux_sys_unlink(const char *path); }
     67   1.2    itohy 11	STD		{ int linux_sys_execve(const char *path, char **argp, \
     68   1.1    itohy 			    char **envp); }
     69   1.2    itohy 12	STD		{ int linux_sys_chdir(const char *path); }
     70   1.1    itohy 13	STD		{ int linux_sys_time(linux_time_t *t); }
     71   1.2    itohy 14	STD		{ int linux_sys_mknod(const char *path, int mode, \
     72   1.2    itohy 			    int dev); }
     73   1.2    itohy 15	STD		{ int linux_sys_chmod(const char *path, int mode); }
     74   1.1    itohy ;16 lchown on i386; chown on m68k.
     75   1.2    itohy 16	STD		{ int linux_sys_chown(const char *path, \
     76   1.2    itohy 			    int uid, int gid); }
     77   1.1    itohy 17	OBSOL		break
     78   1.1    itohy 18	OBSOL		ostat
     79   1.1    itohy #if !defined(_KERNEL) || defined(COMPAT_43)
     80   1.1    itohy 19	NOARGS		{ long compat_43_sys_lseek(int fd, long offset, \
     81   1.1    itohy 			    int whence); }
     82   1.1    itohy #else
     83   1.1    itohy 19	UNIMPL		compat_43_sys_lseek
     84   1.1    itohy #endif
     85   1.1    itohy 20	NOARGS		{ pid_t sys_getpid(void); }
     86   1.1    itohy 21	UNIMPL		mount
     87   1.1    itohy 22	OBSOL		umount
     88   1.1    itohy 23	NOARGS		{ int sys_setuid(uid_t uid); }
     89   1.1    itohy 24	NOARGS		{ uid_t sys_getuid(void); }
     90   1.8     tron 25	STD		{ int linux_sys_stime(linux_time_t *t); }
     91   1.1    itohy 26	UNIMPL		ptrace
     92   1.1    itohy 27	STD		{ int linux_sys_alarm(unsigned int secs); }
     93   1.1    itohy 28	OBSOL		ofstat
     94   1.1    itohy 29	STD		{ int linux_sys_pause(void); }
     95   1.2    itohy 30	STD		{ int linux_sys_utime(const char *path, \
     96   1.1    itohy 			    struct linux_utimbuf *times); }
     97   1.1    itohy 31	OBSOL		stty
     98   1.1    itohy 32	OBSOL		gtty
     99   1.2    itohy 33	STD		{ int linux_sys_access(const char *path, int flags); }
    100   1.1    itohy 34	STD		{ int linux_sys_nice(int incr); }
    101   1.1    itohy 35	OBSOL		ftime
    102   1.1    itohy 36	NOARGS		{ int sys_sync(void); }
    103   1.1    itohy 37	STD		{ int linux_sys_kill(int pid, int signum); }
    104   1.2    itohy 38	STD		{ int linux_sys_rename(const char *from, \
    105   1.2    itohy 			    const char *to); }
    106   1.2    itohy 39	STD		{ int linux_sys_mkdir(const char *path, int mode); }
    107   1.2    itohy 40	STD		{ int linux_sys_rmdir(const char *path); }
    108   1.1    itohy 41	NOARGS		{ int sys_dup(u_int fd); }
    109   1.1    itohy 42	STD		{ int linux_sys_pipe(int *pfds); }
    110   1.1    itohy 43	STD		{ int linux_sys_times(struct times *tms); }
    111   1.1    itohy 44	OBSOL		prof
    112   1.1    itohy 45	STD		{ int linux_sys_brk(char *nsize); }
    113   1.1    itohy 46	NOARGS		{ int sys_setgid(gid_t gid); }
    114   1.1    itohy 47	NOARGS		{ gid_t sys_getgid(void); }
    115  1.10     tron 48	STD		{ int linux_sys_signal(int signum, \
    116   1.1    itohy 			    linux_handler_t handler); }
    117   1.1    itohy 49	NOARGS		{ uid_t sys_geteuid(void); }
    118   1.1    itohy 50	NOARGS		{ gid_t sys_getegid(void); }
    119   1.1    itohy 51	NOARGS		{ int sys_acct(char *path); }
    120   1.1    itohy 52	UNIMPL		umount
    121   1.1    itohy 53	OBSOL		lock
    122   1.1    itohy 54	STD		{ int linux_sys_ioctl(int fd, u_long com, \
    123   1.1    itohy 			    caddr_t data); }
    124   1.1    itohy 55	STD		{ int linux_sys_fcntl(int fd, int cmd, void *arg); }
    125   1.1    itohy 56	OBSOL		mpx
    126   1.1    itohy 57	NOARGS		{ int sys_setpgid(int pid, int pgid); }
    127   1.1    itohy 58	OBSOL		ulimit
    128   1.1    itohy 59	UNIMPL		oldolduname
    129   1.1    itohy 60	NOARGS		{ int sys_umask(int newmask); }
    130   1.1    itohy 61	NOARGS		{ int sys_chroot(char *path); }
    131   1.1    itohy 62	UNIMPL		ustat
    132   1.1    itohy 63	NOARGS		{ int sys_dup2(u_int from, u_int to); }
    133   1.1    itohy 64	NOARGS		{ pid_t sys_getppid(void); }
    134   1.1    itohy 65	NOARGS		{ int sys_getpgrp(void); }
    135   1.1    itohy 66	NOARGS		{ int sys_setsid(void); }
    136   1.1    itohy 67	STD		{ int linux_sys_sigaction(int signum, \
    137   1.1    itohy 			    const struct linux_old_sigaction *nsa, \
    138   1.1    itohy 			    struct linux_old_sigaction *osa); }
    139   1.1    itohy 68	STD		{ int linux_sys_siggetmask(void); }
    140   1.1    itohy 69	STD		{ int linux_sys_sigsetmask(linux_old_sigset_t mask); }
    141   1.1    itohy 70	STD		{ int linux_sys_setreuid(int ruid, int euid); }
    142   1.1    itohy 71	STD		{ int linux_sys_setregid(int rgid, int egid); }
    143   1.1    itohy 72	STD		{ int linux_sys_sigsuspend(caddr_t restart, \
    144   1.1    itohy 			    int oldmask, int mask); }
    145   1.1    itohy 73	STD		{ int linux_sys_sigpending(linux_old_sigset_t *set); }
    146   1.1    itohy #if !defined(_KERNEL) || defined(COMPAT_43)
    147   1.1    itohy 74	NOARGS		{ int compat_43_sys_sethostname(char *hostname, \
    148   1.1    itohy 			    u_int len);}
    149   1.1    itohy 75	NOARGS		{ int compat_43_sys_setrlimit(u_int which, \
    150   1.1    itohy 			    struct orlimit *rlp); }
    151   1.1    itohy 76	NOARGS		{ int compat_43_sys_getrlimit(u_int which, \
    152   1.1    itohy 			    struct orlimit *rlp); }
    153   1.1    itohy #else
    154   1.1    itohy 74	UNIMPL		compat_43_sys_sethostname
    155   1.1    itohy 75	UNIMPL		compat_43_sys_setrlimit
    156   1.1    itohy 76	UNIMPL		compat_43_sys_getrlimit
    157   1.1    itohy #endif
    158   1.1    itohy 77	NOARGS		{ int sys_getrusage(int who, struct rusage *rusage); }
    159   1.1    itohy 78	NOARGS		{ int sys_gettimeofday(struct timeval *tp, \
    160   1.1    itohy 			    struct timezone *tzp); }
    161   1.1    itohy 79	NOARGS		{ int sys_settimeofday(struct timeval *tp, \
    162   1.1    itohy 			    struct timezone *tzp); }
    163   1.1    itohy 80	NOARGS		{ int sys_getgroups(u_int gidsetsize, gid_t *gidset); }
    164   1.1    itohy 81	NOARGS		{ int sys_setgroups(u_int gidsetsize, gid_t *gidset); }
    165   1.1    itohy 82	STD		{ int linux_sys_oldselect(struct linux_oldselect *lsp); }
    166   1.2    itohy 83	STD		{ int linux_sys_symlink(const char *path, \
    167   1.2    itohy 			    const char *to); }
    168   1.1    itohy #if !defined(_KERNEL) || defined(COMPAT_43)
    169   1.2    itohy 84	NOARGS		{ int compat_43_sys_lstat(const char *path, \
    170   1.1    itohy 			    struct stat43 *up); } oolstat
    171   1.1    itohy #else
    172   1.1    itohy 84	UNIMPL		compat_43_sys_lstat
    173   1.1    itohy #endif
    174   1.2    itohy 85	STD		{ int linux_sys_readlink(const char *name, char *buf, \
    175   1.1    itohy 			    int count); }
    176   1.2    itohy 86	STD		{ int linux_sys_uselib(const char *path); }
    177   1.1    itohy #if !defined(_KERNEL) || defined(COMPAT_12)
    178   1.1    itohy 87	NOARGS		{ int compat_12_sys_swapon(char *name); }
    179   1.1    itohy #else
    180   1.1    itohy 87	UNIMPL		compat_12_sys_swapon
    181   1.1    itohy #endif
    182   1.1    itohy 88	NOARGS		{ int sys_reboot(int opt); }
    183   1.1    itohy 89	STD		{ int linux_sys_readdir(int fd, caddr_t dent, \
    184   1.1    itohy 			    unsigned int count); }
    185   1.1    itohy 90	STD		{ int linux_sys_old_mmap(struct linux_oldmmap *lmp); }
    186   1.1    itohy 91	NOARGS		{ int sys_munmap(caddr_t addr, int len); }
    187   1.2    itohy 92	STD		{ int linux_sys_truncate(const char *path, \
    188   1.2    itohy 			    long length); }
    189   1.1    itohy #if !defined(_KERNEL) || defined(COMPAT_43)
    190   1.1    itohy 93	NOARGS		{ int compat_43_sys_ftruncate(int fd, long length); }
    191   1.1    itohy #else
    192   1.1    itohy 93	UNIMPL		compat_43_sys_ftruncate
    193   1.1    itohy #endif
    194   1.1    itohy 94	NOARGS		{ int sys_fchmod(int fd, int mode); }
    195   1.1    itohy 95	STD		{ int linux_sys_fchown(int fd, int uid, int gid); }
    196   1.1    itohy 96	NOARGS		{ int sys_getpriority(int which, int who); }
    197   1.1    itohy 97	NOARGS		{ int sys_setpriority(int which, int who, int prio); }
    198   1.1    itohy 98	NOARGS		{ int sys_profil(caddr_t samples, u_int size, \
    199   1.1    itohy 			    u_int offset, u_int scale); }
    200   1.2    itohy 99	STD		{ int linux_sys_statfs(const char *path, \
    201   1.1    itohy 			    struct linux_statfs *sp); }
    202   1.1    itohy 100	STD		{ int linux_sys_fstatfs(int fd, \
    203   1.1    itohy 			    struct linux_statfs *sp); }
    204   1.1    itohy 101	UNIMPL		ioperm
    205   1.1    itohy 102	STD		{ int linux_sys_socketcall(int what, void *args); }
    206   1.1    itohy 103	UNIMPL		syslog
    207   1.1    itohy 104	NOARGS		{ int sys_setitimer(u_int which, \
    208   1.1    itohy 			    struct itimerval *itv, struct itimerval *oitv); }
    209   1.1    itohy 105	NOARGS		{ int sys_getitimer(u_int which, \
    210   1.1    itohy 			    struct itimerval *itv); }
    211   1.2    itohy 106	STD		{ int linux_sys_stat(const char *path, \
    212   1.1    itohy 			    struct linux_stat *sp); }
    213   1.2    itohy 107	STD		{ int linux_sys_lstat(const char *path, \
    214   1.1    itohy 			    struct linux_stat *sp); }
    215   1.1    itohy 108	STD		{ int linux_sys_fstat(int fd, struct linux_stat *sp); }
    216   1.1    itohy 109	UNIMPL		olduname
    217   1.1    itohy 110	UNIMPL		iopl
    218   1.1    itohy 111	UNIMPL		vhangup
    219   1.1    itohy 112	UNIMPL		idle
    220   1.1    itohy 113	UNIMPL		vm86old
    221   1.1    itohy 114	STD		{ int linux_sys_wait4(int pid, int *status, \
    222   1.1    itohy 			    int options, struct rusage *rusage); }
    223   1.1    itohy 115	UNIMPL		swapoff
    224   1.1    itohy 116	UNIMPL		sysinfo
    225   1.1    itohy 117	STD		{ int linux_sys_ipc(int what, int a1, int a2, int a3, \
    226   1.1    itohy 			    caddr_t ptr); }
    227   1.1    itohy 118	NOARGS		{ int sys_fsync(int fd); }
    228   1.1    itohy 119	STD		{ int linux_sys_sigreturn(void); }
    229   1.6  thorpej 120	STD		{ int linux_sys_clone(int flags, void *stack); }
    230   1.1    itohy #if !defined(_KERNEL) || defined(COMPAT_09)
    231   1.1    itohy 121	NOARGS		{ int compat_09_sys_setdomainname(char *name, \
    232   1.1    itohy 			    int len); }
    233   1.1    itohy #else
    234   1.1    itohy 121	UNIMPL		compat_09_sys_setdomainname
    235   1.1    itohy #endif
    236   1.1    itohy 122	STD		{ int linux_sys_uname(struct linux_utsname *up); }
    237   1.1    itohy 123	STD		{ int linux_sys_cacheflush(unsigned long addr, \
    238   1.1    itohy 			    int scope, int cache, unsigned long len); }
    239   1.1    itohy 124	UNIMPL		adjtimex
    240   1.1    itohy 125	NOARGS		{ int sys_mprotect(caddr_t addr, int len, int prot); }
    241   1.1    itohy 126	STD		{ int linux_sys_sigprocmask(int how, \
    242   1.1    itohy 			    const linux_old_sigset_t *set, \
    243   1.1    itohy 			    linux_old_sigset_t *oset); }
    244   1.1    itohy 127	UNIMPL		create_module
    245   1.1    itohy 128	UNIMPL		init_module
    246   1.1    itohy 129	UNIMPL		delete_module
    247   1.1    itohy 130	UNIMPL		get_kernel_syms
    248   1.1    itohy 131	UNIMPL		quotactl
    249   1.1    itohy 132	STD		{ int linux_sys_getpgid(int pid); }
    250   1.1    itohy 133	NOARGS		{ int sys_fchdir(int fd); }
    251   1.1    itohy 134	UNIMPL		bdflush
    252   1.1    itohy 135	UNIMPL		sysfs
    253   1.1    itohy 136	STD		{ int linux_sys_personality(int per); }
    254   1.1    itohy 137	UNIMPL		afs_syscall
    255   1.1    itohy 138	UNIMPL		setfsuid
    256   1.1    itohy 139	UNIMPL		getfsuid
    257   1.1    itohy 140	STD		{ int linux_sys_llseek(int fd, u_int32_t ohigh, \
    258   1.1    itohy 			    u_int32_t olow, caddr_t res, int whence); }
    259   1.1    itohy 141	STD		{ int linux_sys_getdents(int fd, \
    260   1.1    itohy 			    struct linux_dirent *dent, unsigned int count); }
    261   1.1    itohy 142	STD		{ int linux_sys_select(int nfds, fd_set *readfds, \
    262   1.1    itohy 			    fd_set *writefds, fd_set *exceptfds, \
    263   1.1    itohy 			    struct timeval *timeout); }
    264   1.1    itohy 143	NOARGS		{ int sys_flock(int fd, int how); }
    265   1.1    itohy 144	STD		{ int linux_sys_msync(caddr_t addr, int len, int fl); }
    266   1.1    itohy 145	NOARGS		{ int sys_readv(int fd, struct iovec *iovp, \
    267   1.1    itohy 				u_int iovcnt); }
    268   1.1    itohy 146	NOARGS		{ int sys_writev(int fd, struct iovec *iovp, \
    269   1.1    itohy 				u_int iovcnt); }
    270   1.1    itohy 147	NOARGS		{ pid_t sys_getsid(pid_t pid); }
    271   1.1    itohy 148	STD		{ int linux_sys_fdatasync(int fd); }
    272   1.1    itohy 149	STD		{ int linux_sys___sysctl(struct linux___sysctl *lsp); }
    273   1.1    itohy 150	NOARGS		{ int sys_mlock(caddr_t addr, size_t len); }
    274   1.1    itohy 151	NOARGS		{ int sys_munlock(caddr_t addr, size_t len); }
    275   1.1    itohy 152	UNIMPL		mlockall
    276   1.1    itohy 153	UNIMPL		munlockall
    277   1.9     tron 154	STD		{ int linux_sys_sched_setparam(pid_t pid, \
    278   1.9     tron 			    const struct linux_sched_param *sp); }
    279   1.9     tron 155	STD		{ int linux_sys_sched_getparam(pid_t pid, \
    280   1.9     tron 			    struct linux_sched_param *sp); }
    281   1.9     tron 156	STD		{ int linux_sys_sched_setscheduler(pid_t pid, \
    282   1.9     tron 			    int policy, const struct linux_sched_param *sp); }
    283   1.9     tron 157	STD		{ int linux_sys_sched_getscheduler(pid_t pid); }
    284   1.9     tron 158	STD		{ int linux_sys_sched_yield(void); }
    285   1.9     tron 159	STD		{ int linux_sys_sched_get_priority_max(int policy); }
    286   1.9     tron 160	STD		{ int linux_sys_sched_get_priority_min(int policy); }
    287   1.1    itohy 161	UNIMPL		sched_rr_get_interval
    288   1.1    itohy 162	NOARGS		{ int sys_nanosleep(const struct timespec *rqtp, \
    289   1.1    itohy 				struct timespec *rmtp); }
    290   1.1    itohy 163	STD		{ void *linux_sys_mremap(void *old_address, \
    291   1.1    itohy 			    size_t old_size, size_t new_size, u_long flags); }
    292   1.7  thorpej 164	STD		{ int linux_sys_setresuid(uid_t ruid, uid_t euid, \
    293   1.7  thorpej 			    uid_t suid); }
    294   1.7  thorpej 165	STD		{ int linux_sys_getresuid(uid_t *ruid, uid_t *euid, \
    295   1.7  thorpej 			    uid_t *suid); }
    296   1.1    itohy 166	UNIMPL		vm86
    297   1.1    itohy 167	UNIMPL		query_module
    298   1.5     tron 168	NOARGS		{ int sys_poll(struct pollfd *fds, u_int nfds, \
    299   1.5     tron 			    int timeout); }
    300   1.1    itohy 169	UNIMPL		nfsservctl
    301   1.7  thorpej 170	STD		{ int linux_sys_setresgid(gid_t rgid, gid_t egid, \
    302   1.7  thorpej 			    gid_t sgid); }
    303   1.7  thorpej 171	STD		{ int linux_sys_getresgid(gid_t *rgid, gid_t *egid, \
    304   1.7  thorpej 			    gid_t *sgid); }
    305   1.1    itohy 172	UNIMPL		prctl
    306   1.1    itohy 173	STD		{ int linux_sys_rt_sigreturn(void); }
    307   1.1    itohy 174	STD		{ int linux_sys_rt_sigaction(int signum, \
    308   1.1    itohy 			    const struct linux_sigaction *nsa, \
    309   1.1    itohy 			    struct linux_sigaction *osa, \
    310   1.1    itohy 			    size_t sigsetsize); }
    311   1.1    itohy 175	STD		{ int linux_sys_rt_sigprocmask(int how, \
    312   1.1    itohy 			    const linux_sigset_t *set, \
    313   1.1    itohy 			    linux_sigset_t *oset, \
    314   1.1    itohy 			    size_t sigsetsize); }
    315   1.1    itohy 176	STD		{ int linux_sys_rt_sigpending( \
    316   1.1    itohy 			    linux_sigset_t *set, \
    317   1.1    itohy 			    size_t sigsetsize); }
    318   1.1    itohy 177	UNIMPL		rt_sigtimedwait
    319   1.1    itohy ; XXX XAX int here?  sigset_t here?  siginfo_t
    320   1.1    itohy 178	STD		{ int linux_sys_rt_queueinfo(int pid, int signum, \
    321   1.1    itohy 			    void *uinfo); }
    322   1.1    itohy 179	STD		{ int linux_sys_rt_sigsuspend(linux_sigset_t *unewset, \
    323   1.1    itohy 			    size_t sigsetsize); }
    324  1.11     tron 180	STD		{ int linux_sys_pread(int fd, char *buf, \
    325  1.11     tron 			    size_t nbyte, linux_off_t offset); }
    326  1.11     tron 181	STD		{ int linux_sys_pwrite(int fd, char *buf, \
    327  1.11     tron 			    size_t nbyte, linux_off_t offset); }
    328   1.1    itohy ;182 chown on i386; lchown on m68k.
    329   1.2    itohy 182	STD		{ int linux_sys_lchown(const char *path, int uid, \
    330   1.2    itohy 			    int gid); }
    331   1.4     tron 183	NOARGS		{ int sys___getcwd(char *bufp, size_t length); }
    332   1.1    itohy 184	UNIMPL		capget
    333   1.1    itohy 185	UNIMPL		capset
    334   1.1    itohy 186	UNIMPL		sigaltstack
    335   1.7  thorpej 187	UNIMPL		sendfile
    336   1.7  thorpej 188	UNIMPL		getpmsg
    337   1.7  thorpej 189	UNIMPL		putpmsg
    338   1.7  thorpej 190	NOARGS		{ int sys___vfork14(void); }
    339