summaryrefslogtreecommitdiff
path: root/sys/compat/linux/syscalls.master
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/linux/syscalls.master')
-rw-r--r--sys/compat/linux/syscalls.master113
1 files changed, 60 insertions, 53 deletions
diff --git a/sys/compat/linux/syscalls.master b/sys/compat/linux/syscalls.master
index abfeca5e091..1999b6d5255 100644
--- a/sys/compat/linux/syscalls.master
+++ b/sys/compat/linux/syscalls.master
@@ -1,4 +1,4 @@
- $OpenBSD: syscalls.master,v 1.24 2000/06/07 14:11:38 niklas Exp $
+ $OpenBSD: syscalls.master,v 1.25 2000/07/07 02:13:40 jasoni Exp $
; $NetBSD: syscalls.master,v 1.15 1995/12/18 14:35:10 fvdl Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -64,7 +64,7 @@
15 STD { int linux_sys_chmod(char *path, int mode); }
16 STD { int linux_sys_lchown(char *path, int uid, int gid); }
17 STD { int linux_sys_break(char *nsize); }
-18 OBSOL ostat
+18 STD { int linux_sys_ostat(void); }
19 NOARGS { long compat_43_sys_lseek(int fd, long offset, \
int whence); }
20 NOARGS { pid_t sys_getpid(void); }
@@ -74,17 +74,17 @@
23 NOARGS { int sys_setuid(uid_t uid); }
24 NOARGS { uid_t sys_getuid(void); }
25 STD { int linux_sys_stime(linux_time_t *t); }
-26 UNIMPL ptrace
+26 STD { int linux_sys_ptrace(void); }
27 STD { int linux_sys_alarm(unsigned int secs); }
-28 OBSOL ofstat
+28 STD { int linux_sys_ofstat(void); }
29 STD { int linux_sys_pause(void); }
30 STD { int linux_sys_utime(char *path, \
struct linux_utimbuf *times); }
-31 UNIMPL stty
-32 UNIMPL gtty
+31 STD { int linux_sys_stty(void); }
+32 STD { int linux_sys_gtty(void); }
33 STD { int linux_sys_access(char *path, int flags); }
34 STD { int linux_sys_nice(int incr); }
-35 UNIMPL ftime
+35 STD { int linux_sys_ftime(void); }
36 NOARGS { int sys_sync(void); }
37 STD { int linux_sys_kill(int pid, int signum); }
38 STD { int linux_sys_rename(char *from, char *to); }
@@ -93,7 +93,7 @@
41 NOARGS { int sys_dup(u_int fd); }
42 STD { int linux_sys_pipe(int *pfds); }
43 STD { int linux_sys_times(struct times *tms); }
-44 UNIMPL prof
+44 STD { int linux_sys_prof(void); }
45 STD { int linux_sys_brk(char *nsize); }
46 NOARGS { int sys_setgid(gid_t gid); }
47 NOARGS { gid_t sys_getgid(void); }
@@ -102,18 +102,18 @@
49 NOARGS { uid_t sys_geteuid(void); }
50 NOARGS { gid_t sys_getegid(void); }
51 NOARGS { int sys_acct(char *path); }
-52 UNIMPL phys
-53 UNIMPL lock
+52 STD { int linux_sys_phys(void); }
+53 STD { int linux_sys_lock(void); }
54 STD { int linux_sys_ioctl(int fd, u_long com, \
caddr_t data); }
55 STD { int linux_sys_fcntl(int fd, int cmd, void *arg); }
-56 UNIMPL mpx
+56 STD { int linux_sys_mpx(void); }
57 NOARGS { int sys_setpgid(int pid, int pgid); }
-58 UNIMPL ulimit
+58 STD { int linux_sys_ulimit(void); }
59 STD { int linux_sys_oldolduname(struct linux_oldold_utsname *up); }
60 NOARGS { int sys_umask(int newmask); }
61 NOARGS { int sys_chroot(char *path); }
-62 UNIMPL ustat
+62 STD { int linux_sys_ustat(void); }
63 NOARGS { int sys_dup2(u_int from, u_int to); }
64 NOARGS { pid_t sys_getppid(void); }
65 NOARGS { int sys_getpgrp(void); }
@@ -170,10 +170,10 @@
101 STD { int linux_sys_ioperm(unsigned int lo, \
unsigned int hi, int val); }
#else
-101 UNIMPL ioperm
+101 STD { int linux_sys_ioperm(void); }
#endif
102 STD { int linux_sys_socketcall(int what, void *args); }
-103 UNIMPL klog
+103 STD { int linux_sys_klog(void); }
104 NOARGS { int sys_setitimer(u_int which, \
struct itimerval *itv, struct itimerval *oitv); }
105 NOARGS { int sys_getitimer(u_int which, \
@@ -187,20 +187,20 @@
#ifdef __i386__
110 STD { int linux_sys_iopl(int level); }
#else
-110 UNIMPL iopl
+110 STD { int linux_sys_iopl(void); }
#endif
-111 UNIMPL vhangup
-112 UNIMPL idle
-113 UNIMPL vm86
+111 STD { int linux_sys_vhangup(void); }
+112 STD { int linux_sys_idle(void); }
+113 STD { int linux_sys_vm86old(void); }
114 STD { int linux_sys_wait4(int pid, int *status, \
int options, struct rusage *rusage); }
-115 UNIMPL swapoff
-116 UNIMPL sysinfo
+115 STD { int linux_sys_swapoff(void); }
+116 STD { int linux_sys_sysinfo(void); }
117 STD { int linux_sys_ipc(int what, int a1, int a2, int a3, \
caddr_t ptr); }
118 NOARGS { int sys_fsync(int fd); }
119 STD { int linux_sys_sigreturn(struct linux_sigcontext *scp); }
-120 UNIMPL clone
+120 STD { int linux_sys_clone(void); }
121 NOARGS { int compat_09_sys_setdomainname(char *name, \
int len); }
122 STD { int linux_sys_uname(struct linux_utsname *up); }
@@ -208,23 +208,23 @@
123 STD { int linux_sys_modify_ldt(int func, void *ptr, \
size_t bytecount); }
#else
-123 UNIMPL modify_ldt
+123 STD { int linux_sys_modify_ldt(void); }
#endif
-124 UNIMPL adjtimex
+124 STD { int linux_sys_adjtimex(void); }
125 NOARGS { int sys_mprotect(caddr_t addr, int len, int prot); }
126 STD { int linux_sys_sigprocmask(int how, \
linux_old_sigset_t *set, linux_old_sigset_t *oset); }
-127 UNIMPL create_module
-128 UNIMPL init_module
-129 UNIMPL delete_module
-130 UNIMPL get_kernel_syms
-131 UNIMPL quotactl
+127 STD { int linux_sys_create_module(void); }
+128 STD { int linux_sys_init_module(void); }
+129 STD { int linux_sys_delete_module(void); }
+130 STD { int linux_sys_get_kernel_syms(void); }
+131 STD { int linux_sys_quotactl(void); }
132 STD { int linux_sys_getpgid(int pid); }
133 NOARGS { int sys_fchdir(int fd); }
-134 UNIMPL bdflush
-135 UNIMPL sysfs
+134 STD { int linux_sys_bdflush(void); }
+135 STD { int linux_sys_sysfs(void); }
136 STD { int linux_sys_personality(int per); }
-137 UNIMPL afs_syscall
+137 STD { int linux_sys_afs_syscall(void); }
138 STD { int linux_sys_setfsuid(uid_t uid); }
139 NOARGS { int linux_sys_getfsuid(void); }
140 STD { int linux_sys_llseek(int fd, u_int32_t ohigh, \
@@ -245,16 +245,16 @@
149 STD { int linux_sys___sysctl(struct linux___sysctl *lsp); }
150 NOARGS { int sys_mlock(caddr_t addr, size_t len); }
151 NOARGS { int sys_munlock(caddr_t addr, size_t len); }
-152 UNIMPL mlockall
-153 UNIMPL munlockall
-154 UNIMPL sched_setparam
-155 UNIMPL sched_getparam
-156 UNIMPL sched_setscheduler
-157 UNIMPL sched_getscheduler
-158 UNIMPL sched_yield
-159 UNIMPL sched_get_priority_max
-160 UNIMPL sched_get_priority_min
-161 UNIMPL sched_rr_get_interval
+152 STD { int linux_sys_mlockall(void); }
+153 STD { int linux_sys_munlockall(void); }
+154 STD { int linux_sys_sched_setparam(void); }
+155 STD { int linux_sys_sched_getparam(void); }
+156 STD { int linux_sys_sched_setscheduler(void); }
+157 STD { int linux_sys_sched_getscheduler(void); }
+158 STD { int linux_sys_sched_yield(void); }
+159 STD { int linux_sys_sched_get_priority_max(void); }
+160 STD { int linux_sys_sched_get_priority_min(void); }
+161 STD { int linux_sys_sched_rr_get_interval(void); }
162 NOARGS { int sys_nanosleep(const struct timespec *rqtp, \
struct timespec *rmtp); }
163 STD { int linux_sys_mremap(void *old_address, size_t old_size, \
@@ -263,16 +263,16 @@
uid_t suid); }
165 STD { int linux_sys_getresuid(uid_t *ruid, uid_t *euid, \
uid_t *suid); }
-166 UNIMPL vm86
-167 UNIMPL query_module
+166 STD { int linux_sys_vm86(void); }
+167 STD { int linux_sys_query_module(void); }
168 NOARGS { int sys_poll(struct pollfd *fds, u_int nfds, \
int timeout); }
-169 UNIMPL nfsservctl
+169 STD { int linux_sys_nfsservctl(void); }
170 STD { int linux_sys_setresgid(gid_t rgid, gid_t egid, \
gid_t sgid); }
171 STD { int linux_sys_getresgid(gid_t *rgid, gid_t *egid, \
gid_t *sgid); }
-172 UNIMPL prctl
+172 STD { int linux_sys_prctl(void); }
173 STD { int linux_sys_rt_sigreturn( \
struct linux_rt_sigframe *sfp); }
174 STD { int linux_sys_rt_sigaction(int signum, \
@@ -284,8 +284,8 @@
linux_sigset_t *oset, size_t sigsetsize); }
176 STD { int linux_sys_rt_sigpending(linux_sigset_t *set, \
size_t sigsetsize); }
-177 UNIMPL rt_sigtimedwait
-178 UNIMPL rt_queueinfo
+177 STD { int linux_sys_rt_sigtimedwait(void); }
+178 STD { int linux_sys_rt_queueinfo(void); }
179 STD { int linux_sys_rt_sigsuspend(linux_sigset_t *unewset, \
size_t sigsetsize); }
180 STD { int linux_sys_pread(int fd, char *buf, \
@@ -294,14 +294,21 @@
size_t nbyte, linux_off_t offset); }
182 STD { int linux_sys_chown(char *path, int uid, int gid); }
183 STD { int linux_sys_getcwd(char *bufp, size_t length); }
-184 UNIMPL capget
-185 UNIMPL capset
+184 STD { int linux_sys_capget(void); }
+185 STD { int linux_sys_capset(void); }
186 STD { int linux_sys_sigaltstack( \
const struct linux_sigaltstack *nss, \
struct linux_sigaltstack *oss); }
-187 UNIMPL sendfile
-188 UNIMPL getpmsg
-189 UNIMPL putpmsg
+187 STD { int linux_sys_sendfile(void); }
+188 STD { int linux_sys_getpmsg(void); }
+189 STD { int linux_sys_putpmsg(void); }
190 STD { int sys_vfork(void); }
191 STD { int linux_sys_ugetrlimit(u_int which, \
struct linux_rlimit *rlp); }
+192 STD { int linux_sys_mmap2(void); }
+193 STD { int linux_sys_truncate64(void); }
+194 STD { int linux_sys_ftruncate64(void); }
+195 STD { int linux_sys_stat64(void); }
+196 STD { int linux_sys_lstat64(void); }
+197 STD { int linux_sys_fstat64(void); }
+