Fri Jul 28 19:01:11 2023 UTC ()
add epoll syscalls


(christos)
diff -r1.5 -r1.6 src/sys/compat/linux/arch/aarch64/syscalls.master
diff -r1.3 -r1.4 src/sys/compat/linux/arch/alpha/syscalls.conf
diff -r1.102 -r1.103 src/sys/compat/linux/arch/alpha/syscalls.master
diff -r1.75 -r1.76 src/sys/compat/linux/arch/arm/syscalls.master
diff -r1.130 -r1.131 src/sys/compat/linux/arch/i386/syscalls.master
diff -r1.101 -r1.102 src/sys/compat/linux/arch/m68k/syscalls.master
diff -r1.74 -r1.75 src/sys/compat/linux/arch/mips/syscalls.master
diff -r1.80 -r1.81 src/sys/compat/linux/arch/powerpc/syscalls.master

cvs diff -r1.5 -r1.6 src/sys/compat/linux/arch/aarch64/syscalls.master (switch to unified diff)

--- src/sys/compat/linux/arch/aarch64/syscalls.master 2023/07/10 21:08:26 1.5
+++ src/sys/compat/linux/arch/aarch64/syscalls.master 2023/07/28 19:01:10 1.6
@@ -1,681 +1,688 @@ @@ -1,681 +1,688 @@
1 $NetBSD: syscalls.master,v 1.5 2023/07/10 21:08:26 christos Exp $ 1 $NetBSD: syscalls.master,v 1.6 2023/07/28 19:01:10 christos Exp $
2 2
3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
4 4
5; Derived from sys/compat/linux/arch/*/syscalls.master 5; Derived from sys/compat/linux/arch/*/syscalls.master
6; and from Linux include/uapi/asm-generic/unistd.h 6; and from Linux include/uapi/asm-generic/unistd.h
7 7
8; NetBSD aarch64 COMPAT_LINUX system call name/number "master" file. 8; NetBSD aarch64 COMPAT_LINUX system call name/number "master" file.
9; (See syscalls.conf to see what it is processed into.) 9; (See syscalls.conf to see what it is processed into.)
10; 10;
11; Fields: number type [type-dependent ...] 11; Fields: number type [type-dependent ...]
12; number system call number, must be in order 12; number system call number, must be in order
13; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of 13; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
14; the compatibility options defined in syscalls.conf. 14; the compatibility options defined in syscalls.conf.
15; 15;
16; types: 16; types:
17; STD always included 17; STD always included
18; OBSOL obsolete, not included in system 18; OBSOL obsolete, not included in system
19; UNIMPL unimplemented, not included in system 19; UNIMPL unimplemented, not included in system
20; NODEF included, but don't define the syscall number 20; NODEF included, but don't define the syscall number
21; NOARGS included, but don't define the syscall args structure 21; NOARGS included, but don't define the syscall args structure
22; INDIR included, but don't define the syscall args structure 22; INDIR included, but don't define the syscall args structure
23; and allow it to be "really" varargs. 23; and allow it to be "really" varargs.
24; 24;
25; The compat options are defined in the syscalls.conf file, and the 25; The compat options are defined in the syscalls.conf file, and the
26; compat option name is prefixed to the syscall name. Other than 26; compat option name is prefixed to the syscall name. Other than
27; that, they're like NODEF (for 'compat' options), or STD (for 27; that, they're like NODEF (for 'compat' options), or STD (for
28; 'libcompat' options). 28; 'libcompat' options).
29; 29;
30; The type-dependent arguments are as follows: 30; The type-dependent arguments are as follows:
31; For STD, NODEF, NOARGS, and compat syscalls: 31; For STD, NODEF, NOARGS, and compat syscalls:
32; { pseudo-proto } [alias] 32; { pseudo-proto } [alias]
33; For other syscalls: 33; For other syscalls:
34; [comment] 34; [comment]
35; 35;
36; #ifdef's, etc. may be included, and are copied to the output files. 36; #ifdef's, etc. may be included, and are copied to the output files.
37; #include's are copied to the syscall names and switch definition files only. 37; #include's are copied to the syscall names and switch definition files only.
38 38
39#if defined(_KERNEL_OPT) 39#if defined(_KERNEL_OPT)
40#include "opt_sysv.h" 40#include "opt_sysv.h"
41#include "opt_compat_43.h" 41#include "opt_compat_43.h"
42#include "opt_compat_netbsd.h" 42#include "opt_compat_netbsd.h"
43#endif 43#endif
44 44
45#include <sys/param.h> 45#include <sys/param.h>
46#include <sys/poll.h> 46#include <sys/poll.h>
47#include <sys/systm.h> 47#include <sys/systm.h>
48#include <sys/signal.h> 48#include <sys/signal.h>
49#include <sys/mount.h> 49#include <sys/mount.h>
50#include <sys/syscallargs.h> 50#include <sys/syscallargs.h>
51#include <sys/time.h> 51#include <sys/time.h>
52 52
53#include <compat/sys/time.h> 53#include <compat/sys/time.h>
54 54
55#include <compat/linux/common/linux_types.h> 55#include <compat/linux/common/linux_types.h>
56#include <compat/linux/common/linux_machdep.h> 56#include <compat/linux/common/linux_machdep.h>
57#include <compat/linux/common/linux_mmap.h> 57#include <compat/linux/common/linux_mmap.h>
58#include <compat/linux/common/linux_ipc.h> 58#include <compat/linux/common/linux_ipc.h>
59#include <compat/linux/common/linux_msg.h> 59#include <compat/linux/common/linux_msg.h>
60#include <compat/linux/common/linux_sem.h> 60#include <compat/linux/common/linux_sem.h>
61#include <compat/linux/common/linux_shm.h> 61#include <compat/linux/common/linux_shm.h>
62#include <compat/linux/common/linux_signal.h> 62#include <compat/linux/common/linux_signal.h>
63#include <compat/linux/common/linux_siginfo.h> 63#include <compat/linux/common/linux_siginfo.h>
64#include <compat/linux/common/linux_machdep.h> 64#include <compat/linux/common/linux_machdep.h>
65 65
66#include <compat/linux/linux_syscallargs.h> 66#include <compat/linux/linux_syscallargs.h>
67 67
68%% 68%%
69 69
700 UNIMPL io_setup 700 UNIMPL io_setup
711 UNIMPL io_destroy 711 UNIMPL io_destroy
722 UNIMPL io_submit 722 UNIMPL io_submit
733 UNIMPL io_cancel 733 UNIMPL io_cancel
744 UNIMPL io_getevents 744 UNIMPL io_getevents
755 STD { int|linux_sys||setxattr(char *path, char *name, \ 755 STD { int|linux_sys||setxattr(char *path, char *name, \
76 void *value, size_t size, int flags); } 76 void *value, size_t size, int flags); }
776 STD { int|linux_sys||lsetxattr(char *path, char *name, \ 776 STD { int|linux_sys||lsetxattr(char *path, char *name, \
78 void *value, size_t size, int flags); } 78 void *value, size_t size, int flags); }
797 STD { int|linux_sys||fsetxattr(int fd, char *name, \ 797 STD { int|linux_sys||fsetxattr(int fd, char *name, \
80 void *value, size_t size, int flags); } 80 void *value, size_t size, int flags); }
818 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \ 818 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \
82 void *value, size_t size); } 82 void *value, size_t size); }
839 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \ 839 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \
84 void *value, size_t size); } 84 void *value, size_t size); }
8510 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \ 8510 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \
86 void *value, size_t size); } 86 void *value, size_t size); }
8711 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \ 8711 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \
88 size_t size); } 88 size_t size); }
8912 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \ 8912 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \
90 size_t size); } 90 size_t size); }
9113 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \ 9113 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \
92 size_t size); } 92 size_t size); }
9314 STD { int|linux_sys||removexattr(char *path, char *name); } 9314 STD { int|linux_sys||removexattr(char *path, char *name); }
9415 STD { int|linux_sys||lremovexattr(char *path, char *name); } 9415 STD { int|linux_sys||lremovexattr(char *path, char *name); }
9516 STD { int|linux_sys||fremovexattr(int fd, char *name); } 9516 STD { int|linux_sys||fremovexattr(int fd, char *name); }
9617 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } 9617 NOARGS { int|sys||__getcwd(char *bufp, size_t length); }
9718 UNIMPL lookup_dcookie 9718 UNIMPL lookup_dcookie
9819 STD { int|linux_sys||eventfd2(unsigned int initval, \ 9819 STD { int|linux_sys||eventfd2(unsigned int initval, \
99 int flags); } 99 int flags); }
10020 UNIMPL epoll_create1 10020 STD { int|linux_sys||epoll_create1(int flags); }
10121 UNIMPL epoll_ctl 10121 STD { int|linux_sys||epoll_ctl(int epfd, int op, int fd, \
10222 UNIMPL epoll_pwait 102 struct linux_epoll_event *event); }
 10322 STD { int|linux_sys||epoll_pwait(int epfd, \
 104 struct linux_epoll_event *events, int maxevents, \
 105 int timeout, const linux_sigset_t *sigmask); }
10323 NOARGS { int|sys||dup(int fd); } 10623 NOARGS { int|sys||dup(int fd); }
10424 STD { int|linux_sys||dup3(int from, int to, int flags); } 10724 STD { int|linux_sys||dup3(int from, int to, int flags); }
10525 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); } 10825 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); }
10626 UNIMPL inotify_init1 10926 UNIMPL inotify_init1
10727 UNIMPL inotify_add_watch 11027 UNIMPL inotify_add_watch
10828 UNIMPL inotify_rm_watch 11128 UNIMPL inotify_rm_watch
10929 STD { int|linux_sys||ioctl(int fd, u_long com, \ 11229 STD { int|linux_sys||ioctl(int fd, u_long com, \
110 void *data); } 113 void *data); }
11130 UNIMPL ioprio_set 11430 UNIMPL ioprio_set
11231 UNIMPL ioprio_get 11531 UNIMPL ioprio_get
11332 NOARGS { int|sys||flock(int fd, int how); } 11632 NOARGS { int|sys||flock(int fd, int how); }
11433 STD { int|linux_sys||mknodat(int fd, const char *path, \ 11733 STD { int|linux_sys||mknodat(int fd, const char *path, \
115 linux_umode_t mode, unsigned dev); } 118 linux_umode_t mode, unsigned dev); }
11634 NOARGS { int|sys||mkdirat(int fd, const char *path, \ 11934 NOARGS { int|sys||mkdirat(int fd, const char *path, \
117 linux_umode_t mode); } 120 linux_umode_t mode); }
11835 STD { int|linux_sys||unlinkat(int fd, const char *path, \ 12135 STD { int|linux_sys||unlinkat(int fd, const char *path, \
119 int flag); } 122 int flag); }
12036 NOARGS { int|sys||symlinkat(const char *path1, int fd, \ 12336 NOARGS { int|sys||symlinkat(const char *path1, int fd, \
121 const char *path2); } 124 const char *path2); }
12237 STD { int|linux_sys||linkat(int fd1, const char *name1, \ 12537 STD { int|linux_sys||linkat(int fd1, const char *name1, \
123 int fd2, const char *name2, int flags); } 126 int fd2, const char *name2, int flags); }
12438 NOARGS { int|sys||renameat(int fromfd, const char *from, \ 12738 NOARGS { int|sys||renameat(int fromfd, const char *from, \
125 int tofd, const char *to); } 128 int tofd, const char *to); }
12639 UNIMPL umount2 12939 UNIMPL umount2
12740 UNIMPL mount 13040 UNIMPL mount
12841 UNIMPL pivot_root 13141 UNIMPL pivot_root
12942 UNIMPL nfsservctl 13242 UNIMPL nfsservctl
13043 STD { int|linux_sys||statfs(const char *path, \ 13343 STD { int|linux_sys||statfs(const char *path, \
131 struct linux_statfs *sp); } 134 struct linux_statfs *sp); }
13244 STD { int|linux_sys||fstatfs(int fd, \ 13544 STD { int|linux_sys||fstatfs(int fd, \
133 struct linux_statfs *sp); } 136 struct linux_statfs *sp); }
13445 STD { int|linux_sys||truncate64(const char *path, \ 13745 STD { int|linux_sys||truncate64(const char *path, \
135 off_t length); } 138 off_t length); }
13646 STD { int|linux_sys||ftruncate64(unsigned int fd, \ 13946 STD { int|linux_sys||ftruncate64(unsigned int fd, \
137 off_t length); } 140 off_t length); }
13847 STD { int|linux_sys||fallocate(int fd, int mode, \ 14147 STD { int|linux_sys||fallocate(int fd, int mode, \
139 off_t offset, off_t len); } 142 off_t offset, off_t len); }
14048 STD { int|linux_sys||faccessat(int fd, const char *path, \ 14348 STD { int|linux_sys||faccessat(int fd, const char *path, \
141 int amode); } 144 int amode); }
14249 NOARGS { int|sys||chdir(const char *path); } 14549 NOARGS { int|sys||chdir(const char *path); }
14350 NOARGS { int|sys||fchdir(int fd); } 14650 NOARGS { int|sys||fchdir(int fd); }
14451 NOARGS { int|sys||chroot(char *path); } 14751 NOARGS { int|sys||chroot(char *path); }
14552 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); } 14852 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); }
14653 STD { int|linux_sys||fchmodat(int fd, const char *path, \ 14953 STD { int|linux_sys||fchmodat(int fd, const char *path, \
147 linux_umode_t mode); } 150 linux_umode_t mode); }
14854 STD { int|linux_sys||fchownat(int fd, const char *path, \ 15154 STD { int|linux_sys||fchownat(int fd, const char *path, \
149 uid_t owner, gid_t group, int flag); } 152 uid_t owner, gid_t group, int flag); }
15055 NOARGS { int|sys||__posix_fchown(int fd, uid_t uid, \ 15355 NOARGS { int|sys||__posix_fchown(int fd, uid_t uid, \
151 gid_t gid); } 154 gid_t gid); }
15256 STD { int|linux_sys||openat(int fd, const char *path, \ 15556 STD { int|linux_sys||openat(int fd, const char *path, \
153 int flags, ... linux_umode_t mode); } 156 int flags, ... linux_umode_t mode); }
15457 NOARGS { int|sys||close(int fd); } 15757 NOARGS { int|sys||close(int fd); }
15558 UNIMPL vhangup 15858 UNIMPL vhangup
15659 STD { int|linux_sys||pipe2(int *pfds, int flags); } 15959 STD { int|linux_sys||pipe2(int *pfds, int flags); }
15760 UNIMPL quotactl 16060 UNIMPL quotactl
15861 STD { int|linux_sys||getdents64(int fd, \ 16161 STD { int|linux_sys||getdents64(int fd, \
159 struct linux_dirent64 *dent, unsigned int count); } 162 struct linux_dirent64 *dent, unsigned int count); }
16062 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ 16362 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \
161 int whence); } 164 int whence); }
16263 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } 16563 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
16364 NOARGS { ssize_t|sys||write(int fd, const void *buf, \ 16664 NOARGS { ssize_t|sys||write(int fd, const void *buf, \
164 size_t nbyte); } 167 size_t nbyte); }
16565 NOARGS { ssize_t|sys||readv(int fd, \ 16865 NOARGS { ssize_t|sys||readv(int fd, \
166 const struct iovec *iovp, int iovcnt); } 169 const struct iovec *iovp, int iovcnt); }
16766 NOARGS { ssize_t|sys||writev(int fd, \ 17066 NOARGS { ssize_t|sys||writev(int fd, \
168 const struct iovec *iovp, int iovcnt); } 171 const struct iovec *iovp, int iovcnt); }
16967 STD { int|linux_sys||pread(int fd, char *buf, \ 17267 STD { int|linux_sys||pread(int fd, char *buf, \
170 size_t nbyte, off_t offset); } 173 size_t nbyte, off_t offset); }
17168 STD { int|linux_sys||pwrite(int fd, char *buf, \ 17468 STD { int|linux_sys||pwrite(int fd, char *buf, \
172 size_t nbyte, off_t offset); } 175 size_t nbyte, off_t offset); }
17369 STD { int|linux_sys||preadv(int fd, \ 17669 STD { int|linux_sys||preadv(int fd, \
174 const struct iovec *iovp, int iovcnt, \ 177 const struct iovec *iovp, int iovcnt, \
175 unsigned long off_lo, unsigned long off_hi); } 178 unsigned long off_lo, unsigned long off_hi); }
17670 STD { int|linux_sys||pwritev(int fd, \ 17970 STD { int|linux_sys||pwritev(int fd, \
177 const struct iovcnt *iovp, int iovcnt, \ 180 const struct iovcnt *iovp, int iovcnt, \
178 unsigned long off_lo, unsigned long off_hi); } 181 unsigned long off_lo, unsigned long off_hi); }
17971 UNIMPL sendfile 18271 UNIMPL sendfile
18072 STD { int|linux_sys||pselect6(int nfds, fd_set *readfds, \ 18372 STD { int|linux_sys||pselect6(int nfds, fd_set *readfds, \
181 fd_set *writefds, fd_set *exceptfds, \ 184 fd_set *writefds, fd_set *exceptfds, \
182 struct linux_timespec *timeout, \ 185 struct linux_timespec *timeout, \
183 linux_sized_sigset_t *ss); } 186 linux_sized_sigset_t *ss); }
18473 STD { int|linux_sys||ppoll(struct pollfd *fds, u_int nfds, \ 18773 STD { int|linux_sys||ppoll(struct pollfd *fds, u_int nfds, \
185 struct linux_timespec *timeout, \ 188 struct linux_timespec *timeout, \
186 linux_sigset_t *sigset); } 189 linux_sigset_t *sigset); }
18774 UNIMPL signalfd4 19074 UNIMPL signalfd4
18875 UNIMPL vmsplice 19175 UNIMPL vmsplice
18976 UNIMPL splice 19276 UNIMPL splice
19077 UNIMPL tee 19377 UNIMPL tee
19178 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \ 19478 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \
192 char *buf, size_t bufsize); } 195 char *buf, size_t bufsize); }
19379 STD { int|linux_sys||fstatat64(int fd, const char *path, \ 19679 STD { int|linux_sys||fstatat64(int fd, const char *path, \
194 struct linux_stat *sp, int flag); } 197 struct linux_stat *sp, int flag); }
19580 STD { int|linux_sys||fstat64(int fd, \ 19880 STD { int|linux_sys||fstat64(int fd, \
196 struct linux_stat *sp); } 199 struct linux_stat *sp); }
19781 NOARGS { int|sys||sync(void); } 20081 NOARGS { int|sys||sync(void); }
19882 NOARGS { int|sys||fsync(int fd); } 20182 NOARGS { int|sys||fsync(int fd); }
19983 STD { int|linux_sys||fdatasync(int fd); } 20283 STD { int|linux_sys||fdatasync(int fd); }
20084 UNIMPL sync_file_range 20384 UNIMPL sync_file_range
20185 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ 20485 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \
202 int flags); } 205 int flags); }
20386 STD { int|linux_sys||timerfd_settime(int fd, int flags, \ 20686 STD { int|linux_sys||timerfd_settime(int fd, int flags, \
204 const struct linux_itimerspec *tim, \ 207 const struct linux_itimerspec *tim, \
205 struct linux_itimerspec *otim); } 208 struct linux_itimerspec *otim); }
20687 STD { int|linux_sys||timerfd_gettime(int fd, \ 20987 STD { int|linux_sys||timerfd_gettime(int fd, \
207 struct linux_itimerspec *tim); } 210 struct linux_itimerspec *tim); }
20888 STD { int|linux_sys||utimensat(int fd, const char *path, \ 21188 STD { int|linux_sys||utimensat(int fd, const char *path, \
209 struct linux_timespec *times, int flag); } 212 struct linux_timespec *times, int flag); }
21089 NOARGS { int|sys||acct(char *path); } 21389 NOARGS { int|sys||acct(char *path); }
21190 UNIMPL capget 21490 UNIMPL capget
21291 UNIMPL capset 21591 UNIMPL capset
21392 STD { int|linux_sys||personality(unsigned long per); } 21692 STD { int|linux_sys||personality(unsigned long per); }
21493 STD { int|linux_sys||exit(int rval); } 21793 STD { int|linux_sys||exit(int rval); }
21594 STD { int|linux_sys||exit_group(int error_code); } 21894 STD { int|linux_sys||exit_group(int error_code); }
21695 UNIMPL waitid 21995 UNIMPL waitid
21796 STD { int|linux_sys||set_tid_address(int *tid); } 22096 STD { int|linux_sys||set_tid_address(int *tid); }
21897 UNIMPL unshare 22197 UNIMPL unshare
21998 STD { int|linux_sys||futex(int *uaddr, int op, int val, \ 22298 STD { int|linux_sys||futex(int *uaddr, int op, int val, \
220 const struct linux_timespec *timeout, int *uaddr2, \ 223 const struct linux_timespec *timeout, int *uaddr2, \
221 int val3); } 224 int val3); }
222 ; 225 ;
223 ; The NetBSD native robust list calls have different 226 ; The NetBSD native robust list calls have different
224 ; argument names / types, but they are ABI-compatible 227 ; argument names / types, but they are ABI-compatible
225 ; with Linux. 228 ; with Linux.
226 ; 229 ;
22799 NOARGS { int|sys||__futex_set_robust_list(void *head, \ 23099 NOARGS { int|sys||__futex_set_robust_list(void *head, \
228 size_t len); } 231 size_t len); }
229100 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ 232100 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \
230 void **headp, size_t *lenp); } 233 void **headp, size_t *lenp); }
231101 STD { int|linux_sys||nanosleep( \ 234101 STD { int|linux_sys||nanosleep( \
232 const struct linux_timespec *rqtp, \ 235 const struct linux_timespec *rqtp, \
233 struct linux_timespec *rmtp); } 236 struct linux_timespec *rmtp); }
234102 NOARGS { int|compat_50_sys||getitimer(int which, \ 237102 NOARGS { int|compat_50_sys||getitimer(int which, \
235 struct itimerval50 *itv); } 238 struct itimerval50 *itv); }
236103 NOARGS { int|compat_50_sys||setitimer(int which, \ 239103 NOARGS { int|compat_50_sys||setitimer(int which, \
237 struct itimerval50 *itv, \ 240 struct itimerval50 *itv, \
238 struct itimerval50 *oitv); } 241 struct itimerval50 *oitv); }
239104 UNIMPL kexec_load 242104 UNIMPL kexec_load
240105 UNIMPL init_module 243105 UNIMPL init_module
241106 UNIMPL delete_module 244106 UNIMPL delete_module
242107 STD { int|linux_sys||timer_create(clockid_t clockid, \ 245107 STD { int|linux_sys||timer_create(clockid_t clockid, \
243 struct linux_sigevent *evp, timer_t *timerid); } 246 struct linux_sigevent *evp, timer_t *timerid); }
244108 STD { int|linux_sys||timer_gettime(timer_t timerid, \ 247108 STD { int|linux_sys||timer_gettime(timer_t timerid, \
245 struct linux_itimerspec *tim); } 248 struct linux_itimerspec *tim); }
246109 NOARGS { int|sys||timer_getoverrun(timer_t timerid); } 249109 NOARGS { int|sys||timer_getoverrun(timer_t timerid); }
247110 STD { int|linux_sys||timer_settime(timer_t timerid, \ 250110 STD { int|linux_sys||timer_settime(timer_t timerid, \
248 int flags, const struct linux_itimerspec *tim, \ 251 int flags, const struct linux_itimerspec *tim, \
249 struct linux_itimerspec *otim); } 252 struct linux_itimerspec *otim); }
250111 NOARGS { int|sys||timer_delete(timer_t timerid); } 253111 NOARGS { int|sys||timer_delete(timer_t timerid); }
251112 STD { int|linux_sys||clock_settime(clockid_t which, \ 254112 STD { int|linux_sys||clock_settime(clockid_t which, \
252 struct linux_timespec *tp); } 255 struct linux_timespec *tp); }
253113 STD { int|linux_sys||clock_gettime(clockid_t which, \ 256113 STD { int|linux_sys||clock_gettime(clockid_t which, \
254 struct linux_timespec *tp); } 257 struct linux_timespec *tp); }
255114 STD { int|linux_sys||clock_getres(clockid_t which, \ 258114 STD { int|linux_sys||clock_getres(clockid_t which, \
256 struct linux_timespec *tp); } 259 struct linux_timespec *tp); }
257115 STD { int|linux_sys||clock_nanosleep(clockid_t which, \ 260115 STD { int|linux_sys||clock_nanosleep(clockid_t which, \
258 int flags, struct linux_timespec *rqtp, \ 261 int flags, struct linux_timespec *rqtp, \
259 struct linux_timespec *rmtp); } 262 struct linux_timespec *rmtp); }
260116 UNIMPL syslog 263116 UNIMPL syslog
261117 STD { int|linux_sys||ptrace(long request, long pid, \ 264117 STD { int|linux_sys||ptrace(long request, long pid, \
262 long addr, long data); } 265 long addr, long data); }
263118 STD { int|linux_sys||sched_setparam(pid_t pid, \ 266118 STD { int|linux_sys||sched_setparam(pid_t pid, \
264 const struct linux_sched_param *sp); } 267 const struct linux_sched_param *sp); }
265119 STD { int|linux_sys||sched_setscheduler(pid_t pid, \ 268119 STD { int|linux_sys||sched_setscheduler(pid_t pid, \
266 int policy, const struct linux_sched_param *sp); } 269 int policy, const struct linux_sched_param *sp); }
267120 STD { int|linux_sys||sched_getscheduler(pid_t pid); } 270120 STD { int|linux_sys||sched_getscheduler(pid_t pid); }
268121 STD { int|linux_sys||sched_getparam(pid_t pid, \ 271121 STD { int|linux_sys||sched_getparam(pid_t pid, \
269 struct linux_sched_param *sp); } 272 struct linux_sched_param *sp); }
270122 STD { int|linux_sys||sched_setaffinity(pid_t pid, \ 273122 STD { int|linux_sys||sched_setaffinity(pid_t pid, \
271 unsigned int len, unsigned long *mask); } 274 unsigned int len, unsigned long *mask); }
272123 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ 275123 STD { int|linux_sys||sched_getaffinity(pid_t pid, \
273 unsigned int len, unsigned long *mask); } 276 unsigned int len, unsigned long *mask); }
274124 STD { int|linux_sys||sched_yield(void); } 277124 STD { int|linux_sys||sched_yield(void); }
275125 STD { int|linux_sys||sched_get_priority_max(int policy); } 278125 STD { int|linux_sys||sched_get_priority_max(int policy); }
276126 STD { int|linux_sys||sched_get_priority_min(int policy); } 279126 STD { int|linux_sys||sched_get_priority_min(int policy); }
277127 UNIMPL sys_sched_rr_get_interval 280127 UNIMPL sys_sched_rr_get_interval
278128 UNIMPL restart_syscall 281128 UNIMPL restart_syscall
279129 STD { int|linux_sys||kill(int pid, int signum); } 282129 STD { int|linux_sys||kill(int pid, int signum); }
280130 STD { int|linux_sys||tkill(int tid, int sig); } 283130 STD { int|linux_sys||tkill(int tid, int sig); }
281131 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); } 284131 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); }
282132 STD { int|linux_sys||sigaltstack( \ 285132 STD { int|linux_sys||sigaltstack( \
283 const struct linux_sigaltstack *ss, \ 286 const struct linux_sigaltstack *ss, \
284 struct linux_sigaltstack *oss); } 287 struct linux_sigaltstack *oss); }
285133 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \ 288133 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \
286 size_t sigsetsize); } 289 size_t sigsetsize); }
287134 STD { int|linux_sys||rt_sigaction(int signum, \ 290134 STD { int|linux_sys||rt_sigaction(int signum, \
288 const struct linux_sigaction *nsa, \ 291 const struct linux_sigaction *nsa, \
289 struct linux_sigaction *osa, \ 292 struct linux_sigaction *osa, \
290 size_t sigsetsize); } 293 size_t sigsetsize); }
291135 STD { int|linux_sys||rt_sigprocmask(int how, \ 294135 STD { int|linux_sys||rt_sigprocmask(int how, \
292 const linux_sigset_t *set, \ 295 const linux_sigset_t *set, \
293 linux_sigset_t *oset, \ 296 linux_sigset_t *oset, \
294 size_t sigsetsize); } 297 size_t sigsetsize); }
295136 STD { int|linux_sys||rt_sigpending( \ 298136 STD { int|linux_sys||rt_sigpending( \
296 linux_sigset_t *set, \ 299 linux_sigset_t *set, \
297 size_t sigsetsize); } 300 size_t sigsetsize); }
298137 STD { int|linux_sys||rt_sigtimedwait( \ 301137 STD { int|linux_sys||rt_sigtimedwait( \
299 const linux_sigset_t *set, \ 302 const linux_sigset_t *set, \
300 linux_siginfo_t *info, \ 303 linux_siginfo_t *info, \
301 const struct linux_timespec *timeout); } 304 const struct linux_timespec *timeout); }
302138 UNIMPL rt_sigqueueinfo 305138 UNIMPL rt_sigqueueinfo
303139 NOARGS { int|linux_sys||rt_sigreturn(void); } 306139 NOARGS { int|linux_sys||rt_sigreturn(void); }
304140 NOARGS { int|sys||setpriority(int which, int who, int prio); } 307140 NOARGS { int|sys||setpriority(int which, int who, int prio); }
305141 STD { int|linux_sys||getpriority(int which, int who); } 308141 STD { int|linux_sys||getpriority(int which, int who); }
306142 STD { int|linux_sys||reboot(int magic1, int magic2, \ 309142 STD { int|linux_sys||reboot(int magic1, int magic2, \
307 int cmd, void *arg); } 310 int cmd, void *arg); }
308143 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); } 311143 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); }
309144 NOARGS { int|sys||setgid(gid_t gid); } 312144 NOARGS { int|sys||setgid(gid_t gid); }
310145 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); } 313145 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); }
311146 NOARGS { int|sys||setuid(uid_t uid); } 314146 NOARGS { int|sys||setuid(uid_t uid); }
312147 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \ 315147 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \
313 uid_t suid); } 316 uid_t suid); }
314148 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \ 317148 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \
315 uid_t *suid); } 318 uid_t *suid); }
316149 STD { int|linux_sys||setresgid(gid_t rgid, gid_t egid, \ 319149 STD { int|linux_sys||setresgid(gid_t rgid, gid_t egid, \
317 gid_t sgid); } 320 gid_t sgid); }
318150 STD { int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \ 321150 STD { int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \
319 gid_t *sgid); } 322 gid_t *sgid); }
320151 STD { int|linux_sys||setfsuid(uid_t uid); } 323151 STD { int|linux_sys||setfsuid(uid_t uid); }
321152 STD { int|linux_sys||setfsgid(gid_t gid); } 324152 STD { int|linux_sys||setfsgid(gid_t gid); }
322153 STD { int|linux_sys||times(struct times *tms); } 325153 STD { int|linux_sys||times(struct times *tms); }
323154 NOARGS { int|sys||setpgid(int pid, int pgid); } 326154 NOARGS { int|sys||setpgid(int pid, int pgid); }
324155 NOARGS { pid_t|sys||getpgid(pid_t pid); } 327155 NOARGS { pid_t|sys||getpgid(pid_t pid); }
325156 NOARGS { pid_t|sys||getsid(pid_t pid); } 328156 NOARGS { pid_t|sys||getsid(pid_t pid); }
326157 NOARGS { int|sys||setsid(void); } 329157 NOARGS { int|sys||setsid(void); }
327158 NOARGS { int|sys||getgroups(int gidsetsize, gid_t *gidset); } 330158 NOARGS { int|sys||getgroups(int gidsetsize, gid_t *gidset); }
328159 NOARGS { int|sys||setgroups(int gidsetsize, gid_t *gidset); } 331159 NOARGS { int|sys||setgroups(int gidsetsize, gid_t *gidset); }
329160 STD { int|linux_sys||uname(struct linux_utsname *up); } 332160 STD { int|linux_sys||uname(struct linux_utsname *up); }
330161 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ 333161 NOARGS { int|compat_43_sys||sethostname(char *hostname, \
331 u_int len);} 334 u_int len);}
332162 STD { int|linux_sys||setdomainname(char *domainname, \ 335162 STD { int|linux_sys||setdomainname(char *domainname, \
333 int len); } 336 int len); }
334163 STD { int|linux_sys||getrlimit(int which, \ 337163 STD { int|linux_sys||getrlimit(int which, \
335 struct rlimit *rlp); } 338 struct rlimit *rlp); }
336164 STD { int|linux_sys||setrlimit(u_int which, \ 339164 STD { int|linux_sys||setrlimit(u_int which, \
337 struct rlimit *rlp); } 340 struct rlimit *rlp); }
338165 NOARGS { int|compat_50_sys||getrusage(int who, \ 341165 NOARGS { int|compat_50_sys||getrusage(int who, \
339 struct rusage50 *rusage); } 342 struct rusage50 *rusage); }
340166 NOARGS { int|sys||umask(int newmask); } 343166 NOARGS { int|sys||umask(int newmask); }
341167 UNIMPL prctl 344167 UNIMPL prctl
342168 UNIMPL getcpu 345168 UNIMPL getcpu
343169 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \ 346169 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \
344 struct timezone *tzp); } 347 struct timezone *tzp); }
345170 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \ 348170 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \
346 struct timezone *tzp); } 349 struct timezone *tzp); }
347171 UNIMPL adjtimex 350171 UNIMPL adjtimex
348172 STD { pid_t|sys||getpid(void); } 351172 STD { pid_t|sys||getpid(void); }
349173 STD { pid_t|sys||getppid(void); } 352173 STD { pid_t|sys||getppid(void); }
350174 NOARGS { uid_t|sys||getuid(void); } 353174 NOARGS { uid_t|sys||getuid(void); }
351175 NOARGS { uid_t|sys||geteuid(void); } 354175 NOARGS { uid_t|sys||geteuid(void); }
352176 NOARGS { gid_t|sys||getgid(void); } 355176 NOARGS { gid_t|sys||getgid(void); }
353177 NOARGS { gid_t|sys||getegid(void); } 356177 NOARGS { gid_t|sys||getegid(void); }
354178 STD { pid_t|linux_sys||gettid(void); } 357178 STD { pid_t|linux_sys||gettid(void); }
355179 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); } 358179 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); }
356180 UNIMPL mq_open 359180 UNIMPL mq_open
357181 UNIMPL mq_unlink 360181 UNIMPL mq_unlink
358182 UNIMPL mq_timedsend 361182 UNIMPL mq_timedsend
359183 UNIMPL mq_timedreceive 362183 UNIMPL mq_timedreceive
360184 UNIMPL mq_notify 363184 UNIMPL mq_notify
361185 UNIMPL mq_getsetattr 364185 UNIMPL mq_getsetattr
362#ifdef SYSVMSG 365#ifdef SYSVMSG
363186 NOARGS { int|sys||msgget(key_t key, int msgflg); } 366186 NOARGS { int|sys||msgget(key_t key, int msgflg); }
364187 NOARGS { int|linux_sys||msgctl(int msqid, int cmd, \ 367187 NOARGS { int|linux_sys||msgctl(int msqid, int cmd, \
365 struct linux_msqid_ds *buf); } 368 struct linux_msqid_ds *buf); }
366188 NOARGS { ssize_t|sys||msgrcv(int msqid, void *msgp, \ 369188 NOARGS { ssize_t|sys||msgrcv(int msqid, void *msgp, \
367 size_t msgsz, long msgtyp, int msgflg); } 370 size_t msgsz, long msgtyp, int msgflg); }
368189 NOARGS { int|sys||msgsnd(int msqid, void *msgp, size_t msgsz, \ 371189 NOARGS { int|sys||msgsnd(int msqid, void *msgp, size_t msgsz, \
369 int msgflg); } 372 int msgflg); }
370#else 373#else
371186 UNIMPL msgget 374186 UNIMPL msgget
372187 UNIMPL msgctl 375187 UNIMPL msgctl
373188 UNIMPL msgrcv 376188 UNIMPL msgrcv
374189 UNIMPL msgsnd 377189 UNIMPL msgsnd
375#endif 378#endif
376#ifdef SYSVSEM 379#ifdef SYSVSEM
377190 NOARGS { int|sys||semget(key_t key, int nsems, int semflg); } 380190 NOARGS { int|sys||semget(key_t key, int nsems, int semflg); }
378191 STD { int|linux_sys||semctl(int semid, int semnum, \ 381191 STD { int|linux_sys||semctl(int semid, int semnum, \
379 int cmd, union linux_semun arg); } 382 int cmd, union linux_semun arg); }
380192 UNIMPL semtimedop 383192 UNIMPL semtimedop
381193 NOARGS { int|sys||semop(int semid, struct sembuf *sops, \ 384193 NOARGS { int|sys||semop(int semid, struct sembuf *sops, \
382 size_t nsops); } 385 size_t nsops); }
383#else 386#else
384190 UNIMPL semget 387190 UNIMPL semget
385191 UNIMPL semctl 388191 UNIMPL semctl
386192 UNIMPL semtimedop 389192 UNIMPL semtimedop
387193 UNIMPL semop 390193 UNIMPL semop
388#endif 391#endif
389#ifdef SYSVSEM 392#ifdef SYSVSEM
390194 NOARGS { int|linux_sys||shmget(key_t key, size_t size, \ 393194 NOARGS { int|linux_sys||shmget(key_t key, size_t size, \
391 int shmflg); } 394 int shmflg); }
392195 NOARGS { int|linux_sys||shmctl(int shmid, int cmd, \ 395195 NOARGS { int|linux_sys||shmctl(int shmid, int cmd, \
393 struct linux_shmid_ds *buf); } 396 struct linux_shmid_ds *buf); }
394196 NOARGS { int|sys||shmat(int shmid, void *shmaddr, int shmflg); } 397196 NOARGS { int|sys||shmat(int shmid, void *shmaddr, int shmflg); }
395197 NOARGS { int|sys||shmdt(const void *shmaddr); } 398197 NOARGS { int|sys||shmdt(const void *shmaddr); }
396#else 399#else
397194 UNIMPL shmget 400194 UNIMPL shmget
398195 UNIMPL shmctl 401195 UNIMPL shmctl
399196 UNIMPL shmat 402196 UNIMPL shmat
400197 UNIMPL shmdt 403197 UNIMPL shmdt
401#endif 404#endif
402198 STD { int|linux_sys||socket(int domain, \ 405198 STD { int|linux_sys||socket(int domain, \
403 int type, int protocol); } 406 int type, int protocol); }
404199 STD { int|linux_sys||socketpair(int domain, int type, \ 407199 STD { int|linux_sys||socketpair(int domain, int type, \
405 int protocol, int *rsv); } 408 int protocol, int *rsv); }
406200 STD { int|linux_sys||bind(int s, \ 409200 STD { int|linux_sys||bind(int s, \
407 const struct osockaddr *name, \ 410 const struct osockaddr *name, \
408 unsigned int namelen); } 411 unsigned int namelen); }
409201 NOARGS { int|sys||listen(int s, int backlog); } 412201 NOARGS { int|sys||listen(int s, int backlog); }
410202 STD { int|linux_sys||accept(int s, struct osockaddr *name, \ 413202 STD { int|linux_sys||accept(int s, struct osockaddr *name, \
411 int *anamelen); } oaccept 414 int *anamelen); } oaccept
412203 STD { int|linux_sys||connect(int s, \ 415203 STD { int|linux_sys||connect(int s, \
413 const struct osockaddr *name, \ 416 const struct osockaddr *name, \
414 unsigned int namelen); } 417 unsigned int namelen); }
415204 STD { int|linux_sys||getsockname(int fdec, void *asa, \ 418204 STD { int|linux_sys||getsockname(int fdec, void *asa, \
416 int *alen); } 419 int *alen); }
417205 STD { int|linux_sys||getpeername(int fdes, \ 420205 STD { int|linux_sys||getpeername(int fdes, \
418 struct sockaddr *asa, unsigned int *alen); } 421 struct sockaddr *asa, unsigned int *alen); }
419206 STD { ssize_t|linux_sys||sendto(int s, void *msg, int len, \ 422206 STD { ssize_t|linux_sys||sendto(int s, void *msg, int len, \
420 int flags, struct osockaddr *to, int tolen); } 423 int flags, struct osockaddr *to, int tolen); }
421207 STD { ssize_t|linux_sys||recvfrom(int s, void *buf, \ 424207 STD { ssize_t|linux_sys||recvfrom(int s, void *buf, \
422 size_t len, int flags, struct osockaddr *from, \ 425 size_t len, int flags, struct osockaddr *from, \
423 unsigned int *fromlenaddr); } 426 unsigned int *fromlenaddr); }
424208 STD { int|linux_sys||setsockopt(int s, int level, \ 427208 STD { int|linux_sys||setsockopt(int s, int level, \
425 int optname, void *optval, int optlen); } 428 int optname, void *optval, int optlen); }
426209 STD { int|linux_sys||getsockopt(int s, int level, \ 429209 STD { int|linux_sys||getsockopt(int s, int level, \
427 int optname, void *optval, int *optlen); } 430 int optname, void *optval, int *optlen); }
428210 NOARGS { int|sys||shutdown(int s, int how); } 431210 NOARGS { int|sys||shutdown(int s, int how); }
429211 STD { int|linux_sys||sendmsg(int s, \ 432211 STD { int|linux_sys||sendmsg(int s, \
430 const struct linux_msghdr *msg, int flags); } 433 const struct linux_msghdr *msg, int flags); }
431212 STD { ssize_t|linux_sys||recvmsg(int s, \ 434212 STD { ssize_t|linux_sys||recvmsg(int s, \
432 struct linux_msghdr *msg, int flags); } 435 struct linux_msghdr *msg, int flags); }
433213 UNIMPL readahead 436213 UNIMPL readahead
434214 STD { int|linux_sys||brk(char *nsize); } 437214 STD { int|linux_sys||brk(char *nsize); }
435215 NOARGS { int|sys||munmap(void *addr, size_t len); } 438215 NOARGS { int|sys||munmap(void *addr, size_t len); }
436216 STD { void *|linux_sys||mremap(void *old_address, \ 439216 STD { void *|linux_sys||mremap(void *old_address, \
437 size_t old_size, size_t new_size, u_long flags); } 440 size_t old_size, size_t new_size, u_long flags); }
438217 UNIMPL add_key 441217 UNIMPL add_key
439218 UNIMPL request_key 442218 UNIMPL request_key
440219 UNIMPL keyctl 443219 UNIMPL keyctl
441220 STD { int|linux_sys||clone(int flags, void *stack, \ 444220 STD { int|linux_sys||clone(int flags, void *stack, \
442 void *parent_tidptr, void *child_tidptr, void *tls); } 445 void *parent_tidptr, void *child_tidptr, void *tls); }
443221 NOARGS { int|sys||execve(const char *path, char **argp, \ 446221 NOARGS { int|sys||execve(const char *path, char **argp, \
444 char **envp); } 447 char **envp); }
445222 NOARGS { linux_off_t|linux_sys||mmap(unsigned long addr, \ 448222 NOARGS { linux_off_t|linux_sys||mmap(unsigned long addr, \
446 size_t len, int prot, int flags, int fd, \ 449 size_t len, int prot, int flags, int fd, \
447 linux_off_t offset); } 450 linux_off_t offset); }
448223 STD { int|linux_sys||fadvise64(int fd, off_t offset, \ 451223 STD { int|linux_sys||fadvise64(int fd, off_t offset, \
449 size_t len, int advice); } 452 size_t len, int advice); }
450224 STD { int|linux_sys||swapon(char *name); } 453224 STD { int|linux_sys||swapon(char *name); }
451225 STD { int|linux_sys||swapoff(const char *path); } 454225 STD { int|linux_sys||swapoff(const char *path); }
452226 STD { int|linux_sys||mprotect(const void *start, \ 455226 STD { int|linux_sys||mprotect(const void *start, \
453 unsigned long len, int prot); } 456 unsigned long len, int prot); }
454227 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } 457227 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); }
455228 NOARGS { int|sys||mlock(void *addr, size_t len); } 458228 NOARGS { int|sys||mlock(void *addr, size_t len); }
456229 NOARGS { int|sys||munlock(void *addr, size_t len); } 459229 NOARGS { int|sys||munlock(void *addr, size_t len); }
457230 NOARGS { int|sys||mlockall(int flags); } 460230 NOARGS { int|sys||mlockall(int flags); }
458231 NOARGS { int|sys||munlockall(void); } 461231 NOARGS { int|sys||munlockall(void); }
459232 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } 462232 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); }
460233 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); } 463233 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); }
461234 UNIMPL remap_file_pages 464234 UNIMPL remap_file_pages
462235 UNIMPL mbind 465235 UNIMPL mbind
463236 UNIMPL get_mempolicy 466236 UNIMPL get_mempolicy
464237 UNIMPL set_mempolicy 467237 UNIMPL set_mempolicy
465238 UNIMPL migrate_pages 468238 UNIMPL migrate_pages
466239 UNIMPL move_pages 469239 UNIMPL move_pages
467240 UNIMPL rt_tgsigqueueinfo 470240 UNIMPL rt_tgsigqueueinfo
468241 UNIMPL perf_event_open 471241 UNIMPL perf_event_open
469242 STD { int|linux_sys||accept4(int s, \ 472242 STD { int|linux_sys||accept4(int s, \
470 struct osockaddr *name, \ 473 struct osockaddr *name, \
471 int *anamelen, int flags); } 474 int *anamelen, int flags); }
472243 STD { int|linux_sys||recvmmsg(int s, \ 475243 STD { int|linux_sys||recvmmsg(int s, \
473 struct linux_mmsghdr *msgvec, unsigned int vlen, \ 476 struct linux_mmsghdr *msgvec, unsigned int vlen, \
474 unsigned int flags, struct timespec *timeout); } 477 unsigned int flags, struct timespec *timeout); }
475244 UNIMPL arch_specific_syscall 478244 UNIMPL arch_specific_syscall
476245 UNIMPL 479245 UNIMPL
477246 UNIMPL 480246 UNIMPL
478247 UNIMPL 481247 UNIMPL
479248 UNIMPL 482248 UNIMPL
480249 UNIMPL 483249 UNIMPL
481250 UNIMPL 484250 UNIMPL
482251 UNIMPL 485251 UNIMPL
483252 UNIMPL 486252 UNIMPL
484253 UNIMPL 487253 UNIMPL
485254 UNIMPL 488254 UNIMPL
486255 UNIMPL 489255 UNIMPL
487256 UNIMPL 490256 UNIMPL
488257 UNIMPL 491257 UNIMPL
489258 UNIMPL 492258 UNIMPL
490259 UNIMPL 493259 UNIMPL
491260 STD { int|linux_sys||wait4(int pid, int *status, \ 494260 STD { int|linux_sys||wait4(int pid, int *status, \
492 int options, struct rusage50 *rusage); } 495 int options, struct rusage50 *rusage); }
493261 STD { int|linux_sys||prlimit64(pid_t pid, int which, \ 496261 STD { int|linux_sys||prlimit64(pid_t pid, int which, \
494 struct rlimit *new_rlp, struct rlimit *old_rlp); } 497 struct rlimit *new_rlp, struct rlimit *old_rlp); }
495262 UNIMPL fanotify_init 498262 UNIMPL fanotify_init
496263 UNIMPL fanotify_mark 499263 UNIMPL fanotify_mark
497264 UNIMPL name_to_handle_at 500264 UNIMPL name_to_handle_at
498265 UNIMPL open_by_handle_at 501265 UNIMPL open_by_handle_at
499266 UNIMPL clock_adjtime 502266 UNIMPL clock_adjtime
500267 UNIMPL syncfs 503267 UNIMPL syncfs
501268 UNIMPL setns 504268 UNIMPL setns
502269 STD { int|linux_sys||sendmmsg(int s, \ 505269 STD { int|linux_sys||sendmmsg(int s, \
503 struct linux_mmsghdr *msgvec, unsigned int vlen, \ 506 struct linux_mmsghdr *msgvec, unsigned int vlen, \
504 unsigned int flags); } 507 unsigned int flags); }
505270 UNIMPL process_vm_readv 508270 UNIMPL process_vm_readv
506271 UNIMPL process_vm_writev 509271 UNIMPL process_vm_writev
507272 UNIMPL kcmp 510272 UNIMPL kcmp
508273 UNIMPL finit_module 511273 UNIMPL finit_module
509274 UNIMPL sched_setattr 512274 UNIMPL sched_setattr
510275 UNIMPL sched_getattr 513275 UNIMPL sched_getattr
511276 UNIMPL renameat2 514276 UNIMPL renameat2
512277 UNIMPL seccomp 515277 UNIMPL seccomp
513278 NOARGS { ssize_t|sys||getrandom(void *buf, size_t buflen, \ 516278 NOARGS { ssize_t|sys||getrandom(void *buf, size_t buflen, \
514 unsigned int flags); } 517 unsigned int flags); }
515279 STD { int|linux_sys||memfd_create(const char *name, \ 518279 STD { int|linux_sys||memfd_create(const char *name, \
516 unsigned int flags); } 519 unsigned int flags); }
517280 UNIMPL bpf 520280 UNIMPL bpf
518281 UNIMPL execveat 521281 UNIMPL execveat
519282 UNIMPL userfaultfd 522282 UNIMPL userfaultfd
520283 UNIMPL membarrier 523283 UNIMPL membarrier
521284 UNIMPL mlock2 524284 UNIMPL mlock2
522285 UNIMPL copy_file_range 525285 UNIMPL copy_file_range
523286 UNIMPL preadv2 526286 UNIMPL preadv2
524287 UNIMPL pwritev2 527287 UNIMPL pwritev2
525288 UNIMPL pkey_mprotect 528288 UNIMPL pkey_mprotect
526289 UNIMPL pkey_alloc 529289 UNIMPL pkey_alloc
527290 UNIMPL pkey_free 530290 UNIMPL pkey_free
528291 STD { int|linux_sys||statx(int fd, const char *path, \ 531291 STD { int|linux_sys||statx(int fd, const char *path, \
529 int flag, unsigned int mask, \ 532 int flag, unsigned int mask, \
530 struct linux_statx *sp); } 533 struct linux_statx *sp); }
531292 UNIMPL io_pgetevents 534292 UNIMPL io_pgetevents
532293 UNIMPL rseq 535293 UNIMPL rseq
533294 UNIMPL kexec_file_load 536294 UNIMPL kexec_file_load
534295 UNIMPL 537295 UNIMPL
535296 UNIMPL 538296 UNIMPL
536297 UNIMPL 539297 UNIMPL
537298 UNIMPL 540298 UNIMPL
538299 UNIMPL 541299 UNIMPL
539300 UNIMPL 542300 UNIMPL
540301 UNIMPL 543301 UNIMPL
541302 UNIMPL 544302 UNIMPL
542303 UNIMPL 545303 UNIMPL
543304 UNIMPL 546304 UNIMPL
544305 UNIMPL 547305 UNIMPL
545306 UNIMPL 548306 UNIMPL
546307 UNIMPL 549307 UNIMPL
547308 UNIMPL 550308 UNIMPL
548309 UNIMPL 551309 UNIMPL
549310 UNIMPL 552310 UNIMPL
550311 UNIMPL 553311 UNIMPL
551312 UNIMPL 554312 UNIMPL
552313 UNIMPL 555313 UNIMPL
553314 UNIMPL 556314 UNIMPL
554315 UNIMPL 557315 UNIMPL
555316 UNIMPL 558316 UNIMPL
556317 UNIMPL 559317 UNIMPL
557318 UNIMPL 560318 UNIMPL
558319 UNIMPL 561319 UNIMPL
559320 UNIMPL 562320 UNIMPL
560321 UNIMPL 563321 UNIMPL
561322 UNIMPL 564322 UNIMPL
562323 UNIMPL 565323 UNIMPL
563324 UNIMPL 566324 UNIMPL
564325 UNIMPL 567325 UNIMPL
565326 UNIMPL 568326 UNIMPL
566327 UNIMPL 569327 UNIMPL
567328 UNIMPL 570328 UNIMPL
568329 UNIMPL 571329 UNIMPL
569330 UNIMPL 572330 UNIMPL
570331 UNIMPL 573331 UNIMPL
571332 UNIMPL 574332 UNIMPL
572333 UNIMPL 575333 UNIMPL
573334 UNIMPL 576334 UNIMPL
574335 UNIMPL 577335 UNIMPL
575336 UNIMPL 578336 UNIMPL
576337 UNIMPL 579337 UNIMPL
577338 UNIMPL 580338 UNIMPL
578339 UNIMPL 581339 UNIMPL
579340 UNIMPL 582340 UNIMPL
580341 UNIMPL 583341 UNIMPL
581342 UNIMPL 584342 UNIMPL
582343 UNIMPL 585343 UNIMPL
583344 UNIMPL 586344 UNIMPL
584345 UNIMPL 587345 UNIMPL
585346 UNIMPL 588346 UNIMPL
586347 UNIMPL 589347 UNIMPL
587348 UNIMPL 590348 UNIMPL
588349 UNIMPL 591349 UNIMPL
589350 UNIMPL 592350 UNIMPL
590351 UNIMPL 593351 UNIMPL
591352 UNIMPL 594352 UNIMPL
592353 UNIMPL 595353 UNIMPL
593354 UNIMPL 596354 UNIMPL
594355 UNIMPL 597355 UNIMPL
595356 UNIMPL 598356 UNIMPL
596357 UNIMPL 599357 UNIMPL
597358 UNIMPL 600358 UNIMPL
598359 UNIMPL 601359 UNIMPL
599360 UNIMPL 602360 UNIMPL
600361 UNIMPL 603361 UNIMPL
601362 UNIMPL 604362 UNIMPL
602363 UNIMPL 605363 UNIMPL
603364 UNIMPL 606364 UNIMPL
604365 UNIMPL 607365 UNIMPL
605366 UNIMPL 608366 UNIMPL
606367 UNIMPL 609367 UNIMPL
607368 UNIMPL 610368 UNIMPL
608369 UNIMPL 611369 UNIMPL
609370 UNIMPL 612370 UNIMPL
610371 UNIMPL 613371 UNIMPL
611372 UNIMPL 614372 UNIMPL
612373 UNIMPL 615373 UNIMPL
613374 UNIMPL 616374 UNIMPL
614375 UNIMPL 617375 UNIMPL
615376 UNIMPL 618376 UNIMPL
616377 UNIMPL 619377 UNIMPL
617378 UNIMPL 620378 UNIMPL
618379 UNIMPL 621379 UNIMPL
619380 UNIMPL 622380 UNIMPL
620381 UNIMPL 623381 UNIMPL
621382 UNIMPL 624382 UNIMPL
622383 UNIMPL 625383 UNIMPL
623384 UNIMPL 626384 UNIMPL
624385 UNIMPL 627385 UNIMPL
625386 UNIMPL 628386 UNIMPL
626387 UNIMPL 629387 UNIMPL
627388 UNIMPL 630388 UNIMPL
628389 UNIMPL 631389 UNIMPL
629390 UNIMPL 632390 UNIMPL
630391 UNIMPL 633391 UNIMPL
631392 UNIMPL 634392 UNIMPL
632393 UNIMPL 635393 UNIMPL
633394 UNIMPL 636394 UNIMPL
634395 UNIMPL 637395 UNIMPL
635396 UNIMPL 638396 UNIMPL
636397 UNIMPL 639397 UNIMPL
637398 UNIMPL 640398 UNIMPL
638399 UNIMPL 641399 UNIMPL
639400 UNIMPL 642400 UNIMPL
640401 UNIMPL 643401 UNIMPL
641402 UNIMPL 644402 UNIMPL
642403 UNIMPL 645403 UNIMPL
643404 UNIMPL 646404 UNIMPL
644405 UNIMPL 647405 UNIMPL
645406 UNIMPL 648406 UNIMPL
646407 UNIMPL 649407 UNIMPL
647408 UNIMPL 650408 UNIMPL
648409 UNIMPL 651409 UNIMPL
649410 UNIMPL 652410 UNIMPL
650411 UNIMPL 653411 UNIMPL
651412 UNIMPL 654412 UNIMPL
652413 UNIMPL 655413 UNIMPL
653414 UNIMPL 656414 UNIMPL
654415 UNIMPL 657415 UNIMPL
655416 UNIMPL 658416 UNIMPL
656417 UNIMPL 659417 UNIMPL
657418 UNIMPL 660418 UNIMPL
658419 UNIMPL 661419 UNIMPL
659420 UNIMPL 662420 UNIMPL
660421 UNIMPL 663421 UNIMPL
661422 UNIMPL 664422 UNIMPL
662423 UNIMPL 665423 UNIMPL
663424 UNIMPL pidfd_send_signal 666424 UNIMPL pidfd_send_signal
664425 UNIMPL io_uring_setup 667425 UNIMPL io_uring_setup
665426 UNIMPL io_uring_enter 668426 UNIMPL io_uring_enter
666427 UNIMPL io_uring_register 669427 UNIMPL io_uring_register
667428 UNIMPL open_tree 670428 UNIMPL open_tree
668429 UNIMPL move_mount 671429 UNIMPL move_mount
669430 UNIMPL fsopen 672430 UNIMPL fsopen
670431 UNIMPL fsconfig 673431 UNIMPL fsconfig
671432 UNIMPL fsmount 674432 UNIMPL fsmount
672433 UNIMPL fspick 675433 UNIMPL fspick
673434 UNIMPL pidfd_open 676434 UNIMPL pidfd_open
674435 UNIMPL clone3 677435 UNIMPL clone3
675436 UNIMPL 678436 UNIMPL
676437 UNIMPL openat2 679437 UNIMPL openat2
677438 UNIMPL pidfd_getfd 680438 UNIMPL pidfd_getfd
678439 UNIMPL faccessat2 681439 UNIMPL faccessat2
679 682
680; we want a "nosys" syscall, we'll just add an extra entry for it. 683; we want a "nosys" syscall, we'll just add an extra entry for it.
681440 STD { int|linux_sys||nosys(void); } 684440 STD { int|linux_sys||nosys(void); }
 685441 STD { int|linux_sys||epoll_pwait2(int epfd, \
 686 struct linux_epoll_event *events, int maxevents, \
 687 const struct linux_timespec *timeout, \
 688 const linux_sigset_t *sigmask); }

cvs diff -r1.3 -r1.4 src/sys/compat/linux/arch/alpha/syscalls.conf (switch to unified diff)

--- src/sys/compat/linux/arch/alpha/syscalls.conf 2001/03/30 18:31:28 1.3
+++ src/sys/compat/linux/arch/alpha/syscalls.conf 2023/07/28 19:01:11 1.4
@@ -1,15 +1,15 @@ @@ -1,15 +1,15 @@
1# $NetBSD: syscalls.conf,v 1.3 2001/03/30 18:31:28 jdolecek Exp $ 1# $NetBSD: syscalls.conf,v 1.4 2023/07/28 19:01:11 christos Exp $
2 2
3sysnames="linux_syscalls.c" 3sysnames="linux_syscalls.c"
4sysnumhdr="linux_syscall.h" 4sysnumhdr="linux_syscall.h"
5syssw="linux_sysent.c" 5syssw="linux_sysent.c"
6sysarghdr="linux_syscallargs.h" 6sysarghdr="linux_syscallargs.h"
7compatopts="" 7compatopts=""
8libcompatopts="" 8libcompatopts=""
9 9
10switchname="linux_sysent" 10switchname="linux_sysent"
11namesname="linux_syscallnames" 11namesname="linux_syscallnames"
12constprefix="LINUX_SYS_" 12constprefix="LINUX_SYS_"
13nsysent=512 13nsysent=1024
14 14
15sys_nosys="linux_sys_nosys" 15sys_nosys="linux_sys_nosys"

cvs diff -r1.102 -r1.103 src/sys/compat/linux/arch/alpha/syscalls.master (switch to unified diff)

--- src/sys/compat/linux/arch/alpha/syscalls.master 2021/12/02 04:29:47 1.102
+++ src/sys/compat/linux/arch/alpha/syscalls.master 2023/07/28 19:01:11 1.103
@@ -1,816 +1,865 @@ @@ -1,816 +1,865 @@
1 $NetBSD: syscalls.master,v 1.102 2021/12/02 04:29:47 ryo Exp $ 1 $NetBSD: syscalls.master,v 1.103 2023/07/28 19:01:11 christos Exp $
2; 2;
3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
4 4
5; NetBSD alpha COMPAT_LINUX system call name/number "master" file. 5; NetBSD alpha COMPAT_LINUX system call name/number "master" file.
6; (See syscalls.conf to see what it is processed into.) 6; (See syscalls.conf to see what it is processed into.)
7; 7;
8; Fields: number type [type-dependent ...] 8; Fields: number type [type-dependent ...]
9; number system call number, must be in order 9; number system call number, must be in order
10; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of 10; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
11; the compatibility options defined in syscalls.conf. 11; the compatibility options defined in syscalls.conf.
12; 12;
13; types: 13; types:
14; STD always included 14; STD always included
15; OBSOL obsolete, not included in system 15; OBSOL obsolete, not included in system
16; UNIMPL unimplemented, not included in system 16; UNIMPL unimplemented, not included in system
17; NODEF included, but don't define the syscall number 17; NODEF included, but don't define the syscall number
18; NOARGS included, but don't define the syscall args structure 18; NOARGS included, but don't define the syscall args structure
19; INDIR included, but don't define the syscall args structure 19; INDIR included, but don't define the syscall args structure
20; and allow it to be "really" varargs. 20; and allow it to be "really" varargs.
21; 21;
22; The compat options are defined in the syscalls.conf file, and the 22; The compat options are defined in the syscalls.conf file, and the
23; compat option name is prefixed to the syscall name. Other than 23; compat option name is prefixed to the syscall name. Other than
24; that, they're like NODEF (for 'compat' options), or STD (for 24; that, they're like NODEF (for 'compat' options), or STD (for
25; 'libcompat' options). 25; 'libcompat' options).
26; 26;
27; The type-dependent arguments are as follows: 27; The type-dependent arguments are as follows:
28; For STD, NODEF, NOARGS, and compat syscalls: 28; For STD, NODEF, NOARGS, and compat syscalls:
29; { pseudo-proto } [alias] 29; { pseudo-proto } [alias]
30; For other syscalls: 30; For other syscalls:
31; [comment] 31; [comment]
32; 32;
33; #ifdef's, etc. may be included, and are copied to the output files. 33; #ifdef's, etc. may be included, and are copied to the output files.
34; #include's are copied to the syscall names and switch definition files only. 34; #include's are copied to the syscall names and switch definition files only.
35; 35;
36; (ERH: 3/18/00) 36; (ERH: 3/18/00)
37; 37;
38; XXX XAX things to do: 38; XXX XAX things to do:
39; make sure non-linux_foo() matches real linux syscalls. 39; make sure non-linux_foo() matches real linux syscalls.
40; create new linux_foo functions otherwise 40; create new linux_foo functions otherwise
41; (i.e. reboot, msgrcv? ) 41; (i.e. reboot, msgrcv? )
42; make sure linux_foo() matches expected prototypes in .c files. 42; make sure linux_foo() matches expected prototypes in .c files.
43; kill not used functions. (ifdef the actual code) 43; kill not used functions. (ifdef the actual code)
44; make linux_sys_sigreturn in linux_machdep.c use frame.extramask 44; make linux_sys_sigreturn in linux_machdep.c use frame.extramask
45; 45;
46; NOT USED = This syscall is not really used in Linux, except in its 46; NOT USED = This syscall is not really used in Linux, except in its
47; osf compat mode. Since Linux binaries shouldn't ever 47; osf compat mode. Since Linux binaries shouldn't ever
48; call it and osf binaries run under a different emulation, 48; call it and osf binaries run under a different emulation,
49; it shouldn't matter that the linux version of the 49; it shouldn't matter that the linux version of the
50; function might not DTRT. Define it anyway so we 50; function might not DTRT. Define it anyway so we
51; don't have to split off or ifdef the associated function. 51; don't have to split off or ifdef the associated function.
52; A bit better might be to have makesyscalls identify this 52; A bit better might be to have makesyscalls identify this
53; as "define but don't include in table" so it doesn't actually 53; as "define but don't include in table" so it doesn't actually
54; ever get called. 54; ever get called.
55; UNIMPL <blank> = not implemented here nor in linux source 55; UNIMPL <blank> = not implemented here nor in linux source
56; UNIMPL osf_* = osf functions implemented in linux, not here. 56; UNIMPL osf_* = osf functions implemented in linux, not here.
57; 57;
58 58
59#if defined(_KERNEL_OPT) 59#if defined(_KERNEL_OPT)
60#include "opt_sysv.h" 60#include "opt_sysv.h"
61#endif 61#endif
62 62
63#include <sys/param.h> 63#include <sys/param.h>
64#include <sys/poll.h> 64#include <sys/poll.h>
65#include <sys/systm.h> 65#include <sys/systm.h>
66#include <sys/signal.h> 66#include <sys/signal.h>
67#include <sys/mount.h> 67#include <sys/mount.h>
68#include <sys/syscallargs.h> 68#include <sys/syscallargs.h>
69 69
70#include <compat/linux/common/linux_types.h> 70#include <compat/linux/common/linux_types.h>
71#include <compat/linux/common/linux_signal.h> 71#include <compat/linux/common/linux_signal.h>
72#include <compat/linux/common/linux_siginfo.h> 72#include <compat/linux/common/linux_siginfo.h>
73#include <compat/linux/common/linux_ipc.h> 73#include <compat/linux/common/linux_ipc.h>
74#include <compat/linux/common/linux_msg.h> 74#include <compat/linux/common/linux_msg.h>
75#include <compat/linux/common/linux_sem.h> 75#include <compat/linux/common/linux_sem.h>
76#include <compat/linux/common/linux_shm.h> 76#include <compat/linux/common/linux_shm.h>
77#include <compat/linux/common/linux_mmap.h> 77#include <compat/linux/common/linux_mmap.h>
78;#include <compat/linux/common/linux_machdep.h> 78;#include <compat/linux/common/linux_machdep.h>
79 79
80#include <compat/linux/linux_syscallargs.h> 80#include <compat/linux/linux_syscallargs.h>
81#include <compat/linux/arch/alpha/linux_osf1.h> 81#include <compat/linux/arch/alpha/linux_osf1.h>
82 82
83%% 83%%
84 84
850 NOARGS { int|linux_sys||nosys(void); } syscall 850 NOARGS { int|linux_sys||nosys(void); } syscall
861 STD { int|linux_sys||exit(int rval); } 861 STD { int|linux_sys||exit(int rval); }
872 NOARGS { int|sys||fork(void); } 872 NOARGS { int|sys||fork(void); }
883 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } 883 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
894 NOARGS { ssize_t|sys||write(int fd, const void *buf, \ 894 NOARGS { ssize_t|sys||write(int fd, const void *buf, \
90 size_t nbyte); } 90 size_t nbyte); }
915 UNIMPL 915 UNIMPL
926 NOARGS { int|sys||close(int fd); } 926 NOARGS { int|sys||close(int fd); }
937 STD { int|linux_sys||osf1_wait4(int pid, int *status, \ 937 STD { int|linux_sys||osf1_wait4(int pid, int *status, \
94 int options, struct osf1_rusage *rusage); } 94 int options, struct osf1_rusage *rusage); }
95;8 ALIAS osf1_sys_old_creat, NOT USED 95;8 ALIAS osf1_sys_old_creat, NOT USED
968 STD { int|linux_sys||creat(const char *path, linux_umode_t mode); } 968 STD { int|linux_sys||creat(const char *path, linux_umode_t mode); }
979 NOARGS { int|sys||link(const char *path, const char *link); } 979 NOARGS { int|sys||link(const char *path, const char *link); }
9810 STD { int|linux_sys||unlink(const char *path); } 9810 STD { int|linux_sys||unlink(const char *path); }
9911 UNIMPL 9911 UNIMPL
10012 NOARGS { int|sys||chdir(const char *path); } 10012 NOARGS { int|sys||chdir(const char *path); }
10113 NOARGS { int|sys||fchdir(int fd); } 10113 NOARGS { int|sys||fchdir(int fd); }
10214 STD { int|linux_sys||mknod(const char *path, linux_umode_t mode, \ 10214 STD { int|linux_sys||mknod(const char *path, linux_umode_t mode, \
103 unsigned dev); } 103 unsigned dev); }
10415 NOARGS { int|sys||chmod(const char *path, int mode); } 10415 NOARGS { int|sys||chmod(const char *path, int mode); }
10516 NOARGS { int|sys||__posix_chown(const char *path, uid_t uid, \ 10516 NOARGS { int|sys||__posix_chown(const char *path, uid_t uid, \
106 gid_t gid); } 106 gid_t gid); }
107;17 ALIAS osf1_sys_brk 107;17 ALIAS osf1_sys_brk
10817 STD { int|linux_sys||brk(char *nsize); } 10817 STD { int|linux_sys||brk(char *nsize); }
10918 UNIMPL 10918 UNIMPL
11019 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ 11019 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \
111 int whence); } 111 int whence); }
11220 NOARGS { pid_t|sys||getpid_with_ppid(void); } 11220 NOARGS { pid_t|sys||getpid_with_ppid(void); }
11321 STD { int|linux_sys||osf1_mount(int type, const char *path, \ 11321 STD { int|linux_sys||osf1_mount(int type, const char *path, \
114 int flags, void *data); } 114 int flags, void *data); }
11522 UNIMPL umount 11522 UNIMPL umount
11623 NOARGS { int|sys||setuid(uid_t uid); } 11623 NOARGS { int|sys||setuid(uid_t uid); }
11724 NOARGS { uid_t|sys||getuid_with_euid(void); } 11724 NOARGS { uid_t|sys||getuid_with_euid(void); }
11825 UNIMPL 11825 UNIMPL
11926 STD { int|linux_sys||ptrace(long request, long pid, \ 11926 STD { int|linux_sys||ptrace(long request, long pid, \
120 long addr, long data); } 120 long addr, long data); }
12127 UNIMPL 12127 UNIMPL
12228 UNIMPL 12228 UNIMPL
12329 UNIMPL 12329 UNIMPL
12430 UNIMPL 12430 UNIMPL
12531 UNIMPL 12531 UNIMPL
12632 UNIMPL 12632 UNIMPL
12733 NOARGS { int|sys||access(const char *path, int flags); } 12733 NOARGS { int|sys||access(const char *path, int flags); }
12834 UNIMPL 12834 UNIMPL
12935 UNIMPL 12935 UNIMPL
13036 NOARGS { int|sys||sync(void); } 13036 NOARGS { int|sys||sync(void); }
13137 STD { int|linux_sys||kill(int pid, int signum); } 13137 STD { int|linux_sys||kill(int pid, int signum); }
13238 UNIMPL 13238 UNIMPL
13339 NOARGS { int|sys||setpgid(int pid, int pgid); } 13339 NOARGS { int|sys||setpgid(int pid, int pgid); }
13440 UNIMPL 13440 UNIMPL
13541 NOARGS { int|sys||dup(int fd); } 13541 NOARGS { int|sys||dup(int fd); }
13642 NOARGS { int|linux_sys||pipe(void); } 13642 NOARGS { int|linux_sys||pipe(void); }
13743 STD { int|linux_sys||osf1_set_program_attributes( \ 13743 STD { int|linux_sys||osf1_set_program_attributes( \
138 void *taddr, unsigned long tsize, \ 138 void *taddr, unsigned long tsize, \
139 void *daddr, unsigned long dsize); } 139 void *daddr, unsigned long dsize); }
14044 UNIMPL 14044 UNIMPL
14145 STD { int|linux_sys||open(const char *path, int flags, \ 14145 STD { int|linux_sys||open(const char *path, int flags, \
142 linux_umode_t mode); } 142 linux_umode_t mode); }
14346 UNIMPL 14346 UNIMPL
14447 NOARGS { gid_t|sys||getgid_with_egid(void); } 14447 NOARGS { gid_t|sys||getgid_with_egid(void); }
145; ALIAS osf1_sys_sigprocmask(int how, unsigned long mask); 145; ALIAS osf1_sys_sigprocmask(int how, unsigned long mask);
146; XXX <- copied from osf1/syscalls.master 146; XXX <- copied from osf1/syscalls.master
14748 NOARGS { int|compat_13_sys||sigprocmask(int how, \ 14748 NOARGS { int|compat_13_sys||sigprocmask(int how, \
148 sigset13_t mask); } 148 sigset13_t mask); }
14949 UNIMPL 14949 UNIMPL
15050 UNIMPL 15050 UNIMPL
15151 NOARGS { int|sys||acct(const char *path); } 15151 NOARGS { int|sys||acct(const char *path); }
15252 STD { int|linux_sys||sigpending(linux_old_sigset_t *set); } 15252 STD { int|linux_sys||sigpending(linux_old_sigset_t *set); }
15353 UNIMPL 15353 UNIMPL
15454 STD { int|linux_sys||ioctl(int fd, u_long com, \ 15454 STD { int|linux_sys||ioctl(int fd, u_long com, \
155 void *data); } 155 void *data); }
15655 UNIMPL 15655 UNIMPL
15756 UNIMPL 15756 UNIMPL
15857 NOARGS { int|sys||symlink(const char *path, const char *to); } 15857 NOARGS { int|sys||symlink(const char *path, const char *to); }
15958 NOARGS { ssize_t|sys||readlink(const char *path, char *buf, \ 15958 NOARGS { ssize_t|sys||readlink(const char *path, char *buf, \
160 int count); } 160 int count); }
16159 NOARGS { int|sys||execve(const char *path, char **argp, \ 16159 NOARGS { int|sys||execve(const char *path, char **argp, \
162 char **envp); } 162 char **envp); }
16360 NOARGS { mode_t|sys||umask(mode_t newmask); } 16360 NOARGS { mode_t|sys||umask(mode_t newmask); }
16461 NOARGS { int|sys||chroot(const char *path); } 16461 NOARGS { int|sys||chroot(const char *path); }
16562 UNIMPL 16562 UNIMPL
16663 NOARGS { int|sys||getpgrp(void); } 16663 NOARGS { int|sys||getpgrp(void); }
16764 NOARGS { int|compat_43_sys||getpagesize(void); } 16764 NOARGS { int|compat_43_sys||getpagesize(void); }
16865 UNIMPL 16865 UNIMPL
16966 NOARGS { int|sys|14|vfork(void); } 16966 NOARGS { int|sys|14|vfork(void); }
17067 STD { int|linux_sys||stat(const char *path, \ 17067 STD { int|linux_sys||stat(const char *path, \
171 struct linux_stat *sp); } 171 struct linux_stat *sp); }
17268 STD { int|linux_sys||lstat(const char *path, \ 17268 STD { int|linux_sys||lstat(const char *path, \
173 struct linux_stat *sp); } 173 struct linux_stat *sp); }
17469 UNIMPL 17469 UNIMPL
17570 UNIMPL 17570 UNIMPL
176;71 ALIAS osf1_sys_mmap 176;71 ALIAS osf1_sys_mmap
17771 NOARGS { int|linux_sys||mmap(unsigned long addr, size_t len, \ 17771 NOARGS { int|linux_sys||mmap(unsigned long addr, size_t len, \
178 int prot, int flags, int fd, linux_off_t offset); } 178 int prot, int flags, int fd, linux_off_t offset); }
17972 UNIMPL 17972 UNIMPL
18073 NOARGS { int|sys||munmap(void *addr, size_t len); } 18073 NOARGS { int|sys||munmap(void *addr, size_t len); }
18174 STD { int|linux_sys||mprotect(const void *start, \ 18174 STD { int|linux_sys||mprotect(const void *start, \
182 unsigned long len, int prot); } 182 unsigned long len, int prot); }
18375 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); } 18375 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); }
18476 UNIMPL vhangup 18476 UNIMPL vhangup
18577 UNIMPL 18577 UNIMPL
18678 UNIMPL 18678 UNIMPL
18779 NOARGS { int|sys||getgroups(int gidsetsize, gid_t *gidset); } 18779 NOARGS { int|sys||getgroups(int gidsetsize, gid_t *gidset); }
18880 NOARGS { int|sys||setgroups(int gidsetsize, const gid_t *gidset); } 18880 NOARGS { int|sys||setgroups(int gidsetsize, const gid_t *gidset); }
18981 UNIMPL 18981 UNIMPL
19082 UNIMPL setpgrp 19082 UNIMPL setpgrp
19183 STD { int|linux_sys||osf1_setitimer(int which, \ 19183 STD { int|linux_sys||osf1_setitimer(int which, \
192 struct osf1_itimerval *itv, \ 192 struct osf1_itimerval *itv, \
193 struct osf1_itimerval *oitv); } 193 struct osf1_itimerval *oitv); }
19484 UNIMPL 19484 UNIMPL
19585 UNIMPL 19585 UNIMPL
19686 UNIMPL osf1_sys_getitimer 19686 UNIMPL osf1_sys_getitimer
19787 NOARGS { int|compat_43_sys||gethostname(char *hostname, \ 19787 NOARGS { int|compat_43_sys||gethostname(char *hostname, \
198 u_int len); } 198 u_int len); }
19988 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ 19988 NOARGS { int|compat_43_sys||sethostname(char *hostname, \
200 u_int len); } 200 u_int len); }
20189 UNIMPL getdtablesize 20189 UNIMPL getdtablesize
20290 NOARGS { int|sys||dup2(int from, int to); } 20290 NOARGS { int|sys||dup2(int from, int to); }
20391 STD { int|linux_sys||fstat(int fd, struct linux_stat *sp); } 20391 STD { int|linux_sys||fstat(int fd, struct linux_stat *sp); }
20492 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); } 20492 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); }
20593 STD { int|linux_sys||osf1_select(u_int nd, fd_set *in, \ 20593 STD { int|linux_sys||osf1_select(u_int nd, fd_set *in, \
206 fd_set *ou, fd_set *ex, struct osf1_timeval *tv); } 206 fd_set *ou, fd_set *ex, struct osf1_timeval *tv); }
20794 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ 20794 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \
208 int timeout); } 208 int timeout); }
20995 NOARGS { int|sys||fsync(int fd); } 20995 NOARGS { int|sys||fsync(int fd); }
21096 NOARGS { int|sys||setpriority(int which, int who, int prio); } 21096 NOARGS { int|sys||setpriority(int which, int who, int prio); }
21197 STD { int|linux_sys||socket(int domain, int type, \ 21197 STD { int|linux_sys||socket(int domain, int type, \
212 int protocol); } 212 int protocol); }
21398 STD { int|linux_sys||connect(int s, \ 21398 STD { int|linux_sys||connect(int s, \
214 const struct osockaddr *name, \ 214 const struct osockaddr *name, \
215 unsigned int namelen); } 215 unsigned int namelen); }
21699 STD { int|linux_sys||accept(int s, \ 21699 STD { int|linux_sys||accept(int s, \
217 struct osockaddr *name, int *anamelen); } 217 struct osockaddr *name, int *anamelen); }
218;100 ALIAS osf1_sys_getpriority 218;100 ALIAS osf1_sys_getpriority
219100 STD { int|linux_sys||getpriority(int which, int who); } 219100 STD { int|linux_sys||getpriority(int which, int who); }
220101 STD { int|linux_sys||send(int s, void *buf, int len, \ 220101 STD { int|linux_sys||send(int s, void *buf, int len, \
221 int flags); } 221 int flags); }
222102 STD { int|linux_sys||recv(int s, void *buf, int len, \ 222102 STD { int|linux_sys||recv(int s, void *buf, int len, \
223 int flags); } 223 int flags); }
224103 STD { int|linux_sys||sigreturn(struct linux_sigframe *sfp); } 224103 STD { int|linux_sys||sigreturn(struct linux_sigframe *sfp); }
225104 STD { int|linux_sys||bind(int s, \ 225104 STD { int|linux_sys||bind(int s, \
226 const struct osockaddr *name, \ 226 const struct osockaddr *name, \
227 unsigned int namelen); } 227 unsigned int namelen); }
228105 STD { int|linux_sys||setsockopt(int s, int level, \ 228105 STD { int|linux_sys||setsockopt(int s, int level, \
229 int optname, void *optval, int optlen); } 229 int optname, void *optval, int optlen); }
230106 NOARGS { int|sys||listen(int s, int backlog); } 230106 NOARGS { int|sys||listen(int s, int backlog); }
231107 UNIMPL 231107 UNIMPL
232108 UNIMPL 232108 UNIMPL
233109 UNIMPL 233109 UNIMPL
234110 UNIMPL 234110 UNIMPL
235 235
236111 STD { int|linux_sys||sigsuspend(void *restart, \ 236111 STD { int|linux_sys||sigsuspend(void *restart, \
237 int oldmask, int mask); } 237 int oldmask, int mask); }
238;112 ALIAS osf1_sys_sigstack 238;112 ALIAS osf1_sys_sigstack
239112 NOARGS { int|compat_43_sys||sigstack(struct sigstack *nss, \ 239112 NOARGS { int|compat_43_sys||sigstack(struct sigstack *nss, \
240 struct sigstack *oss); } 240 struct sigstack *oss); }
241113 STD { ssize_t|linux_sys||recvmsg(int s, \ 241113 STD { ssize_t|linux_sys||recvmsg(int s, \
242 struct linux_msghdr *msg, int flags); } 242 struct linux_msghdr *msg, int flags); }
243114 STD { ssize_t|linux_sys||sendmsg(int s, \ 243114 STD { ssize_t|linux_sys||sendmsg(int s, \
244 const struct linux_msghdr *msg, int flags); } 244 const struct linux_msghdr *msg, int flags); }
245115 UNIMPL 245115 UNIMPL
246116 STD { int|linux_sys||osf1_gettimeofday(struct osf1_timeval *tv, \ 246116 STD { int|linux_sys||osf1_gettimeofday(struct osf1_timeval *tv, \
247 struct osf1_timezone *tzp); } 247 struct osf1_timezone *tzp); }
248117 STD { int|linux_sys||osf1_getrusage(int who, \ 248117 STD { int|linux_sys||osf1_getrusage(int who, \
249 struct osf1_rusage *rusage); } 249 struct osf1_rusage *rusage); }
250118 STD { int|linux_sys||getsockopt(int s, int level, \ 250118 STD { int|linux_sys||getsockopt(int s, int level, \
251 int optname, void *optval, int *optlen); } 251 int optname, void *optval, int *optlen); }
252119 UNIMPL 252119 UNIMPL
253120 NOARGS { ssize_t|sys||readv(int fd, const struct iovec *iovp, \ 253120 NOARGS { ssize_t|sys||readv(int fd, const struct iovec *iovp, \
254 int iovcnt); } 254 int iovcnt); }
255121 NOARGS { ssize_t|sys||writev(int fd, const struct iovec *iovp, \ 255121 NOARGS { ssize_t|sys||writev(int fd, const struct iovec *iovp, \
256 int iovcnt); } 256 int iovcnt); }
257122 STD { int|linux_sys||osf1_settimeofday(struct osf1_timeval *tv, \ 257122 STD { int|linux_sys||osf1_settimeofday(struct osf1_timeval *tv, \
258 struct osf1_timezone *tzp); } 258 struct osf1_timezone *tzp); }
259123 NOARGS { int|sys||__posix_fchown(int fd, uid_t uid, \ 259123 NOARGS { int|sys||__posix_fchown(int fd, uid_t uid, \
260 gid_t gid); } 260 gid_t gid); }
261124 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); } 261124 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); }
262125 STD { int|linux_sys||recvfrom(int s, void *buf, int len, \ 262125 STD { int|linux_sys||recvfrom(int s, void *buf, int len, \
263 int flags, struct osockaddr *from, \ 263 int flags, struct osockaddr *from, \
264 int *fromlenaddr); } 264 int *fromlenaddr); }
265126 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); } 265126 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); }
266127 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); } 266127 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); }
267128 NOARGS { int|sys||__posix_rename(const char *from, const char *to); } 267128 NOARGS { int|sys||__posix_rename(const char *from, const char *to); }
268129 NOARGS { int|compat_43_sys||truncate(const char *path, \ 268129 NOARGS { int|compat_43_sys||truncate(const char *path, \
269 long length); } 269 long length); }
270130 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } 270130 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); }
271131 NOARGS { int|sys||flock(int fd, int how); } 271131 NOARGS { int|sys||flock(int fd, int how); }
272132 NOARGS { int|sys||setgid(gid_t gid); } 272132 NOARGS { int|sys||setgid(gid_t gid); }
273133 STD { int|linux_sys||sendto(int s, void *msg, int len, \ 273133 STD { int|linux_sys||sendto(int s, void *msg, int len, \
274 int flags, struct osockaddr *to, int tolen); } 274 int flags, struct osockaddr *to, int tolen); }
275134 NOARGS { int|sys||shutdown(int s, int how); } 275134 NOARGS { int|sys||shutdown(int s, int how); }
276135 STD { int|linux_sys||socketpair(int domain, int type, \ 276135 STD { int|linux_sys||socketpair(int domain, int type, \
277 int protocol, int *rsv); } 277 int protocol, int *rsv); }
278136 NOARGS { int|sys||mkdir(const char *path, linux_umode_t mode); } 278136 NOARGS { int|sys||mkdir(const char *path, linux_umode_t mode); }
279137 NOARGS { int|sys||rmdir(const char *path); } 279137 NOARGS { int|sys||rmdir(const char *path); }
280138 STD { int|linux_sys||osf1_utimes(const char *path, \ 280138 STD { int|linux_sys||osf1_utimes(const char *path, \
281 const struct osf1_timeval *tptr); } 281 const struct osf1_timeval *tptr); }
282139 UNIMPL 282139 UNIMPL
283140 UNIMPL 283140 UNIMPL
284141 STD { int|linux_sys||getpeername(int fdes, \ 284141 STD { int|linux_sys||getpeername(int fdes, \
285 void *asa, int *alen); } 285 void *asa, int *alen); }
286142 UNIMPL 286142 UNIMPL
287143 UNIMPL 287143 UNIMPL
288144 STD { int|linux_sys||getrlimit(int which, \ 288144 STD { int|linux_sys||getrlimit(int which, \
289 struct orlimit *rlp); } 289 struct orlimit *rlp); }
290145 STD { int|linux_sys||setrlimit(int which, \ 290145 STD { int|linux_sys||setrlimit(int which, \
291 const struct orlimit *rlp); } 291 const struct orlimit *rlp); }
292146 UNIMPL 292146 UNIMPL
293147 NOARGS { int|sys||setsid(void); } 293147 NOARGS { int|sys||setsid(void); }
294148 UNIMPL quotactl 294148 UNIMPL quotactl
295149 UNIMPL 295149 UNIMPL
296150 STD { int|linux_sys||getsockname(int fdec, \ 296150 STD { int|linux_sys||getsockname(int fdec, \
297 void *asa, int *alen); } 297 void *asa, int *alen); }
298151 UNIMPL 298151 UNIMPL
299152 UNIMPL 299152 UNIMPL
300153 UNIMPL 300153 UNIMPL
301154 UNIMPL 301154 UNIMPL
302155 UNIMPL 302155 UNIMPL
303;156 ALIAS osf1_sys_sigaction 303;156 ALIAS osf1_sys_sigaction
304156 STD { int|linux_sys||sigaction(int signum, \ 304156 STD { int|linux_sys||sigaction(int signum, \
305 const struct linux_old_sigaction *nsa, \ 305 const struct linux_old_sigaction *nsa, \
306 struct linux_old_sigaction *osa); } 306 struct linux_old_sigaction *osa); }
307157 UNIMPL 307157 UNIMPL
308158 UNIMPL 308158 UNIMPL
309;159 ALIAS osf1_sys_getdirentries 309;159 ALIAS osf1_sys_getdirentries
310159 NOARGS { int|compat_43_sys||getdirentries(int fd, char *buf, \ 310159 NOARGS { int|compat_43_sys||getdirentries(int fd, char *buf, \
311 u_int count, long *basep); } 311 u_int count, long *basep); }
312160 STD { int|linux_sys||osf1_statfs(const char *path, \ 312160 STD { int|linux_sys||osf1_statfs(const char *path, \
313 struct osf1_statfs *buf, int len); } 313 struct osf1_statfs *buf, int len); }
314161 STD { int|linux_sys||osf1_fstatfs(int fd, \ 314161 STD { int|linux_sys||osf1_fstatfs(int fd, \
315 struct osf1_statfs *buf, int len); } 315 struct osf1_statfs *buf, int len); }
316162 UNIMPL 316162 UNIMPL
317163 UNIMPL 317163 UNIMPL
318164 UNIMPL 318164 UNIMPL
319;165 ALIAS osf1_sys_getdomainname 319;165 ALIAS osf1_sys_getdomainname
320165 NOARGS { int|compat_09_sys||getdomainname(char *domainname, \ 320165 NOARGS { int|compat_09_sys||getdomainname(char *domainname, \
321 int len); } 321 int len); }
322166 STD { int|linux_sys||setdomainname(char *domainname, \ 322166 STD { int|linux_sys||setdomainname(char *domainname, \
323 int len); } 323 int len); }
324167 UNIMPL 324167 UNIMPL
325168 UNIMPL 325168 UNIMPL
326169 UNIMPL 326169 UNIMPL
327170 UNIMPL 327170 UNIMPL
328171 UNIMPL 328171 UNIMPL
329172 UNIMPL 329172 UNIMPL
330173 UNIMPL 330173 UNIMPL
331174 UNIMPL 331174 UNIMPL
332175 UNIMPL 332175 UNIMPL
333176 UNIMPL 333176 UNIMPL
334177 UNIMPL 334177 UNIMPL
335178 UNIMPL 335178 UNIMPL
336179 UNIMPL 336179 UNIMPL
337180 UNIMPL 337180 UNIMPL
338181 UNIMPL 338181 UNIMPL
339182 UNIMPL 339182 UNIMPL
340183 UNIMPL 340183 UNIMPL
341184 UNIMPL 341184 UNIMPL
342185 UNIMPL 342185 UNIMPL
343186 UNIMPL 343186 UNIMPL
344187 UNIMPL 344187 UNIMPL
345188 UNIMPL 345188 UNIMPL
346189 UNIMPL 346189 UNIMPL
347190 UNIMPL 347190 UNIMPL
348; XXX: Dunno 348; XXX: Dunno
349191 STD { int|linux_sys||ugetrlimit(int which, \ 349191 STD { int|linux_sys||ugetrlimit(int which, \
350 struct rlimit *rlp); } 350 struct rlimit *rlp); }
351192 UNIMPL mmap2 351192 UNIMPL mmap2
352193 UNIMPL 352193 UNIMPL
353194 UNIMPL 353194 UNIMPL
354195 UNIMPL 354195 UNIMPL
355196 UNIMPL 355196 UNIMPL
356197 UNIMPL 356197 UNIMPL
357198 UNIMPL 357198 UNIMPL
358199 UNIMPL osf1_sys_swapon 358199 UNIMPL osf1_sys_swapon
359#ifdef SYSVMSG 359#ifdef SYSVMSG
360200 NOARGS { int|linux_sys||msgctl(int msqid, int cmd, \ 360200 NOARGS { int|linux_sys||msgctl(int msqid, int cmd, \
361 struct linux_msqid_ds *buf); } 361 struct linux_msqid_ds *buf); }
362201 NOARGS { int|sys||msgget(key_t key, int msgflg); } 362201 NOARGS { int|sys||msgget(key_t key, int msgflg); }
363202 NOARGS { ssize_t|sys||msgrcv(int msqid, void *msgp, \ 363202 NOARGS { ssize_t|sys||msgrcv(int msqid, void *msgp, \
364 size_t msgsz, long msgtyp, int msgflg); } 364 size_t msgsz, long msgtyp, int msgflg); }
365203 NOARGS { int|sys||msgsnd(int msqid, void *msgp, size_t msgsz, \ 365203 NOARGS { int|sys||msgsnd(int msqid, void *msgp, size_t msgsz, \
366 int msgflg); } 366 int msgflg); }
367#else 367#else
368200 UNIMPL msgctl 368200 UNIMPL msgctl
369201 UNIMPL msgget 369201 UNIMPL msgget
370202 UNIMPL msgrcv 370202 UNIMPL msgrcv
371203 UNIMPL msgsnd 371203 UNIMPL msgsnd
372#endif 372#endif
373#ifdef SYSVSEM 373#ifdef SYSVSEM
374204 NOARGS { int|linux_sys||semctl(int semid, int semnum, \ 374204 NOARGS { int|linux_sys||semctl(int semid, int semnum, \
375 int cmd, union linux_semun arg); } 375 int cmd, union linux_semun arg); }
376205 NOARGS { int|sys||semget(key_t key, int nsems, int semflg); } 376205 NOARGS { int|sys||semget(key_t key, int nsems, int semflg); }
377206 NOARGS { int|sys||semop(int semid, struct sembuf *sops, \ 377206 NOARGS { int|sys||semop(int semid, struct sembuf *sops, \
378 size_t nsops); } 378 size_t nsops); }
379#else 379#else
380204 UNIMPL semctl 380204 UNIMPL semctl
381205 UNIMPL semget 381205 UNIMPL semget
382206 UNIMPL semop 382206 UNIMPL semop
383#endif 383#endif
384;207 ALIAS osf1_sys_utsname 384;207 ALIAS osf1_sys_utsname
385207 STD { int|linux_sys||olduname(struct linux_old_utsname *up); } 385207 STD { int|linux_sys||olduname(struct linux_old_utsname *up); }
386208 NOARGS { int|sys||__posix_lchown(const char *path, uid_t uid, \ 386208 NOARGS { int|sys||__posix_lchown(const char *path, uid_t uid, \
387 gid_t gid); } 387 gid_t gid); }
388#ifdef SYSVSHM 388#ifdef SYSVSHM
389209 NOARGS { int|linux_sys||shmat(int shmid, void *shmaddr, \ 389209 NOARGS { int|linux_sys||shmat(int shmid, void *shmaddr, \
390 int shmflg, u_long *raddr); } 390 int shmflg, u_long *raddr); }
391210 NOARGS { int|linux_sys||shmctl(int shmid, int cmd, \ 391210 NOARGS { int|linux_sys||shmctl(int shmid, int cmd, \
392 struct linux_shmid_ds *buf); } 392 struct linux_shmid_ds *buf); }
393211 NOARGS { int|sys||shmdt(const void *shmaddr); } 393211 NOARGS { int|sys||shmdt(const void *shmaddr); }
394212 NOARGS { int|linux_sys||shmget(key_t key, size_t size, int shmflg); } 394212 NOARGS { int|linux_sys||shmget(key_t key, size_t size, int shmflg); }
395#else 395#else
396209 UNIMPL shmat 396209 UNIMPL shmat
397210 UNIMPL shmctl 397210 UNIMPL shmctl
398211 UNIMPL shmdt 398211 UNIMPL shmdt
399212 UNIMPL shmget 399212 UNIMPL shmget
400#endif 400#endif
401213 UNIMPL 401213 UNIMPL
402214 UNIMPL 402214 UNIMPL
403215 UNIMPL 403215 UNIMPL
404216 UNIMPL 404216 UNIMPL
405217 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } 405217 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); }
406218 UNIMPL 406218 UNIMPL
407219 UNIMPL 407219 UNIMPL
408220 UNIMPL 408220 UNIMPL
409221 UNIMPL 409221 UNIMPL
410222 UNIMPL 410222 UNIMPL
411223 UNIMPL 411223 UNIMPL
412224 UNIMPL 412224 UNIMPL
413225 UNIMPL 413225 UNIMPL
414226 UNIMPL 414226 UNIMPL
415227 UNIMPL 415227 UNIMPL
416228 UNIMPL 416228 UNIMPL
417229 UNIMPL 417229 UNIMPL
418230 UNIMPL 418230 UNIMPL
419231 UNIMPL 419231 UNIMPL
420232 UNIMPL 420232 UNIMPL
421233 NOARGS { pid_t|sys||getpgid(pid_t pid); } 421233 NOARGS { pid_t|sys||getpgid(pid_t pid); }
422234 NOARGS { pid_t|sys||getsid(pid_t pid); } 422234 NOARGS { pid_t|sys||getsid(pid_t pid); }
423235 UNIMPL sigaltstack 423235 UNIMPL sigaltstack
424236 UNIMPL 424236 UNIMPL
425237 UNIMPL 425237 UNIMPL
426238 UNIMPL 426238 UNIMPL
427239 UNIMPL 427239 UNIMPL
428240 UNIMPL 428240 UNIMPL
429241 STD { int|linux_sys||osf1_sysinfo(int cmd, char *buf, long len); } 429241 STD { int|linux_sys||osf1_sysinfo(int cmd, char *buf, long len); }
430242 UNIMPL 430242 UNIMPL
431243 UNIMPL 431243 UNIMPL
432244 UNIMPL osf1_sys_proplist_syscall 432244 UNIMPL osf1_sys_proplist_syscall
433245 UNIMPL 433245 UNIMPL
434246 UNIMPL 434246 UNIMPL
435247 UNIMPL 435247 UNIMPL
436248 UNIMPL 436248 UNIMPL
437249 UNIMPL 437249 UNIMPL
438250 UNIMPL 438250 UNIMPL
439251 STD { int|linux_sys||osf1_usleep_thread( \ 439251 STD { int|linux_sys||osf1_usleep_thread( \
440 struct osf1_timeval *sleep, \ 440 struct osf1_timeval *sleep, \
441 struct osf1_timeval *slept); } 441 struct osf1_timeval *slept); }
442252 UNIMPL 442252 UNIMPL
443253 UNIMPL 443253 UNIMPL
444254 UNIMPL 444254 UNIMPL
445255 UNIMPL sysfs 445255 UNIMPL sysfs
446256 STD { int|linux_sys||osf1_getsysinfo(u_long op, void *buffer, \ 446256 STD { int|linux_sys||osf1_getsysinfo(u_long op, void *buffer, \
447 u_long nbytes, void *arg, u_long flag); } 447 u_long nbytes, void *arg, u_long flag); }
448257 STD { int|linux_sys||osf1_setsysinfo(u_long op, void *buffer, \ 448257 STD { int|linux_sys||osf1_setsysinfo(u_long op, void *buffer, \
449 u_long nbytes, void *arg, u_long flag); } 449 u_long nbytes, void *arg, u_long flag); }
450258 UNIMPL 450258 UNIMPL
451259 UNIMPL 451259 UNIMPL
452260 UNIMPL 452260 UNIMPL
453; This entry doesn't exist in the Alpha linux syscall table but the function is 453; This entry doesn't exist in the Alpha linux syscall table but the function is
454; implemented and used on other ports. 454; implemented and used on other ports.
455261 STD { int|linux_sys||fdatasync(int fd); } 455261 STD { int|linux_sys||fdatasync(int fd); }
456262 UNIMPL 456262 UNIMPL
457263 UNIMPL 457263 UNIMPL
458264 UNIMPL 458264 UNIMPL
459265 UNIMPL 459265 UNIMPL
460266 UNIMPL 460266 UNIMPL
461267 UNIMPL 461267 UNIMPL
462268 UNIMPL 462268 UNIMPL
463269 UNIMPL 463269 UNIMPL
464270 UNIMPL 464270 UNIMPL
465271 UNIMPL 465271 UNIMPL
466272 UNIMPL 466272 UNIMPL
467273 UNIMPL 467273 UNIMPL
468274 UNIMPL 468274 UNIMPL
469275 UNIMPL 469275 UNIMPL
470276 UNIMPL 470276 UNIMPL
471277 UNIMPL 471277 UNIMPL
472278 UNIMPL 472278 UNIMPL
473279 UNIMPL 473279 UNIMPL
474280 UNIMPL 474280 UNIMPL
475281 UNIMPL 475281 UNIMPL
476282 UNIMPL 476282 UNIMPL
477283 UNIMPL 477283 UNIMPL
478284 UNIMPL 478284 UNIMPL
479285 UNIMPL 479285 UNIMPL
480286 UNIMPL 480286 UNIMPL
481287 UNIMPL 481287 UNIMPL
482288 UNIMPL 482288 UNIMPL
483289 UNIMPL 483289 UNIMPL
484290 UNIMPL 484290 UNIMPL
485291 UNIMPL 485291 UNIMPL
486292 UNIMPL 486292 UNIMPL
487293 UNIMPL 487293 UNIMPL
488294 UNIMPL 488294 UNIMPL
489295 UNIMPL 489295 UNIMPL
490296 UNIMPL 490296 UNIMPL
491297 UNIMPL 491297 UNIMPL
492298 UNIMPL 492298 UNIMPL
493299 UNIMPL 493299 UNIMPL
494300 UNIMPL bdflush 494300 UNIMPL bdflush
495301 UNIMPL sethae 495301 UNIMPL sethae
496302 UNIMPL mount 496302 UNIMPL mount
497303 UNIMPL old_adjtimex 497303 UNIMPL old_adjtimex
498304 STD { int|linux_sys||swapoff(const char *path); } 498304 STD { int|linux_sys||swapoff(const char *path); }
499305 STD { int|linux_sys||getdents(int fd, \ 499305 STD { int|linux_sys||getdents(int fd, \
500 struct linux_dirent *dent, unsigned int count); } 500 struct linux_dirent *dent, unsigned int count); }
501306 UNIMPL alpha_create_module 501306 UNIMPL alpha_create_module
502307 UNIMPL init_module 502307 UNIMPL init_module
503308 UNIMPL delete_module 503308 UNIMPL delete_module
504309 UNIMPL get_kernel_syms 504309 UNIMPL get_kernel_syms
505310 UNIMPL syslog 505310 UNIMPL syslog
506311 STD { int|linux_sys||reboot(int magic1, int magic2, \ 506311 STD { int|linux_sys||reboot(int magic1, int magic2, \
507 int cmd, void *arg); } 507 int cmd, void *arg); }
508312 STD { int|linux_sys||clone(int flags, void *stack, \ 508312 STD { int|linux_sys||clone(int flags, void *stack, \
509 void *parent_tidptr, void *child_tidptr, void *tls); } 509 void *parent_tidptr, void *child_tidptr, void *tls); }
510#ifdef EXEC_AOUT 510#ifdef EXEC_AOUT
511313 STD { int|linux_sys||uselib(const char *path); } 511313 STD { int|linux_sys||uselib(const char *path); }
512#else 512#else
513313 UNIMPL sys_uselib 513313 UNIMPL sys_uselib
514#endif 514#endif
515314 NOARGS { int|sys||mlock(const void *addr, size_t len); } 515314 NOARGS { int|sys||mlock(const void *addr, size_t len); }
516315 NOARGS { int|sys||munlock(const void *addr, size_t len); } 516315 NOARGS { int|sys||munlock(const void *addr, size_t len); }
517316 NOARGS { int|sys||mlockall(int flags); } 517316 NOARGS { int|sys||mlockall(int flags); }
518317 NOARGS { int|sys||munlockall(void); } 518317 NOARGS { int|sys||munlockall(void); }
519318 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); } 519318 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); }
520319 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); } 520319 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); }
521320 UNIMPL idle 521320 UNIMPL idle
522321 UNIMPL oldumount 522321 UNIMPL oldumount
523322 STD { int|linux_sys||swapon(const char *name); } 523322 STD { int|linux_sys||swapon(const char *name); }
524323 STD { int|linux_sys||times(struct times *tms); } 524323 STD { int|linux_sys||times(struct times *tms); }
525324 STD { int|linux_sys||personality(unsigned long per); } 525324 STD { int|linux_sys||personality(unsigned long per); }
526325 STD { int|linux_sys||setfsuid(uid_t uid); } 526325 STD { int|linux_sys||setfsuid(uid_t uid); }
527326 STD { int|linux_sys||setfsgid(gid_t gid); } 527326 STD { int|linux_sys||setfsgid(gid_t gid); }
528327 UNIMPL ustat 528327 UNIMPL ustat
529328 STD { int|linux_sys||statfs(const char *path, \ 529328 STD { int|linux_sys||statfs(const char *path, \
530 struct linux_statfs *sp); } 530 struct linux_statfs *sp); }
531329 STD { int|linux_sys||fstatfs(int fd, \ 531329 STD { int|linux_sys||fstatfs(int fd, \
532 struct linux_statfs *sp); } 532 struct linux_statfs *sp); }
533330 STD { int|linux_sys||sched_setparam(pid_t pid, \ 533330 STD { int|linux_sys||sched_setparam(pid_t pid, \
534 const struct linux_sched_param *sp); } 534 const struct linux_sched_param *sp); }
535331 STD { int|linux_sys||sched_getparam(pid_t pid, \ 535331 STD { int|linux_sys||sched_getparam(pid_t pid, \
536 struct linux_sched_param *sp); } 536 struct linux_sched_param *sp); }
537332 STD { int|linux_sys||sched_setscheduler(pid_t pid, \ 537332 STD { int|linux_sys||sched_setscheduler(pid_t pid, \
538 int policy, const struct linux_sched_param *sp); } 538 int policy, const struct linux_sched_param *sp); }
539333 STD { int|linux_sys||sched_getscheduler(pid_t pid); } 539333 STD { int|linux_sys||sched_getscheduler(pid_t pid); }
540334 STD { int|linux_sys||sched_yield(void); } 540334 STD { int|linux_sys||sched_yield(void); }
541335 STD { int|linux_sys||sched_get_priority_max(int policy); } 541335 STD { int|linux_sys||sched_get_priority_max(int policy); }
542336 STD { int|linux_sys||sched_get_priority_min(int policy); } 542336 STD { int|linux_sys||sched_get_priority_min(int policy); }
543337 UNIMPL sched_rr_get_interval 543337 UNIMPL sched_rr_get_interval
544338 UNIMPL afs_syscall 544338 UNIMPL afs_syscall
545339 STD { int|linux_sys||uname(struct linux_utsname *up); } 545339 STD { int|linux_sys||uname(struct linux_utsname *up); }
546340 STD { int|linux_sys||nanosleep( \ 546340 STD { int|linux_sys||nanosleep( \
547 const struct linux_timespec *rqtp, \ 547 const struct linux_timespec *rqtp, \
548 struct linux_timespec *rmtp); } 548 struct linux_timespec *rmtp); }
549341 STD { void *|linux_sys||mremap(void *old_address, \ 549341 STD { void *|linux_sys||mremap(void *old_address, \
550 size_t old_size, size_t new_size, u_long flags); } 550 size_t old_size, size_t new_size, u_long flags); }
551342 UNIMPL nfsservctl 551342 UNIMPL nfsservctl
552343 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \ 552343 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \
553 uid_t suid); } 553 uid_t suid); }
554344 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \ 554344 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \
555 uid_t *suid); } 555 uid_t *suid); }
556345 UNIMPL pciconfig_read 556345 UNIMPL pciconfig_read
557346 UNIMPL pciconfig_write 557346 UNIMPL pciconfig_write
558347 UNIMPL query_module 558347 UNIMPL query_module
559348 UNIMPL prctl 559348 UNIMPL prctl
560349 STD { int|linux_sys||pread(int fd, char *buf, \ 560349 STD { int|linux_sys||pread(int fd, char *buf, \
561 size_t nbyte, off_t offset); } 561 size_t nbyte, off_t offset); }
562350 STD { int|linux_sys||pwrite(int fd, char *buf, \ 562350 STD { int|linux_sys||pwrite(int fd, char *buf, \
563 size_t nbyte, off_t offset); } 563 size_t nbyte, off_t offset); }
564351 STD { int|linux_sys||rt_sigreturn( \ 564351 STD { int|linux_sys||rt_sigreturn( \
565 struct linux_rt_sigframe *sfp); } 565 struct linux_rt_sigframe *sfp); }
566352 STD { int|linux_sys||rt_sigaction(int signum, \ 566352 STD { int|linux_sys||rt_sigaction(int signum, \
567 const struct linux_sigaction *nsa, \ 567 const struct linux_sigaction *nsa, \
568 struct linux_sigaction *osa, \ 568 struct linux_sigaction *osa, \
569 size_t sigsetsize); } 569 size_t sigsetsize); }
570353 STD { int|linux_sys||rt_sigprocmask(int how, \ 570353 STD { int|linux_sys||rt_sigprocmask(int how, \
571 const linux_sigset_t *set, \ 571 const linux_sigset_t *set, \
572 linux_sigset_t *oset, \ 572 linux_sigset_t *oset, \
573 size_t sigsetsize); } 573 size_t sigsetsize); }
574354 STD { int|linux_sys||rt_sigpending( \ 574354 STD { int|linux_sys||rt_sigpending( \
575 linux_sigset_t *set, \ 575 linux_sigset_t *set, \
576 size_t sigsetsize); } 576 size_t sigsetsize); }
577355 STD { int|linux_sys||rt_sigtimedwait( \ 577355 STD { int|linux_sys||rt_sigtimedwait( \
578 const linux_sigset_t *set, \ 578 const linux_sigset_t *set, \
579 linux_siginfo_t *info, \ 579 linux_siginfo_t *info, \
580 const struct linux_timespec *timeout); } 580 const struct linux_timespec *timeout); }
581356 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \ 581356 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \
582 linux_siginfo_t *uinfo); } 582 linux_siginfo_t *uinfo); }
583357 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \ 583357 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \
584 size_t sigsetsize); } 584 size_t sigsetsize); }
585358 STD { int|linux_sys||select(int nfds, fd_set *readfds, \ 585358 STD { int|linux_sys||select(int nfds, fd_set *readfds, \
586 fd_set *writefds, fd_set *exceptfds, \ 586 fd_set *writefds, fd_set *exceptfds, \
587 struct timeval50 *timeout); } 587 struct timeval50 *timeout); }
588359 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \ 588359 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \
589 struct timezone *tzp); } 589 struct timezone *tzp); }
590360 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \ 590360 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \
591 struct timezone *tzp); } 591 struct timezone *tzp); }
592361 NOARGS { int|compat_50_sys||getitimer(int which, \ 592361 NOARGS { int|compat_50_sys||getitimer(int which, \
593 struct itimerval50 *itv); } 593 struct itimerval50 *itv); }
594362 NOARGS { int|compat_50_sys||setitimer(int which, \ 594362 NOARGS { int|compat_50_sys||setitimer(int which, \
595 const struct itimerval50 *itv, \ 595 const struct itimerval50 *itv, \
596 struct itimerval50 *oitv); } 596 struct itimerval50 *oitv); }
597363 NOARGS { int|compat_50_sys||utimes(const char *path, \ 597363 NOARGS { int|compat_50_sys||utimes(const char *path, \
598 const struct timeval50 *tptr); } 598 const struct timeval50 *tptr); }
599364 NOARGS { int|compat_50_sys||getrusage(int who, \ 599364 NOARGS { int|compat_50_sys||getrusage(int who, \
600 struct rusage50 *rusage); } 600 struct rusage50 *rusage); }
601365 STD { int|linux_sys||wait4(int pid, int *status, \ 601365 STD { int|linux_sys||wait4(int pid, int *status, \
602 int options, struct rusage50 *rusage); } 602 int options, struct rusage50 *rusage); }
603366 UNIMPL adjtimex 603366 UNIMPL adjtimex
604367 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } 604367 NOARGS { int|sys||__getcwd(char *bufp, size_t length); }
605368 UNIMPL capget 605368 UNIMPL capget
606369 UNIMPL capset 606369 UNIMPL capset
607370 UNIMPL sendfile 607370 UNIMPL sendfile
608371 UNIMPL setresgid 608371 UNIMPL setresgid
609372 UNIMPL getresgid 609372 UNIMPL getresgid
610373 UNIMPL sys_dipc 610373 UNIMPL sys_dipc
611374 UNIMPL pivot_root 611374 UNIMPL pivot_root
612375 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } 612375 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); }
613376 UNIMPL pciconfig_iobase 613376 UNIMPL pciconfig_iobase
614377 STD { int|linux_sys||getdents64(int fd, \ 614377 STD { int|linux_sys||getdents64(int fd, \
615 struct linux_dirent64 *dent, unsigned int count); } 615 struct linux_dirent64 *dent, unsigned int count); }
616378 NOARGS { pid_t|linux_sys||gettid(void); } 616378 NOARGS { pid_t|linux_sys||gettid(void); }
617379 UNIMPL readahead 617379 UNIMPL readahead
618380 UNIMPL /* unused */ 618380 UNIMPL /* unused */
619381 STD { int|linux_sys||tkill(int tid, int sig); } 619381 STD { int|linux_sys||tkill(int tid, int sig); }
620382 STD { int|linux_sys||setxattr(char *path, char *name, \ 620382 STD { int|linux_sys||setxattr(char *path, char *name, \
621 void *value, size_t size, int flags); } 621 void *value, size_t size, int flags); }
622383 STD { int|linux_sys||lsetxattr(char *path, char *name, \ 622383 STD { int|linux_sys||lsetxattr(char *path, char *name, \
623 void *value, size_t size, int flags); } 623 void *value, size_t size, int flags); }
624384 STD { int|linux_sys||fsetxattr(int fd, char *name, \ 624384 STD { int|linux_sys||fsetxattr(int fd, char *name, \
625 void *value, size_t size, int flags); } 625 void *value, size_t size, int flags); }
626385 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \ 626385 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \
627 void *value, size_t size); } 627 void *value, size_t size); }
628386 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \ 628386 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \
629 void *value, size_t size); } 629 void *value, size_t size); }
630387 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \ 630387 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \
631 void *value, size_t size); } 631 void *value, size_t size); }
632388 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \ 632388 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \
633 size_t size); } 633 size_t size); }
634389 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \ 634389 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \
635 size_t size); } 635 size_t size); }
636390 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \ 636390 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \
637 size_t size); } 637 size_t size); }
638391 STD { int|linux_sys||removexattr(char *path, char *name); } 638391 STD { int|linux_sys||removexattr(char *path, char *name); }
639392 STD { int|linux_sys||lremovexattr(char *path, char *name); } 639392 STD { int|linux_sys||lremovexattr(char *path, char *name); }
640393 STD { int|linux_sys||fremovexattr(int fd, char *name); } 640393 STD { int|linux_sys||fremovexattr(int fd, char *name); }
641394 STD { int|linux_sys||futex(int *uaddr, int op, int val, \ 641394 STD { int|linux_sys||futex(int *uaddr, int op, int val, \
642 const struct linux_timespec *timeout, int *uaddr2, \ 642 const struct linux_timespec *timeout, int *uaddr2, \
643 int val3); } 643 int val3); }
644395 STD { int|linux_sys||sched_setaffinity(pid_t pid, \ 644395 STD { int|linux_sys||sched_setaffinity(pid_t pid, \
645 unsigned int len, unsigned long *mask); } 645 unsigned int len, unsigned long *mask); }
646396 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ 646396 STD { int|linux_sys||sched_getaffinity(pid_t pid, \
647 unsigned int len, unsigned long *mask); } 647 unsigned int len, unsigned long *mask); }
648397 UNIMPL tuxcall 648397 UNIMPL tuxcall
649398 UNIMPL io_setup 649398 UNIMPL io_setup
650399 UNIMPL io_destroy 650399 UNIMPL io_destroy
651400 UNIMPL io_getevents 651400 UNIMPL io_getevents
652401 UNIMPL io_submit 652401 UNIMPL io_submit
653402 UNIMPL io_cancel 653402 UNIMPL io_cancel
654403 UNIMPL /* unused */ 654403 UNIMPL /* unused */
655404 UNIMPL /* unused */ 655404 UNIMPL /* unused */
656405 STD { int|linux_sys||exit_group(int error_code); } 656405 STD { int|linux_sys||exit_group(int error_code); }
657406 UNIMPL lookup_dcookie 657406 UNIMPL lookup_dcookie
658407 UNIMPL sys_epoll_create 658407 STD { int|linux_sys||epoll_create(int size); }
659408 UNIMPL sys_epoll_ctl 659408 STD { int|linux_sys||epoll_ctl(int epfd, int op, int fd, \
660409 UNIMPL sys_epoll_wait 660 struct linux_epoll_event *event); }
 661409 STD { int|linux_sys||epoll_wait(int epfd, \
 662 struct linux_epoll_event *events, int maxevents, \
 663 int timeout); }
661410 UNIMPL remap_file_pages 664410 UNIMPL remap_file_pages
662411 STD { int|linux_sys||set_tid_address(int *tid); } 665411 STD { int|linux_sys||set_tid_address(int *tid); }
663412 UNIMPL restart_syscall 666412 UNIMPL restart_syscall
664413 STD { int|linux_sys||fadvise64(int fd, off_t offset, \ 667413 STD { int|linux_sys||fadvise64(int fd, off_t offset, \
665 size_t len, int advice); } 668 size_t len, int advice); }
666414 STD { int|linux_sys||timer_create(clockid_t clockid, \ 669414 STD { int|linux_sys||timer_create(clockid_t clockid, \
667 struct linux_sigevent *evp, timer_t *timerid); } 670 struct linux_sigevent *evp, timer_t *timerid); }
668415 STD { int|linux_sys||timer_settime(timer_t timerid, \ 671415 STD { int|linux_sys||timer_settime(timer_t timerid, \
669 int flags, const struct linux_itimerspec *tim, \ 672 int flags, const struct linux_itimerspec *tim, \
670 struct linux_itimerspec *otim); } 673 struct linux_itimerspec *otim); }
671416 STD { int|linux_sys||timer_gettime(timer_t timerid, \ 674416 STD { int|linux_sys||timer_gettime(timer_t timerid, \
672 struct linux_itimerspec *tim); } 675 struct linux_itimerspec *tim); }
673417 NOARGS { int|sys||timer_getoverrun(timer_t timerid); } 676417 NOARGS { int|sys||timer_getoverrun(timer_t timerid); }
674418 NOARGS { int|sys||timer_delete(timer_t timerid); } 677418 NOARGS { int|sys||timer_delete(timer_t timerid); }
675419 STD { int|linux_sys||clock_settime(clockid_t which, \ 678419 STD { int|linux_sys||clock_settime(clockid_t which, \
676 struct linux_timespec *tp); } 679 struct linux_timespec *tp); }
677420 STD { int|linux_sys||clock_gettime(clockid_t which, \ 680420 STD { int|linux_sys||clock_gettime(clockid_t which, \
678 struct linux_timespec *tp); } 681 struct linux_timespec *tp); }
679421 STD { int|linux_sys||clock_getres(clockid_t which, \ 682421 STD { int|linux_sys||clock_getres(clockid_t which, \
680 struct linux_timespec *tp); } 683 struct linux_timespec *tp); }
681422 STD { int|linux_sys||clock_nanosleep(clockid_t which, \ 684422 STD { int|linux_sys||clock_nanosleep(clockid_t which, \
682 int flags, struct linux_timespec *rqtp, \ 685 int flags, struct linux_timespec *rqtp, \
683 struct linux_timespec *rmtp); } 686 struct linux_timespec *rmtp); }
684423 UNIMPL semtimedop 687423 UNIMPL semtimedop
685424 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); } 688424 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); }
686425 STD { int|linux_sys||stat64(const char *path, \ 689425 STD { int|linux_sys||stat64(const char *path, \
687 struct linux_stat64 *sp); } 690 struct linux_stat64 *sp); }
688426 STD { int|linux_sys||lstat64(const char *path, \ 691426 STD { int|linux_sys||lstat64(const char *path, \
689 struct linux_stat64 *sp); } 692 struct linux_stat64 *sp); }
690427 STD { int|linux_sys||fstat64(int fd, \ 693427 STD { int|linux_sys||fstat64(int fd, \
691 struct linux_stat64 *sp); } 694 struct linux_stat64 *sp); }
692428 UNIMPL vserver 695428 UNIMPL vserver
693429 UNIMPL mbind 696429 UNIMPL mbind
694430 UNIMPL get_mempolicy 697430 UNIMPL get_mempolicy
695431 UNIMPL set_mempolicy 698431 UNIMPL set_mempolicy
696432 UNIMPL mq_open 699432 UNIMPL mq_open
697433 UNIMPL mq_unlink 700433 UNIMPL mq_unlink
698434 UNIMPL mq_timedsend 701434 UNIMPL mq_timedsend
699435 UNIMPL mq_timedreceive 702435 UNIMPL mq_timedreceive
700436 UNIMPL mq_notify 703436 UNIMPL mq_notify
701437 UNIMPL mq_getsetattr 704437 UNIMPL mq_getsetattr
702438 UNIMPL waitid 705438 UNIMPL waitid
703439 UNIMPL add_key 706439 UNIMPL add_key
704440 UNIMPL request_key 707440 UNIMPL request_key
705441 UNIMPL keyctl 708441 UNIMPL keyctl
706442 UNIMPL ioprio_set 709442 UNIMPL ioprio_set
707443 UNIMPL ioprio_get 710443 UNIMPL ioprio_get
708444 UNIMPL inotify_init 711444 UNIMPL inotify_init
709445 UNIMPL inotify_add_watch 712445 UNIMPL inotify_add_watch
710446 UNIMPL inotify_rm_watch 713446 UNIMPL inotify_rm_watch
711447 UNIMPL fdatasync 714447 UNIMPL fdatasync
712448 UNIMPL kexec_load 715448 UNIMPL kexec_load
713449 UNIMPL migrate_pages 716449 UNIMPL migrate_pages
714450 STD { int|linux_sys||openat(int fd, const char *path, \ 717450 STD { int|linux_sys||openat(int fd, const char *path, \
715 int flags, ... linux_umode_t mode); } 718 int flags, ... linux_umode_t mode); }
716451 NOARGS { int|sys||mkdirat(int fd, const char *path, \ 719451 NOARGS { int|sys||mkdirat(int fd, const char *path, \
717 linux_umode_t mode); } 720 linux_umode_t mode); }
718452 STD { int|linux_sys||mknodat(int fd, const char *path, \ 721452 STD { int|linux_sys||mknodat(int fd, const char *path, \
719 linux_umode_t mode, unsigned dev); } 722 linux_umode_t mode, unsigned dev); }
720453 STD { int|linux_sys||fchownat(int fd, const char *path, \ 723453 STD { int|linux_sys||fchownat(int fd, const char *path, \
721 uid_t owner, gid_t group, int flag); } 724 uid_t owner, gid_t group, int flag); }
722454 UNIMPL futimesat 725454 UNIMPL futimesat
723455 STD { int|linux_sys||fstatat64(int fd, const char *path, \ 726455 STD { int|linux_sys||fstatat64(int fd, const char *path, \
724 struct linux_stat64 *sp, int flag); } 727 struct linux_stat64 *sp, int flag); }
725456 STD { int|linux_sys||unlinkat(int fd, const char *path, \ 728456 STD { int|linux_sys||unlinkat(int fd, const char *path, \
726 int flag); } 729 int flag); }
727457 NOARGS { int|sys||renameat(int fromfd, const char *from, \ 730457 NOARGS { int|sys||renameat(int fromfd, const char *from, \
728 int tofd, const char *to); } 731 int tofd, const char *to); }
729458 STD { int|linux_sys||linkat(int fd1, const char *name1, \ 732458 STD { int|linux_sys||linkat(int fd1, const char *name1, \
730 int fd2, const char *name2, int flags); } 733 int fd2, const char *name2, int flags); }
731459 NOARGS { int|sys||symlinkat(const char *path1, int fd, \ 734459 NOARGS { int|sys||symlinkat(const char *path1, int fd, \
732 const char *path2); } 735 const char *path2); }
733460 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \ 736460 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \
734 char *buf, size_t bufsize); } 737 char *buf, size_t bufsize); }
735461 STD { int|linux_sys||fchmodat(int fd, const char *path, \ 738461 STD { int|linux_sys||fchmodat(int fd, const char *path, \
736 linux_umode_t mode); } 739 linux_umode_t mode); }
737462 STD { int|linux_sys||faccessat(int fd, const char *path, \ 740462 STD { int|linux_sys||faccessat(int fd, const char *path, \
738 int amode); } 741 int amode); }
739463 STD { int|linux_sys||pselect6(int nfds, fd_set *readfds, \ 742463 STD { int|linux_sys||pselect6(int nfds, fd_set *readfds, \
740 fd_set *writefds, fd_set *exceptfds, \ 743 fd_set *writefds, fd_set *exceptfds, \
741 struct linux_timespec *timeout, \ 744 struct linux_timespec *timeout, \
742 linux_sized_sigset_t *ss); } 745 linux_sized_sigset_t *ss); }
743464 STD { int|linux_sys||ppoll(struct pollfd *fds, u_int nfds, \ 746464 STD { int|linux_sys||ppoll(struct pollfd *fds, u_int nfds, \
744 struct linux_timespec *timeout, \ 747 struct linux_timespec *timeout, \
745 linux_sigset_t *sigset); } 748 linux_sigset_t *sigset); }
746465 UNIMPL unshare 749465 UNIMPL unshare
747 ; 750 ;
748 ; The NetBSD native robust list calls have different 751 ; The NetBSD native robust list calls have different
749 ; argument names / types, but they are ABI-compatible 752 ; argument names / types, but they are ABI-compatible
750 ; with Linux. 753 ; with Linux.
751 ; 754 ;
752466 NOARGS { int|sys||__futex_set_robust_list(void *head, \ 755466 NOARGS { int|sys||__futex_set_robust_list(void *head, \
753 size_t len); } 756 size_t len); }
754467 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ 757467 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \
755 void **headp, size_t *lenp); } 758 void **headp, size_t *lenp); }
756468 UNIMPL splice 759468 UNIMPL splice
757469 UNIMPL sync_file_range 760469 UNIMPL sync_file_range
758470 UNIMPL tee 761470 UNIMPL tee
759471 UNIMPL vmsplice 762471 UNIMPL vmsplice
760472 UNIMPL move_pages 763472 UNIMPL move_pages
761473 UNIMPL getcpu 764473 UNIMPL getcpu
762474 UNIMPL epoll_wait 765474 STD { int|linux_sys||epoll_pwait(int epfd, \
 766 struct linux_epoll_event *events, int maxevents, \
 767 int timeout, const linux_sigset_t *sigmask); }
763475 STD { int|linux_sys||utimensat(int fd, const char *path, \ 768475 STD { int|linux_sys||utimensat(int fd, const char *path, \
764 struct linux_timespec *times, int flag); } 769 struct linux_timespec *times, int flag); }
765476 UNIMPL signalfd 770476 UNIMPL signalfd
766477 UNIMPL timerfd 771477 UNIMPL timerfd
767478 STD { int|linux_sys||eventfd(unsigned int initval); } 772478 STD { int|linux_sys||eventfd(unsigned int initval); }
768479 STD { int|linux_sys||recvmmsg(int s, \ 773479 STD { int|linux_sys||recvmmsg(int s, \
769 struct linux_mmsghdr *msgvec, unsigned int vlen, \ 774 struct linux_mmsghdr *msgvec, unsigned int vlen, \
770 unsigned int flags, struct timespec *timeout); } 775 unsigned int flags, struct timespec *timeout); }
771480 STD { int|linux_sys||fallocate(int fd, int mode, \ 776480 STD { int|linux_sys||fallocate(int fd, int mode, \
772 off_t offset, off_t len); } 777 off_t offset, off_t len); }
773481 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ 778481 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \
774 int flags); } 779 int flags); }
775482 STD { int|linux_sys||timerfd_settime(int fd, int flags, \ 780482 STD { int|linux_sys||timerfd_settime(int fd, int flags, \
776 const struct linux_itimerspec *tim, \ 781 const struct linux_itimerspec *tim, \
777 struct linux_itimerspec *otim); } 782 struct linux_itimerspec *otim); }
778483 STD { int|linux_sys||timerfd_gettime(int fd, \ 783483 STD { int|linux_sys||timerfd_gettime(int fd, \
779 struct linux_itimerspec *tim); } 784 struct linux_itimerspec *tim); }
780484 UNIMPL signalfd4 785484 UNIMPL signalfd4
781485 STD { int|linux_sys||eventfd2(unsigned int initval, \ 786485 STD { int|linux_sys||eventfd2(unsigned int initval, \
782 int flags); } 787 int flags); }
783486 UNIMPL epoll_create1 788486 STD { int|linux_sys||epoll_create1(int flags); }
784487 STD { int|linux_sys||dup3(int from, int to, int flags); } 789487 STD { int|linux_sys||dup3(int from, int to, int flags); }
785488 STD { int|linux_sys||pipe2(int *pfds, int flags); } 790488 STD { int|linux_sys||pipe2(int *pfds, int flags); }
786489 UNIMPL inotify_init1 791489 UNIMPL inotify_init1
787490 STD { int|linux_sys||preadv(int fd, \ 792490 STD { int|linux_sys||preadv(int fd, \
788 const struct iovec *iovp, int iovcnt, \ 793 const struct iovec *iovp, int iovcnt, \
789 unsigned long off_lo, unsigned long off_hi); } 794 unsigned long off_lo, unsigned long off_hi); }
790491 STD { int|linux_sys||pwritev(int fd, \ 795491 STD { int|linux_sys||pwritev(int fd, \
791 const struct iovcnt *iovp, int iovcnt, \ 796 const struct iovcnt *iovp, int iovcnt, \
792 unsigned long off_lo, unsigned long off_hi); } 797 unsigned long off_lo, unsigned long off_hi); }
793492 UNIMPL rt_tgsigqueueinfo 798492 UNIMPL rt_tgsigqueueinfo
794493 UNIMPL perf_counter_open 799493 UNIMPL perf_counter_open
795494 UNIMPL fanotify_init 800494 UNIMPL fanotify_init
796495 UNIMPL fanotify_mark 801495 UNIMPL fanotify_mark
797496 STD { int|linux_sys||prlimit64(pid_t pid, int which, \ 802496 STD { int|linux_sys||prlimit64(pid_t pid, int which, \
798 struct rlimit *new_rlp, struct rlimit *old_rlp); } 803 struct rlimit *new_rlp, struct rlimit *old_rlp); }
799497 UNIMPL name_to_handle_at 804497 UNIMPL name_to_handle_at
800498 UNIMPL open_by_handle_at 805498 UNIMPL open_by_handle_at
801499 UNIMPL clock_adjtime 806499 UNIMPL clock_adjtime
802500 UNIMPL syncfs 807500 UNIMPL syncfs
803501 UNIMPL setns 808501 UNIMPL setns
804502 STD { int|linux_sys||accept4(int s, \ 809502 STD { int|linux_sys||accept4(int s, \
805 struct osockaddr *name, \ 810 struct osockaddr *name, \
806 int *anamelen, int flags); } 811 int *anamelen, int flags); }
807503 STD { int|linux_sys||sendmmsg(int s, \ 812503 STD { int|linux_sys||sendmmsg(int s, \
808 struct linux_mmsghdr *msgvec, unsigned int vlen, \ 813 struct linux_mmsghdr *msgvec, unsigned int vlen, \
809 unsigned int flags); } 814 unsigned int flags); }
810504 UNIMPL process_vm_readv 815504 UNIMPL process_vm_readv
811505 UNIMPL process_vm_writev 816505 UNIMPL process_vm_writev
812506 UNIMPL kcmp 817506 UNIMPL kcmp
813507 UNIMPL finit_module 818507 UNIMPL finit_module
814508 UNIMPL sched_setattr 819508 UNIMPL sched_setattr
815509 UNIMPL sched_getattr 820509 UNIMPL sched_getattr
816510 UNIMPL renameat2 821510 UNIMPL renameat2
 822511 UNIMPL
 823512 UNIMPL
 824513 UNIMPL
 825514 UNIMPL
 826515 UNIMPL
 827516 UNIMPL
 828517 UNIMPL
 829518 UNIMPL
 830519 UNIMPL
 831520 UNIMPL
 832521 UNIMPL
 833522 UNIMPL
 834523 UNIMPL
 835524 UNIMPL
 836525 UNIMPL
 837526 UNIMPL
 838527 UNIMPL
 839528 UNIMPL
 840529 UNIMPL
 841530 UNIMPL
 842531 UNIMPL
 843532 UNIMPL
 844533 UNIMPL
 845534 UNIMPL
 846535 UNIMPL
 847536 UNIMPL
 848537 UNIMPL
 849538 UNIMPL
 850539 UNIMPL
 851540 UNIMPL
 852541 UNIMPL
 853542 UNIMPL
 854543 UNIMPL
 855544 UNIMPL
 856545 UNIMPL
 857546 UNIMPL
 858547 UNIMPL
 859548 UNIMPL
 860549 UNIMPL
 861550 UNIMPL
 862551 STD { int|linux_sys||epoll_pwait2(int epfd, \
 863 struct linux_epoll_event *events, int maxevents, \
 864 const struct linux_timespec *timeout, \
 865 const linux_sigset_t *sigmask); }

cvs diff -r1.75 -r1.76 src/sys/compat/linux/arch/arm/syscalls.master (switch to unified diff)

--- src/sys/compat/linux/arch/arm/syscalls.master 2021/12/02 04:29:48 1.75
+++ src/sys/compat/linux/arch/arm/syscalls.master 2023/07/28 19:01:11 1.76
@@ -1,634 +1,694 @@ @@ -1,634 +1,694 @@
1 $NetBSD: syscalls.master,v 1.75 2021/12/02 04:29:48 ryo Exp $ 1 $NetBSD: syscalls.master,v 1.76 2023/07/28 19:01:11 christos Exp $
2 2
3; Derived from sys/compat/linux/arch/*/syscalls.master 3; Derived from sys/compat/linux/arch/*/syscalls.master
4; and from Linux 2.4.12 arch/arm/kernel/calls.S 4; and from Linux 2.4.12 arch/arm/kernel/calls.S
5 5
6; NetBSD/arm COMPAT_LINUX system call name/number "master" file. 6; NetBSD/arm COMPAT_LINUX system call name/number "master" file.
7; (See syscalls.conf to see what it is processed into.) 7; (See syscalls.conf to see what it is processed into.)
8; 8;
9; Fields: number type [type-dependent ...] 9; Fields: number type [type-dependent ...]
10; number system call number, must be in order 10; number system call number, must be in order
11; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of 11; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
12; the compatibility options defined in syscalls.conf. 12; the compatibility options defined in syscalls.conf.
13; 13;
14; types: 14; types:
15; STD always included 15; STD always included
16; OBSOL obsolete, not included in system 16; OBSOL obsolete, not included in system
17; UNIMPL unimplemented, not included in system 17; UNIMPL unimplemented, not included in system
18; NODEF included, but don't define the syscall number 18; NODEF included, but don't define the syscall number
19; NOARGS included, but don't define the syscall args structure 19; NOARGS included, but don't define the syscall args structure
20; INDIR included, but don't define the syscall args structure 20; INDIR included, but don't define the syscall args structure
21; and allow it to be "really" varargs. 21; and allow it to be "really" varargs.
22; 22;
23; The compat options are defined in the syscalls.conf file, and the 23; The compat options are defined in the syscalls.conf file, and the
24; compat option name is prefixed to the syscall name. Other than 24; compat option name is prefixed to the syscall name. Other than
25; that, they're like NODEF (for 'compat' options), or STD (for 25; that, they're like NODEF (for 'compat' options), or STD (for
26; 'libcompat' options). 26; 'libcompat' options).
27; 27;
28; The type-dependent arguments are as follows: 28; The type-dependent arguments are as follows:
29; For STD, NODEF, NOARGS, and compat syscalls: 29; For STD, NODEF, NOARGS, and compat syscalls:
30; { pseudo-proto } [alias] 30; { pseudo-proto } [alias]
31; For other syscalls: 31; For other syscalls:
32; [comment] 32; [comment]
33; 33;
34; #ifdef's, etc. may be included, and are copied to the output files. 34; #ifdef's, etc. may be included, and are copied to the output files.
35; #include's are copied to the syscall names and switch definition files only. 35; #include's are copied to the syscall names and switch definition files only.
36 36
37#include <sys/param.h> 37#include <sys/param.h>
38#include <sys/poll.h> 38#include <sys/poll.h>
39#include <sys/systm.h> 39#include <sys/systm.h>
40#include <sys/signal.h> 40#include <sys/signal.h>
41#include <sys/mount.h> 41#include <sys/mount.h>
42#include <sys/syscallargs.h> 42#include <sys/syscallargs.h>
43#include <sys/time.h> 43#include <sys/time.h>
44 44
45#include <compat/sys/time.h> 45#include <compat/sys/time.h>
46#include <compat/linux/common/linux_types.h> 46#include <compat/linux/common/linux_types.h>
47#include <compat/linux/common/linux_mmap.h> 47#include <compat/linux/common/linux_mmap.h>
48#include <compat/linux/common/linux_signal.h> 48#include <compat/linux/common/linux_signal.h>
49#include <compat/linux/common/linux_siginfo.h> 49#include <compat/linux/common/linux_siginfo.h>
50#include <compat/linux/common/linux_machdep.h> 50#include <compat/linux/common/linux_machdep.h>
51 51
52#include <compat/linux/linux_syscallargs.h> 52#include <compat/linux/linux_syscallargs.h>
53 53
54%% 54%%
55; XXX We have to explicitly declare linux_sys_nosys. 55; XXX We have to explicitly declare linux_sys_nosys.
560 NOARGS { int|linux_sys||nosys(void); } 560 NOARGS { int|linux_sys||nosys(void); }
571 STD { int|linux_sys||exit(int rval); } 571 STD { int|linux_sys||exit(int rval); }
582 NOARGS { int|sys||fork(void); } 582 NOARGS { int|sys||fork(void); }
593 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } 593 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
604 NOARGS { ssize_t|sys||write(int fd, const void *buf, \ 604 NOARGS { ssize_t|sys||write(int fd, const void *buf, \
61 size_t nbyte); } 61 size_t nbyte); }
625 STD { int|linux_sys||open(const char *path, int flags, \ 625 STD { int|linux_sys||open(const char *path, int flags, \
63 linux_umode_t mode); } 63 linux_umode_t mode); }
646 NOARGS { int|sys||close(int fd); } 646 NOARGS { int|sys||close(int fd); }
657 STD { int|linux_sys||waitpid(int pid, int *status, \ 657 STD { int|linux_sys||waitpid(int pid, int *status, \
66 int options);} 66 int options);}
678 STD { int|linux_sys||creat(const char *path, linux_umode_t mode); } 678 STD { int|linux_sys||creat(const char *path, linux_umode_t mode); }
689 NOARGS { int|sys||link(const char *path, const char *link); } 689 NOARGS { int|sys||link(const char *path, const char *link); }
6910 STD { int|linux_sys||unlink(const char *path); } 6910 STD { int|linux_sys||unlink(const char *path); }
7011 NOARGS { int|sys||execve(const char *path, char **argp, \ 7011 NOARGS { int|sys||execve(const char *path, char **argp, \
71 char **envp); } 71 char **envp); }
7212 NOARGS { int|sys||chdir(const char *path); } 7212 NOARGS { int|sys||chdir(const char *path); }
7313 STD { int|linux_sys||time(linux_time_t *t); } 7313 STD { int|linux_sys||time(linux_time_t *t); }
7414 STD { int|linux_sys||mknod(const char *path, linux_umode_t mode, \ 7414 STD { int|linux_sys||mknod(const char *path, linux_umode_t mode, \
75 unsigned dev); } 75 unsigned dev); }
7615 NOARGS { int|sys||chmod(const char *path, int mode); } 7615 NOARGS { int|sys||chmod(const char *path, int mode); }
7716 STD { int|linux_sys||lchown16(const char *path, \ 7716 STD { int|linux_sys||lchown16(const char *path, \
78 linux_uid16_t uid, linux_gid16_t gid); } 78 linux_uid16_t uid, linux_gid16_t gid); }
7917 OBSOL break 7917 OBSOL break
8018 OBSOL ostat 8018 OBSOL ostat
8119 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ 8119 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \
82 int whence); } 82 int whence); }
8320 NOARGS { pid_t|sys||getpid(void); } 8320 NOARGS { pid_t|sys||getpid(void); }
8421 UNIMPL mount 8421 UNIMPL mount
8522 OBSOL umount 8522 OBSOL umount
8623 NOARGS { int|sys||setuid(uid_t uid); } 8623 NOARGS { int|sys||setuid(uid_t uid); }
8724 NOARGS { uid_t|sys||getuid(void); } 8724 NOARGS { uid_t|sys||getuid(void); }
8825 STD { int|linux_sys||stime(linux_time_t *t); } 8825 STD { int|linux_sys||stime(linux_time_t *t); }
8926 STD { int|linux_sys||ptrace(int request, int pid, \ 8926 STD { int|linux_sys||ptrace(int request, int pid, \
90 int addr, int data); } 90 int addr, int data); }
9127 STD { int|linux_sys||alarm(unsigned int secs); } 9127 STD { int|linux_sys||alarm(unsigned int secs); }
9228 OBSOL ofstat 9228 OBSOL ofstat
9329 STD { int|linux_sys||pause(void); } 9329 STD { int|linux_sys||pause(void); }
9430 STD { int|linux_sys||utime(const char *path, \ 9430 STD { int|linux_sys||utime(const char *path, \
95 struct linux_utimbuf *times); } 95 struct linux_utimbuf *times); }
9631 OBSOL stty 9631 OBSOL stty
9732 OBSOL gtty 9732 OBSOL gtty
9833 NOARGS { int|sys||access(const char *path, int flags); } 9833 NOARGS { int|sys||access(const char *path, int flags); }
9934 STD { int|linux_sys||nice(int incr); } 9934 STD { int|linux_sys||nice(int incr); }
10035 OBSOL ftime 10035 OBSOL ftime
10136 NOARGS { int|sys||sync(void); } 10136 NOARGS { int|sys||sync(void); }
10237 STD { int|linux_sys||kill(int pid, int signum); } 10237 STD { int|linux_sys||kill(int pid, int signum); }
10338 NOARGS { int|sys||__posix_rename(const char *from, \ 10338 NOARGS { int|sys||__posix_rename(const char *from, \
104 const char *to); } 104 const char *to); }
10539 NOARGS { int|sys||mkdir(const char *path, linux_umode_t mode); } 10539 NOARGS { int|sys||mkdir(const char *path, linux_umode_t mode); }
10640 NOARGS { int|sys||rmdir(const char *path); } 10640 NOARGS { int|sys||rmdir(const char *path); }
10741 NOARGS { int|sys||dup(int fd); } 10741 NOARGS { int|sys||dup(int fd); }
10842 STD { int|linux_sys||pipe(int *pfds); } 10842 STD { int|linux_sys||pipe(int *pfds); }
10943 STD { int|linux_sys||times(struct times *tms); } 10943 STD { int|linux_sys||times(struct times *tms); }
11044 OBSOL prof 11044 OBSOL prof
11145 STD { int|linux_sys||brk(char *nsize); } 11145 STD { int|linux_sys||brk(char *nsize); }
11246 NOARGS { int|sys||setgid(gid_t gid); } 11246 NOARGS { int|sys||setgid(gid_t gid); }
11347 NOARGS { gid_t|sys||getgid(void); } 11347 NOARGS { gid_t|sys||getgid(void); }
11448 STD { int|linux_sys||signal(int signum, \ 11448 STD { int|linux_sys||signal(int signum, \
115 linux_handler_t handler); } 115 linux_handler_t handler); }
11649 NOARGS { uid_t|sys||geteuid(void); } 11649 NOARGS { uid_t|sys||geteuid(void); }
11750 NOARGS { gid_t|sys||getegid(void); } 11750 NOARGS { gid_t|sys||getegid(void); }
11851 NOARGS { int|sys||acct(char *path); } 11851 NOARGS { int|sys||acct(char *path); }
11952 UNIMPL umount 11952 UNIMPL umount
12053 OBSOL lock 12053 OBSOL lock
12154 STD { int|linux_sys||ioctl(int fd, u_long com, \ 12154 STD { int|linux_sys||ioctl(int fd, u_long com, \
122 void *data); } 122 void *data); }
12355 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); } 12355 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); }
12456 OBSOL mpx 12456 OBSOL mpx
12557 NOARGS { int|sys||setpgid(int pid, int pgid); } 12557 NOARGS { int|sys||setpgid(int pid, int pgid); }
12658 OBSOL ulimit 12658 OBSOL ulimit
12759 STD { int|linux_sys||oldolduname( \ 12759 STD { int|linux_sys||oldolduname( \
128 struct linux_oldold_utsname *up); } 128 struct linux_oldold_utsname *up); }
12960 NOARGS { int|sys||umask(int newmask); } 12960 NOARGS { int|sys||umask(int newmask); }
13061 NOARGS { int|sys||chroot(char *path); } 13061 NOARGS { int|sys||chroot(char *path); }
13162 UNIMPL ustat 13162 UNIMPL ustat
13263 NOARGS { int|sys||dup2(int from, int to); } 13263 NOARGS { int|sys||dup2(int from, int to); }
13364 NOARGS { pid_t|sys||getppid(void); } 13364 NOARGS { pid_t|sys||getppid(void); }
13465 NOARGS { int|sys||getpgrp(void); } 13465 NOARGS { int|sys||getpgrp(void); }
13566 NOARGS { int|sys||setsid(void); } 13566 NOARGS { int|sys||setsid(void); }
13667 STD { int|linux_sys||sigaction(int signum, \ 13667 STD { int|linux_sys||sigaction(int signum, \
137 const struct linux_old_sigaction *nsa, \ 137 const struct linux_old_sigaction *nsa, \
138 struct linux_old_sigaction *osa); } 138 struct linux_old_sigaction *osa); }
13968 STD { int|linux_sys||siggetmask(void); } 13968 STD { int|linux_sys||siggetmask(void); }
14069 STD { int|linux_sys||sigsetmask(linux_old_sigset_t mask); } 14069 STD { int|linux_sys||sigsetmask(linux_old_sigset_t mask); }
14170 STD { int|linux_sys||setreuid16(linux_uid16_t ruid, \ 14170 STD { int|linux_sys||setreuid16(linux_uid16_t ruid, \
142 linux_uid16_t euid); } 142 linux_uid16_t euid); }
14371 STD { int|linux_sys||setregid16(linux_gid16_t rgid, \ 14371 STD { int|linux_sys||setregid16(linux_gid16_t rgid, \
144 linux_gid16_t egid); } 144 linux_gid16_t egid); }
14572 STD { int|linux_sys||sigsuspend(void *restart, \ 14572 STD { int|linux_sys||sigsuspend(void *restart, \
146 int oldmask, int mask); } 146 int oldmask, int mask); }
14773 STD { int|linux_sys||sigpending(linux_old_sigset_t *set); } 14773 STD { int|linux_sys||sigpending(linux_old_sigset_t *set); }
14874 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ 14874 NOARGS { int|compat_43_sys||sethostname(char *hostname, \
149 u_int len);} 149 u_int len);}
15075 STD { int|linux_sys||setrlimit(u_int which, \ 15075 STD { int|linux_sys||setrlimit(u_int which, \
151 struct orlimit *rlp); } 151 struct orlimit *rlp); }
15276 STD { int|linux_sys||getrlimit(u_int which, \ 15276 STD { int|linux_sys||getrlimit(u_int which, \
153 struct orlimit *rlp); } 153 struct orlimit *rlp); }
15477 NOARGS { int|compat_50_sys||getrusage(int who, struct rusage50 *rusage); } 15477 NOARGS { int|compat_50_sys||getrusage(int who, struct rusage50 *rusage); }
15578 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \ 15578 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \
156 struct timezone *tzp); } 156 struct timezone *tzp); }
15779 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \ 15779 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \
158 struct timezone *tzp); } 158 struct timezone *tzp); }
15980 STD { int|linux_sys||getgroups16(int gidsetsize, \ 15980 STD { int|linux_sys||getgroups16(int gidsetsize, \
160 linux_gid16_t *gidset); } 160 linux_gid16_t *gidset); }
16181 STD { int|linux_sys||setgroups16(int gidsetsize, \ 16181 STD { int|linux_sys||setgroups16(int gidsetsize, \
162 linux_gid16_t *gidset); } 162 linux_gid16_t *gidset); }
16382 STD { int|linux_sys||oldselect(struct linux_oldselect *lsp); } 16382 STD { int|linux_sys||oldselect(struct linux_oldselect *lsp); }
16483 NOARGS { int|sys||symlink(const char *path, const char *link); } 16483 NOARGS { int|sys||symlink(const char *path, const char *link); }
16584 NOARGS { int|compat_43_sys||lstat(const char *path, \ 16584 NOARGS { int|compat_43_sys||lstat(const char *path, \
166 struct stat43 *ub); } oolstat 166 struct stat43 *ub); } oolstat
16785 NOARGS { ssize_t|sys||readlink(const char *path, char *buf, \ 16785 NOARGS { ssize_t|sys||readlink(const char *path, char *buf, \
168 int count); } 168 int count); }
169#ifdef EXEC_AOUT 169#ifdef EXEC_AOUT
17086 STD { int|linux_sys||uselib(const char *path); } 17086 STD { int|linux_sys||uselib(const char *path); }
171#else 171#else
17286 EXCL uselib 17286 EXCL uselib
173#endif 173#endif
17487 STD { int|linux_sys||swapon(char *name); } 17487 STD { int|linux_sys||swapon(char *name); }
17588 STD { int|linux_sys||reboot(int magic1, int magic2, \ 17588 STD { int|linux_sys||reboot(int magic1, int magic2, \
176 int cmd, void *arg); } 176 int cmd, void *arg); }
17789 STD { int|linux_sys||readdir(int fd, void *dent, \ 17789 STD { int|linux_sys||readdir(int fd, void *dent, \
178 unsigned int count); } 178 unsigned int count); }
17990 STD { int|linux_sys||old_mmap(struct linux_oldmmap *lmp); } 17990 STD { int|linux_sys||old_mmap(struct linux_oldmmap *lmp); }
18091 NOARGS { int|sys||munmap(void *addr, size_t len); } 18091 NOARGS { int|sys||munmap(void *addr, size_t len); }
18192 NOARGS { int|compat_43_sys||truncate(const char *path, \ 18192 NOARGS { int|compat_43_sys||truncate(const char *path, \
182 long length); } 182 long length); }
18393 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } 18393 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); }
18494 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); } 18494 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); }
18595 STD { int|linux_sys||fchown16(int fd, linux_uid16_t uid, \ 18595 STD { int|linux_sys||fchown16(int fd, linux_uid16_t uid, \
186 linux_gid16_t gid); } 186 linux_gid16_t gid); }
18796 STD { int|linux_sys||getpriority(int which, int who); } 18796 STD { int|linux_sys||getpriority(int which, int who); }
18897 NOARGS { int|sys||setpriority(int which, int who, int prio); } 18897 NOARGS { int|sys||setpriority(int which, int who, int prio); }
18998 NOARGS { int|sys||profil(void *samples, u_int size, \ 18998 NOARGS { int|sys||profil(void *samples, u_int size, \
190 u_int offset, u_int scale); } 190 u_int offset, u_int scale); }
19199 STD { int|linux_sys||statfs(const char *path, \ 19199 STD { int|linux_sys||statfs(const char *path, \
192 struct linux_statfs *sp); } 192 struct linux_statfs *sp); }
193100 STD { int|linux_sys||fstatfs(int fd, \ 193100 STD { int|linux_sys||fstatfs(int fd, \
194 struct linux_statfs *sp); } 194 struct linux_statfs *sp); }
195101 UNIMPL 195101 UNIMPL
196102 STD { int|linux_sys||socketcall(int what, void *args); } 196102 STD { int|linux_sys||socketcall(int what, void *args); }
197103 UNIMPL syslog 197103 UNIMPL syslog
198104 NOARGS { int|compat_50_sys||setitimer(int which, \ 198104 NOARGS { int|compat_50_sys||setitimer(int which, \
199 struct itimerval50 *itv, \ 199 struct itimerval50 *itv, \
200 struct itimerval50 *oitv); } 200 struct itimerval50 *oitv); }
201105 NOARGS { int|compat_50_sys||getitimer(int which, \ 201105 NOARGS { int|compat_50_sys||getitimer(int which, \
202 struct itimerval50 *itv); } 202 struct itimerval50 *itv); }
203106 STD { int|linux_sys||stat(const char *path, \ 203106 STD { int|linux_sys||stat(const char *path, \
204 struct linux_stat *sp); } 204 struct linux_stat *sp); }
205107 STD { int|linux_sys||lstat(const char *path, \ 205107 STD { int|linux_sys||lstat(const char *path, \
206 struct linux_stat *sp); } 206 struct linux_stat *sp); }
207108 STD { int|linux_sys||fstat(int fd, struct linux_stat *sp); } 207108 STD { int|linux_sys||fstat(int fd, struct linux_stat *sp); }
208109 STD { int|linux_sys||olduname(struct linux_oldutsname *up); } 208109 STD { int|linux_sys||olduname(struct linux_oldutsname *up); }
209110 UNIMPL 209110 UNIMPL
210111 UNIMPL vhangup 210111 UNIMPL vhangup
211112 UNIMPL idle 211112 UNIMPL idle
212113 UNIMPL syscall 212113 UNIMPL syscall
213114 STD { int|linux_sys||wait4(int pid, int *status, \ 213114 STD { int|linux_sys||wait4(int pid, int *status, \
214 int options, struct rusage50 *rusage); } 214 int options, struct rusage50 *rusage); }
215115 STD { int|linux_sys||swapoff(const char *path); } 215115 STD { int|linux_sys||swapoff(const char *path); }
216116 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); } 216116 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); }
217117 STD { int|linux_sys||ipc(int what, int a1, int a2, int a3, \ 217117 STD { int|linux_sys||ipc(int what, int a1, int a2, int a3, \
218 void *ptr); } 218 void *ptr); }
219118 NOARGS { int|sys||fsync(int fd); } 219118 NOARGS { int|sys||fsync(int fd); }
220119 STD { int|linux_sys||sigreturn(struct linux_sigcontext *scp); } 220119 STD { int|linux_sys||sigreturn(struct linux_sigcontext *scp); }
221120 STD { int|linux_sys||clone(int flags, void *stack, \ 221120 STD { int|linux_sys||clone(int flags, void *stack, \
222 void *parent_tidptr, void *tls, void *child_tidptr); } 222 void *parent_tidptr, void *tls, void *child_tidptr); }
223121 STD { int|linux_sys||setdomainname(char *domainname, \ 223121 STD { int|linux_sys||setdomainname(char *domainname, \
224 int len); } 224 int len); }
225122 STD { int|linux_sys||uname(struct linux_utsname *up); } 225122 STD { int|linux_sys||uname(struct linux_utsname *up); }
226123 UNIMPL modify_ldt 226123 UNIMPL modify_ldt
227124 UNIMPL adjtimex 227124 UNIMPL adjtimex
228125 STD { int|linux_sys||mprotect(const void *start, \ 228125 STD { int|linux_sys||mprotect(const void *start, \
229 unsigned long len, int prot); } 229 unsigned long len, int prot); }
230126 STD { int|linux_sys||sigprocmask(int how, \ 230126 STD { int|linux_sys||sigprocmask(int how, \
231 const linux_old_sigset_t *set, \ 231 const linux_old_sigset_t *set, \
232 linux_old_sigset_t *oset); } 232 linux_old_sigset_t *oset); }
233127 UNIMPL create_module 233127 UNIMPL create_module
234128 UNIMPL init_module 234128 UNIMPL init_module
235129 UNIMPL delete_module 235129 UNIMPL delete_module
236130 UNIMPL get_kernel_syms 236130 UNIMPL get_kernel_syms
237131 UNIMPL quotactl 237131 UNIMPL quotactl
238132 NOARGS { pid_t|sys||getpgid(pid_t pid); } 238132 NOARGS { pid_t|sys||getpgid(pid_t pid); }
239133 NOARGS { int|sys||fchdir(int fd); } 239133 NOARGS { int|sys||fchdir(int fd); }
240134 UNIMPL bdflush 240134 UNIMPL bdflush
241135 UNIMPL sysfs 241135 UNIMPL sysfs
242136 STD { int|linux_sys||personality(unsigned long per); } 242136 STD { int|linux_sys||personality(unsigned long per); }
243137 UNIMPL afs_syscall 243137 UNIMPL afs_syscall
244138 STD { int|linux_sys||setfsuid(uid_t uid); } 244138 STD { int|linux_sys||setfsuid(uid_t uid); }
245139 STD { int|linux_sys||setfsgid(gid_t gid); } 245139 STD { int|linux_sys||setfsgid(gid_t gid); }
246140 STD { int|linux_sys||llseek(int fd, u_int32_t ohigh, \ 246140 STD { int|linux_sys||llseek(int fd, u_int32_t ohigh, \
247 u_int32_t olow, void *res, int whence); } 247 u_int32_t olow, void *res, int whence); }
248141 STD { int|linux_sys||getdents(int fd, \ 248141 STD { int|linux_sys||getdents(int fd, \
249 struct linux_dirent *dent, unsigned int count); } 249 struct linux_dirent *dent, unsigned int count); }
250142 STD { int|linux_sys||select(int nfds, fd_set *readfds, \ 250142 STD { int|linux_sys||select(int nfds, fd_set *readfds, \
251 fd_set *writefds, fd_set *exceptfds, \ 251 fd_set *writefds, fd_set *exceptfds, \
252 struct timeval50 *timeout); } 252 struct timeval50 *timeout); }
253143 NOARGS { int|sys||flock(int fd, int how); } 253143 NOARGS { int|sys||flock(int fd, int how); }
254144 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } 254144 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); }
255145 NOARGS { ssize_t|sys||readv(int fd, \ 255145 NOARGS { ssize_t|sys||readv(int fd, \
256 const struct iovec *iovp, int iovcnt); } 256 const struct iovec *iovp, int iovcnt); }
257146 NOARGS { ssize_t|sys||writev(int fd, \ 257146 NOARGS { ssize_t|sys||writev(int fd, \
258 const struct iovec *iovp, int iovcnt); } 258 const struct iovec *iovp, int iovcnt); }
259147 NOARGS { pid_t|sys||getsid(pid_t pid); } 259147 NOARGS { pid_t|sys||getsid(pid_t pid); }
260148 STD { int|linux_sys||fdatasync(int fd); } 260148 STD { int|linux_sys||fdatasync(int fd); }
261149 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); } 261149 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); }
262150 NOARGS { int|sys||mlock(void *addr, size_t len); } 262150 NOARGS { int|sys||mlock(void *addr, size_t len); }
263151 NOARGS { int|sys||munlock(void *addr, size_t len); } 263151 NOARGS { int|sys||munlock(void *addr, size_t len); }
264152 NOARGS { int|sys||mlockall(int flags); } 264152 NOARGS { int|sys||mlockall(int flags); }
265153 NOARGS { int|sys||munlockall(void); } 265153 NOARGS { int|sys||munlockall(void); }
266154 STD { int|linux_sys||sched_setparam(pid_t pid, \ 266154 STD { int|linux_sys||sched_setparam(pid_t pid, \
267 const struct linux_sched_param *sp); } 267 const struct linux_sched_param *sp); }
268155 STD { int|linux_sys||sched_getparam(pid_t pid, \ 268155 STD { int|linux_sys||sched_getparam(pid_t pid, \
269 struct linux_sched_param *sp); } 269 struct linux_sched_param *sp); }
270156 STD { int|linux_sys||sched_setscheduler(pid_t pid, \ 270156 STD { int|linux_sys||sched_setscheduler(pid_t pid, \
271 int policy, const struct linux_sched_param *sp); } 271 int policy, const struct linux_sched_param *sp); }
272157 STD { int|linux_sys||sched_getscheduler(pid_t pid); } 272157 STD { int|linux_sys||sched_getscheduler(pid_t pid); }
273158 STD { int|linux_sys||sched_yield(void); } 273158 STD { int|linux_sys||sched_yield(void); }
274159 STD { int|linux_sys||sched_get_priority_max(int policy); } 274159 STD { int|linux_sys||sched_get_priority_max(int policy); }
275160 STD { int|linux_sys||sched_get_priority_min(int policy); } 275160 STD { int|linux_sys||sched_get_priority_min(int policy); }
276161 UNIMPL sched_rr_get_interval 276161 UNIMPL sched_rr_get_interval
277162 STD { int|linux_sys||nanosleep( \ 277162 STD { int|linux_sys||nanosleep( \
278 const struct linux_timespec *rqtp, \ 278 const struct linux_timespec *rqtp, \
279 struct linux_timespec *rmtp); } 279 struct linux_timespec *rmtp); }
280163 STD { void *|linux_sys||mremap(void *old_address, \ 280163 STD { void *|linux_sys||mremap(void *old_address, \
281 size_t old_size, size_t new_size, u_long flags); } 281 size_t old_size, size_t new_size, u_long flags); }
282164 STD { int|linux_sys||setresuid16(linux_uid16_t ruid, \ 282164 STD { int|linux_sys||setresuid16(linux_uid16_t ruid, \
283 linux_uid16_t euid, linux_uid16_t suid); } 283 linux_uid16_t euid, linux_uid16_t suid); }
284165 STD { int|linux_sys||getresuid16(linux_uid16_t *ruid, \ 284165 STD { int|linux_sys||getresuid16(linux_uid16_t *ruid, \
285 linux_uid16_t *euid, linux_uid16_t *suid); } 285 linux_uid16_t *euid, linux_uid16_t *suid); }
286166 UNIMPL 286166 UNIMPL
287167 UNIMPL query_module 287167 UNIMPL query_module
288168 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ 288168 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \
289 int timeout); } 289 int timeout); }
290169 UNIMPL nfsservctl 290169 UNIMPL nfsservctl
291170 STD { int|linux_sys||setresgid16(linux_gid16_t rgid, \ 291170 STD { int|linux_sys||setresgid16(linux_gid16_t rgid, \
292 linux_gid16_t egid, linux_gid16_t sgid); } 292 linux_gid16_t egid, linux_gid16_t sgid); }
293171 STD { int|linux_sys||getresgid16(linux_gid16_t *rgid, \ 293171 STD { int|linux_sys||getresgid16(linux_gid16_t *rgid, \
294 linux_gid16_t *egid, linux_gid16_t *sgid); } 294 linux_gid16_t *egid, linux_gid16_t *sgid); }
295172 UNIMPL prctl 295172 UNIMPL prctl
296173 UNIMPL rt_sigreturn 296173 UNIMPL rt_sigreturn
297;173 STD { int|linux_sys||rt_sigreturn( \ 297;173 STD { int|linux_sys||rt_sigreturn( \
298; struct linux_rt_sigframe *sfp); } 298; struct linux_rt_sigframe *sfp); }
299174 STD { int|linux_sys||rt_sigaction(int signum, \ 299174 STD { int|linux_sys||rt_sigaction(int signum, \
300 const struct linux_sigaction *nsa, \ 300 const struct linux_sigaction *nsa, \
301 struct linux_sigaction *osa, \ 301 struct linux_sigaction *osa, \
302 size_t sigsetsize); } 302 size_t sigsetsize); }
303175 STD { int|linux_sys||rt_sigprocmask(int how, \ 303175 STD { int|linux_sys||rt_sigprocmask(int how, \
304 const linux_sigset_t *set, \ 304 const linux_sigset_t *set, \
305 linux_sigset_t *oset, \ 305 linux_sigset_t *oset, \
306 size_t sigsetsize); } 306 size_t sigsetsize); }
307176 STD { int|linux_sys||rt_sigpending( \ 307176 STD { int|linux_sys||rt_sigpending( \
308 linux_sigset_t *set, \ 308 linux_sigset_t *set, \
309 size_t sigsetsize); } 309 size_t sigsetsize); }
310177 STD { int|linux_sys||rt_sigtimedwait( \ 310177 STD { int|linux_sys||rt_sigtimedwait( \
311 const linux_sigset_t *set, \ 311 const linux_sigset_t *set, \
312 linux_siginfo_t *info, \ 312 linux_siginfo_t *info, \
313 const struct linux_timespec *timeout); } 313 const struct linux_timespec *timeout); }
314178 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \ 314178 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \
315 linux_siginfo_t *uinfo); } 315 linux_siginfo_t *uinfo); }
316179 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \ 316179 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \
317 size_t sigsetsize); } 317 size_t sigsetsize); }
318180 STD { int|linux_sys||pread(int fd, char *buf, \ 318180 STD { int|linux_sys||pread(int fd, char *buf, \
319 size_t nbyte, off_t offset); } 319 size_t nbyte, off_t offset); }
320181 STD { int|linux_sys||pwrite(int fd, char *buf, \ 320181 STD { int|linux_sys||pwrite(int fd, char *buf, \
321 size_t nbyte, off_t offset); } 321 size_t nbyte, off_t offset); }
322182 STD { int|linux_sys||chown16(const char *path, \ 322182 STD { int|linux_sys||chown16(const char *path, \
323 linux_uid16_t uid, linux_gid16_t gid); } 323 linux_uid16_t uid, linux_gid16_t gid); }
324183 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } 324183 NOARGS { int|sys||__getcwd(char *bufp, size_t length); }
325184 UNIMPL capget 325184 UNIMPL capget
326185 UNIMPL capset 326185 UNIMPL capset
327186 STD { int|linux_sys||sigaltstack( \ 327186 STD { int|linux_sys||sigaltstack( \
328 const struct linux_sigaltstack *ss, \ 328 const struct linux_sigaltstack *ss, \
329 struct linux_sigaltstack *oss); } 329 struct linux_sigaltstack *oss); }
330187 UNIMPL sendfile 330187 UNIMPL sendfile
331188 UNIMPL getpmsg 331188 UNIMPL getpmsg
332189 UNIMPL putpmsg 332189 UNIMPL putpmsg
333190 NOARGS vfork { int|sys|14|vfork(void); } 333190 NOARGS vfork { int|sys|14|vfork(void); }
334191 STD { int|linux_sys||ugetrlimit(int which, \ 334191 STD { int|linux_sys||ugetrlimit(int which, \
335 struct rlimit *rlp); } 335 struct rlimit *rlp); }
336#define linux_sys_mmap2_args linux_sys_mmap_args 336#define linux_sys_mmap2_args linux_sys_mmap_args
337192 NOARGS { linux_off_t|linux_sys||mmap2(unsigned long addr, \ 337192 NOARGS { linux_off_t|linux_sys||mmap2(unsigned long addr, \
338 size_t len, int prot, int flags, int fd, \ 338 size_t len, int prot, int flags, int fd, \
339 linux_off_t offset); } 339 linux_off_t offset); }
340193 STD { int|linux_sys||truncate64(const char *path, \ 340193 STD { int|linux_sys||truncate64(const char *path, \
341 off_t length); } 341 off_t length); }
342194 STD { int|linux_sys||ftruncate64(unsigned int fd, \ 342194 STD { int|linux_sys||ftruncate64(unsigned int fd, \
343 off_t length); } 343 off_t length); }
344195 STD { int|linux_sys||stat64(const char *path, \ 344195 STD { int|linux_sys||stat64(const char *path, \
345 struct linux_stat64 *sp); } 345 struct linux_stat64 *sp); }
346196 STD { int|linux_sys||lstat64(const char *path, \ 346196 STD { int|linux_sys||lstat64(const char *path, \
347 struct linux_stat64 *sp); } 347 struct linux_stat64 *sp); }
348197 STD { int|linux_sys||fstat64(int fd, \ 348197 STD { int|linux_sys||fstat64(int fd, \
349 struct linux_stat64 *sp); } 349 struct linux_stat64 *sp); }
350198 NOARGS { int|sys||__posix_lchown(const char *path, uid_t uid, \ 350198 NOARGS { int|sys||__posix_lchown(const char *path, uid_t uid, \
351 gid_t gid); } 351 gid_t gid); }
352199 NOARGS getuid32 { uid_t|sys||getuid(void); } 352199 NOARGS getuid32 { uid_t|sys||getuid(void); }
353200 NOARGS getgid32 { gid_t|sys||getgid(void); } 353200 NOARGS getgid32 { gid_t|sys||getgid(void); }
354201 NOARGS geteuid32 { uid_t|sys||geteuid(void); } 354201 NOARGS geteuid32 { uid_t|sys||geteuid(void); }
355202 NOARGS getegid32 { gid_t|sys||getegid(void); } 355202 NOARGS getegid32 { gid_t|sys||getegid(void); }
356203 NOARGS setreuid32 { int|sys||setreuid(uid_t ruid, \ 356203 NOARGS setreuid32 { int|sys||setreuid(uid_t ruid, \
357 uid_t euid); } 357 uid_t euid); }
358204 NOARGS setregid32 { int|sys||setregid(gid_t rgid, \ 358204 NOARGS setregid32 { int|sys||setregid(gid_t rgid, \
359 gid_t egid); } 359 gid_t egid); }
360205 NOARGS getgroups32 { int|sys||getgroups(int gidsetsize, \ 360205 NOARGS getgroups32 { int|sys||getgroups(int gidsetsize, \
361 gid_t *gidset); } 361 gid_t *gidset); }
362206 NOARGS setgroups32 { int|sys||setgroups(int gidsetsize, \ 362206 NOARGS setgroups32 { int|sys||setgroups(int gidsetsize, \
363 gid_t *gidset); } 363 gid_t *gidset); }
364207 NOARGS fchown32 { int|sys||__posix_fchown(int fd, uid_t uid, \ 364207 NOARGS fchown32 { int|sys||__posix_fchown(int fd, uid_t uid, \
365 gid_t gid); } 365 gid_t gid); }
366208 STD setresuid32 { int|linux_sys||setresuid(uid_t ruid, \ 366208 STD setresuid32 { int|linux_sys||setresuid(uid_t ruid, \
367 uid_t euid, uid_t suid); } 367 uid_t euid, uid_t suid); }
368209 STD getresuid32 { int|linux_sys||getresuid(uid_t *ruid, \ 368209 STD getresuid32 { int|linux_sys||getresuid(uid_t *ruid, \
369 uid_t *euid, uid_t *suid); } 369 uid_t *euid, uid_t *suid); }
370210 STD setresgid32 { int|linux_sys||setresgid(gid_t rgid, \ 370210 STD setresgid32 { int|linux_sys||setresgid(gid_t rgid, \
371 gid_t egid, gid_t sgid); } 371 gid_t egid, gid_t sgid); }
372211 STD getresgid32 { int|linux_sys||getresgid(gid_t *rgid, \ 372211 STD getresgid32 { int|linux_sys||getresgid(gid_t *rgid, \
373 gid_t *egid, gid_t *sgid); } 373 gid_t *egid, gid_t *sgid); }
374212 NOARGS chown32 { int|sys||__posix_chown(const char *path, \ 374212 NOARGS chown32 { int|sys||__posix_chown(const char *path, \
375 uid_t uid, gid_t gid); } 375 uid_t uid, gid_t gid); }
376213 NOARGS setuid32 { int|sys||setuid(uid_t uid); } 376213 NOARGS setuid32 { int|sys||setuid(uid_t uid); }
377214 NOARGS setgid32 { int|sys||setgid(gid_t gid); } 377214 NOARGS setgid32 { int|sys||setgid(gid_t gid); }
378215 NOARGS setfsuid32 { int|linux_sys||setfsuid(uid_t uid); } 378215 NOARGS setfsuid32 { int|linux_sys||setfsuid(uid_t uid); }
379216 NOARGS setfsgid32 { int|linux_sys||setfsgid(gid_t gid); } 379216 NOARGS setfsgid32 { int|linux_sys||setfsgid(gid_t gid); }
380217 STD { int|linux_sys||getdents64(int fd, \ 380217 STD { int|linux_sys||getdents64(int fd, \
381 struct linux_dirent64 *dent, unsigned int count); } 381 struct linux_dirent64 *dent, unsigned int count); }
382218 UNIMPL pivot_root 382218 UNIMPL pivot_root
383219 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } 383219 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); }
384220 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); } 384220 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); }
385221 STD { int|linux_sys||fcntl64(int fd, int cmd, void *arg); } 385221 STD { int|linux_sys||fcntl64(int fd, int cmd, void *arg); }
386222 UNIMPL /* for tux */ 386222 UNIMPL /* for tux */
387223 UNIMPL /* unused */ 387223 UNIMPL /* unused */
388224 NOARGS { pid_t|linux_sys||gettid(void); } 388224 NOARGS { pid_t|linux_sys||gettid(void); }
389225 UNIMPL readahead 389225 UNIMPL readahead
390226 STD { int|linux_sys||setxattr(char *path, char *name, \ 390226 STD { int|linux_sys||setxattr(char *path, char *name, \
391 void *value, size_t size, int flags); } 391 void *value, size_t size, int flags); }
392227 STD { int|linux_sys||lsetxattr(char *path, char *name, \ 392227 STD { int|linux_sys||lsetxattr(char *path, char *name, \
393 void *value, size_t size, int flags); } 393 void *value, size_t size, int flags); }
394228 STD { int|linux_sys||fsetxattr(int fd, char *name, \ 394228 STD { int|linux_sys||fsetxattr(int fd, char *name, \
395 void *value, size_t size, int flags); } 395 void *value, size_t size, int flags); }
396229 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \ 396229 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \
397 void *value, size_t size); } 397 void *value, size_t size); }
398230 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \ 398230 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \
399 void *value, size_t size); } 399 void *value, size_t size); }
400231 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \ 400231 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \
401 void *value, size_t size); } 401 void *value, size_t size); }
402232 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \ 402232 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \
403 size_t size); } 403 size_t size); }
404233 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \ 404233 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \
405 size_t size); } 405 size_t size); }
406234 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \ 406234 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \
407 size_t size); } 407 size_t size); }
408235 STD { int|linux_sys||removexattr(char *path, char *name); } 408235 STD { int|linux_sys||removexattr(char *path, char *name); }
409236 STD { int|linux_sys||lremovexattr(char *path, char *name); } 409236 STD { int|linux_sys||lremovexattr(char *path, char *name); }
410237 STD { int|linux_sys||fremovexattr(int fd, char *name); } 410237 STD { int|linux_sys||fremovexattr(int fd, char *name); }
411238 STD { int|linux_sys||tkill(int tid, int sig); } 411238 STD { int|linux_sys||tkill(int tid, int sig); }
412239 UNIMPL sendfile64 412239 UNIMPL sendfile64
413240 STD { int|linux_sys||futex(int *uaddr, int op, int val, \ 413240 STD { int|linux_sys||futex(int *uaddr, int op, int val, \
414 const struct linux_timespec *timeout, int *uaddr2, \ 414 const struct linux_timespec *timeout, int *uaddr2, \
415 int val3); } 415 int val3); }
416241 STD { int|linux_sys||sched_setaffinity(pid_t pid, \ 416241 STD { int|linux_sys||sched_setaffinity(pid_t pid, \
417 unsigned int len, unsigned long *mask); } 417 unsigned int len, unsigned long *mask); }
418242 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ 418242 STD { int|linux_sys||sched_getaffinity(pid_t pid, \
419 unsigned int len, unsigned long *mask); } 419 unsigned int len, unsigned long *mask); }
420243 UNIMPL io_setup 420243 UNIMPL io_setup
421244 UNIMPL io_destroy 421244 UNIMPL io_destroy
422245 UNIMPL io_getevents 422245 UNIMPL io_getevents
423246 UNIMPL io_submit 423246 UNIMPL io_submit
424247 UNIMPL io_cancel 424247 UNIMPL io_cancel
425248 STD { int|linux_sys||exit_group(int error_code); } 425248 STD { int|linux_sys||exit_group(int error_code); }
426249 UNIMPL lookup_dcookie 426249 UNIMPL lookup_dcookie
427250 UNIMPL epoll_create 427250 STD { int|linux_sys||epoll_create(int size); }
428251 UNIMPL epoll_ctl 428251 STD { int|linux_sys||epoll_ctl(int epfd, int op, int fd, \
429252 UNIMPL epoll_wait 429 struct linux_epoll_event *event); }
 430252 STD { int|linux_sys||epoll_wait(int epfd, \
 431 struct linux_epoll_event *events, int maxevents, \
 432 int timeout); }
430253 UNIMPL remap_file_pages 433253 UNIMPL remap_file_pages
431254 UNIMPL set_thread_area 434254 UNIMPL set_thread_area
432255 UNIMPL get_thread_area 435255 UNIMPL get_thread_area
433256 STD { int|linux_sys||set_tid_address(int *tid); } 436256 STD { int|linux_sys||set_tid_address(int *tid); }
434257 STD { int|linux_sys||timer_create(clockid_t clockid, \ 437257 STD { int|linux_sys||timer_create(clockid_t clockid, \
435 struct linux_sigevent *evp, timer_t *timerid); } 438 struct linux_sigevent *evp, timer_t *timerid); }
436258 STD { int|linux_sys||timer_settime(timer_t timerid, \ 439258 STD { int|linux_sys||timer_settime(timer_t timerid, \
437 int flags, const struct linux_itimerspec *tim, \ 440 int flags, const struct linux_itimerspec *tim, \
438 struct linux_itimerspec *otim); } 441 struct linux_itimerspec *otim); }
439259 STD { int|linux_sys||timer_gettime(timer_t timerid, \ 442259 STD { int|linux_sys||timer_gettime(timer_t timerid, \
440 struct linux_itimerspec *tim); } 443 struct linux_itimerspec *tim); }
441260 NOARGS { int|sys||timer_getoverrun(timer_t timerid); } 444260 NOARGS { int|sys||timer_getoverrun(timer_t timerid); }
442261 NOARGS { int|sys||timer_delete(timer_t timerid); } 445261 NOARGS { int|sys||timer_delete(timer_t timerid); }
443262 STD { int|linux_sys||clock_settime(clockid_t which, \ 446262 STD { int|linux_sys||clock_settime(clockid_t which, \
444 struct linux_timespec *tp); } 447 struct linux_timespec *tp); }
445263 STD { int|linux_sys||clock_gettime(clockid_t which, \ 448263 STD { int|linux_sys||clock_gettime(clockid_t which, \
446 struct linux_timespec *tp); } 449 struct linux_timespec *tp); }
447264 STD { int|linux_sys||clock_getres(clockid_t which, \ 450264 STD { int|linux_sys||clock_getres(clockid_t which, \
448 struct linux_timespec *tp); } 451 struct linux_timespec *tp); }
449265 STD { int|linux_sys||clock_nanosleep(clockid_t which, \ 452265 STD { int|linux_sys||clock_nanosleep(clockid_t which, \
450 int flags, struct linux_timespec *rqtp, \ 453 int flags, struct linux_timespec *rqtp, \
451 struct linux_timespec *rmtp); } 454 struct linux_timespec *rmtp); }
452266 STD { int|linux_sys||statfs64(const char *path, \ 455266 STD { int|linux_sys||statfs64(const char *path, \
453 size_t sz, struct linux_statfs64 *sp); } 456 size_t sz, struct linux_statfs64 *sp); }
454267 STD { int|linux_sys||fstatfs64(int fd, \ 457267 STD { int|linux_sys||fstatfs64(int fd, \
455 size_t sz, struct linux_statfs64 *sp); } 458 size_t sz, struct linux_statfs64 *sp); }
456268 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); } 459268 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); }
457269 NOARGS { int|compat_50_sys||utimes(const char *path, \ 460269 NOARGS { int|compat_50_sys||utimes(const char *path, \
458 const struct timeval50 *tptr); } 461 const struct timeval50 *tptr); }
459270 STD { int|linux_sys||fadvise64_64(int fd, off_t offset, \ 462270 STD { int|linux_sys||fadvise64_64(int fd, off_t offset, \
460 off_t len, int advice); } 463 off_t len, int advice); }
461271 UNIMPL pciconfig_iobase 464271 UNIMPL pciconfig_iobase
462272 UNIMPL pciconfig_read 465272 UNIMPL pciconfig_read
463273 UNIMPL pciconfig_write 466273 UNIMPL pciconfig_write
464274 UNIMPL mq_open 467274 UNIMPL mq_open
465275 UNIMPL mq_unlink 468275 UNIMPL mq_unlink
466276 UNIMPL mq_timedsend 469276 UNIMPL mq_timedsend
467277 UNIMPL mq_timedreceive 470277 UNIMPL mq_timedreceive
468278 UNIMPL mq_notify 471278 UNIMPL mq_notify
469279 UNIMPL mq_getsetattr 472279 UNIMPL mq_getsetattr
470280 UNIMPL waitid 473280 UNIMPL waitid
471281 UNIMPL socket 474281 UNIMPL socket
472282 UNIMPL bind 475282 UNIMPL bind
473283 UNIMPL connect 476283 UNIMPL connect
474284 UNIMPL listen 477284 UNIMPL listen
475285 UNIMPL accept 478285 UNIMPL accept
476286 UNIMPL getsockname 479286 UNIMPL getsockname
477287 UNIMPL getpeername 480287 UNIMPL getpeername
478288 UNIMPL socketpair 481288 UNIMPL socketpair
479289 UNIMPL send 482289 UNIMPL send
480290 UNIMPL sendto 483290 UNIMPL sendto
481291 UNIMPL recv 484291 UNIMPL recv
482292 UNIMPL recvfrom 485292 UNIMPL recvfrom
483293 UNIMPL shutdown 486293 UNIMPL shutdown
484294 UNIMPL setsockopt 487294 UNIMPL setsockopt
485295 UNIMPL getsockopt 488295 UNIMPL getsockopt
486296 UNIMPL sendmsg 489296 UNIMPL sendmsg
487297 UNIMPL recvmsg 490297 UNIMPL recvmsg
488298 UNIMPL semop 491298 UNIMPL semop
489299 UNIMPL semget 492299 UNIMPL semget
490300 UNIMPL semctl 493300 UNIMPL semctl
491301 UNIMPL msgsnd 494301 UNIMPL msgsnd
492302 UNIMPL msgrcv 495302 UNIMPL msgrcv
493303 UNIMPL msgget 496303 UNIMPL msgget
494304 UNIMPL msgctl 497304 UNIMPL msgctl
495305 UNIMPL shmat 498305 UNIMPL shmat
496306 UNIMPL shmdt 499306 UNIMPL shmdt
497307 UNIMPL shmget 500307 UNIMPL shmget
498308 UNIMPL shmctl 501308 UNIMPL shmctl
499309 UNIMPL add_key 502309 UNIMPL add_key
500310 UNIMPL request_key 503310 UNIMPL request_key
501311 UNIMPL keyctl 504311 UNIMPL keyctl
502312 UNIMPL semtimedop 505312 UNIMPL semtimedop
503313 UNIMPL vserver 506313 UNIMPL vserver
504314 UNIMPL ioptio_set 507314 UNIMPL ioptio_set
505315 UNIMPL ioptio_get 508315 UNIMPL ioptio_get
506316 UNIMPL inotify_init 509316 UNIMPL inotify_init
507317 UNIMPL inotify_add_watch 510317 UNIMPL inotify_add_watch
508318 UNIMPL inotify_rm_watch 511318 UNIMPL inotify_rm_watch
509319 UNIMPL mbind 512319 UNIMPL mbind
510320 UNIMPL get_mempolicy 513320 UNIMPL get_mempolicy
511321 UNIMPL set_mempolicy 514321 UNIMPL set_mempolicy
512322 STD { int|linux_sys||openat(int fd, const char *path, \ 515322 STD { int|linux_sys||openat(int fd, const char *path, \
513 int flags, ... linux_umode_t mode); } 516 int flags, ... linux_umode_t mode); }
514323 NOARGS { int|sys||mkdirat(int fd, const char *path, \ 517323 NOARGS { int|sys||mkdirat(int fd, const char *path, \
515 linux_umode_t mode); } 518 linux_umode_t mode); }
516324 STD { int|linux_sys||mknodat(int fd, const char *path, \ 519324 STD { int|linux_sys||mknodat(int fd, const char *path, \
517 linux_umode_t mode, unsigned dev); } 520 linux_umode_t mode, unsigned dev); }
518325 STD { int|linux_sys||fchownat(int fd, const char *path, \ 521325 STD { int|linux_sys||fchownat(int fd, const char *path, \
519 uid_t owner, gid_t group, int flag); } 522 uid_t owner, gid_t group, int flag); }
520326 UNIMPL futimesat 523326 UNIMPL futimesat
521327 STD { int|linux_sys||fstatat64(int fd, const char *path, \ 524327 STD { int|linux_sys||fstatat64(int fd, const char *path, \
522 struct linux_stat64 *sp, int flag); } 525 struct linux_stat64 *sp, int flag); }
523328 STD { int|linux_sys||unlinkat(int fd, const char *path, \ 526328 STD { int|linux_sys||unlinkat(int fd, const char *path, \
524 int flag); } 527 int flag); }
525329 NOARGS { int|sys||renameat(int fromfd, const char *from, \ 528329 NOARGS { int|sys||renameat(int fromfd, const char *from, \
526 int tofd, const char *to); } 529 int tofd, const char *to); }
527330 STD { int|linux_sys||linkat(int fd1, const char *name1, \ 530330 STD { int|linux_sys||linkat(int fd1, const char *name1, \
528 int fd2, const char *name2, int flags); } 531 int fd2, const char *name2, int flags); }
529331 NOARGS { int|sys||symlinkat(const char *path1, int fd, \ 532331 NOARGS { int|sys||symlinkat(const char *path1, int fd, \
530 const char *path2); } 533 const char *path2); }
531332 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \ 534332 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \
532 char *buf, size_t bufsize); } 535 char *buf, size_t bufsize); }
533333 STD { int|linux_sys||fchmodat(int fd, const char *path, \ 536333 STD { int|linux_sys||fchmodat(int fd, const char *path, \
534 linux_umode_t mode); } 537 linux_umode_t mode); }
535334 STD { int|linux_sys||faccessat(int fd, const char *path, \ 538334 STD { int|linux_sys||faccessat(int fd, const char *path, \
536 int amode); } 539 int amode); }
537335 STD { int|linux_sys||pselect6(int nfds, fd_set *readfds, \ 540335 STD { int|linux_sys||pselect6(int nfds, fd_set *readfds, \
538 fd_set *writefds, fd_set *exceptfds, \ 541 fd_set *writefds, fd_set *exceptfds, \
539 struct linux_timespec *timeout, \ 542 struct linux_timespec *timeout, \
540 linux_sized_sigset_t *ss); } 543 linux_sized_sigset_t *ss); }
541336 STD { int|linux_sys||ppoll(struct pollfd *fds, u_int nfds, \ 544336 STD { int|linux_sys||ppoll(struct pollfd *fds, u_int nfds, \
542 struct linux_timespec *timeout, \ 545 struct linux_timespec *timeout, \
543 linux_sigset_t *sigset); } 546 linux_sigset_t *sigset); }
544337 UNIMPL unshare 547337 UNIMPL unshare
545 ; 548 ;
546 ; The NetBSD native robust list calls have different 549 ; The NetBSD native robust list calls have different
547 ; argument names / types, but they are ABI-compatible 550 ; argument names / types, but they are ABI-compatible
548 ; with Linux. 551 ; with Linux.
549 ; 552 ;
550338 NOARGS { int|sys||__futex_set_robust_list(void *head, \ 553338 NOARGS { int|sys||__futex_set_robust_list(void *head, \
551 size_t len); } 554 size_t len); }
552339 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ 555339 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \
553 void **headp, size_t *lenp); } 556 void **headp, size_t *lenp); }
554340 UNIMPL splice 557340 UNIMPL splice
555341 UNIMPL sync_file_range2 558341 UNIMPL sync_file_range2
556342 UNIMPL tee 559342 UNIMPL tee
557343 UNIMPL vmsplice 560343 UNIMPL vmsplice
558344 UNIMPL move_pages 561344 UNIMPL move_pages
559345 UNIMPL getcpu 562345 UNIMPL getcpu
560346 UNIMPL epoll_wait 563346 STD { int|linux_sys||epoll_pwait(int epfd, \
 564 struct linux_epoll_event *events, int maxevents, \
 565 int timeout, const linux_sigset_t *sigmask); }
561347 UNIMPL kexec_load 566347 UNIMPL kexec_load
562348 STD { int|linux_sys||utimensat(int fd, const char *path, \ 567348 STD { int|linux_sys||utimensat(int fd, const char *path, \
563 struct linux_timespec *times, int flag); } 568 struct linux_timespec *times, int flag); }
564349 UNIMPL signalfd 569349 UNIMPL signalfd
565350 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ 570350 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \
566 int flags); } 571 int flags); }
567351 STD { int|linux_sys||eventfd(unsigned int initval); } 572351 STD { int|linux_sys||eventfd(unsigned int initval); }
568352 STD { int|linux_sys||fallocate(int fd, int mode, \ 573352 STD { int|linux_sys||fallocate(int fd, int mode, \
569 off_t offset, off_t len); } 574 off_t offset, off_t len); }
570353 STD { int|linux_sys||timerfd_settime(int fd, int flags, \ 575353 STD { int|linux_sys||timerfd_settime(int fd, int flags, \
571 const struct linux_itimerspec *tim, \ 576 const struct linux_itimerspec *tim, \
572 struct linux_itimerspec *otim); } 577 struct linux_itimerspec *otim); }
573354 STD { int|linux_sys||timerfd_gettime(int fd, \ 578354 STD { int|linux_sys||timerfd_gettime(int fd, \
574 struct linux_itimerspec *tim); } 579 struct linux_itimerspec *tim); }
575355 UNIMPL signalfd4 580355 UNIMPL signalfd4
576356 STD { int|linux_sys||eventfd2(unsigned int initval, \ 581356 STD { int|linux_sys||eventfd2(unsigned int initval, \
577 int flags); } 582 int flags); }
578357 UNIMPL epoll_create1 583357 STD { int|linux_sys||epoll_create1(int flags); }
579358 STD { int|linux_sys||dup3(int from, int to, int flags); } 584358 STD { int|linux_sys||dup3(int from, int to, int flags); }
580359 STD { int|linux_sys||pipe2(int *pfds, int flags); } 585359 STD { int|linux_sys||pipe2(int *pfds, int flags); }
581360 UNIMPL inotify_init1 586360 UNIMPL inotify_init1
582361 STD { int|linux_sys||preadv(int fd, \ 587361 STD { int|linux_sys||preadv(int fd, \
583 const struct iovec *iovp, int iovcnt, \ 588 const struct iovec *iovp, int iovcnt, \
584 unsigned long off_lo, unsigned long off_hi); } 589 unsigned long off_lo, unsigned long off_hi); }
585362 STD { int|linux_sys||pwritev(int fd, \ 590362 STD { int|linux_sys||pwritev(int fd, \
586 const struct iovcnt *iovp, int iovcnt, \ 591 const struct iovcnt *iovp, int iovcnt, \
587 unsigned long off_lo, unsigned long off_hi); } 592 unsigned long off_lo, unsigned long off_hi); }
588363 UNIMPL rt_tgsigqueueinfo 593363 UNIMPL rt_tgsigqueueinfo
589364 UNIMPL perf_counter_open 594364 UNIMPL perf_counter_open
590365 STD { int|linux_sys||recvmmsg(int s, \ 595365 STD { int|linux_sys||recvmmsg(int s, \
591 struct linux_mmsghdr *msgvec, unsigned int vlen, \ 596 struct linux_mmsghdr *msgvec, unsigned int vlen, \
592 unsigned int flags, struct timespec *timeout); } 597 unsigned int flags, struct timespec *timeout); }
593366 STD { int|linux_sys||accept4(int s, \ 598366 STD { int|linux_sys||accept4(int s, \
594 struct osockaddr *name, \ 599 struct osockaddr *name, \
595 int *anamelen, int flags); } 600 int *anamelen, int flags); }
596367 UNIMPL fanotify_init 601367 UNIMPL fanotify_init
597368 UNIMPL fanotify_mark 602368 UNIMPL fanotify_mark
598369 STD { int|linux_sys||prlimit64(pid_t pid, int which, \ 603369 STD { int|linux_sys||prlimit64(pid_t pid, int which, \
599 struct rlimit *new_rlp, struct rlimit *old_rlp); } 604 struct rlimit *new_rlp, struct rlimit *old_rlp); }
600370 UNIMPL name_to_handle_at 605370 UNIMPL name_to_handle_at
601371 UNIMPL open_by_handle_at 606371 UNIMPL open_by_handle_at
602372 UNIMPL clock_adjtime 607372 UNIMPL clock_adjtime
603373 UNIMPL syncfs 608373 UNIMPL syncfs
604374 STD { int|linux_sys||sendmmsg(int s, \ 609374 STD { int|linux_sys||sendmmsg(int s, \
605 struct linux_mmsghdr *msgvec, unsigned int vlen, \ 610 struct linux_mmsghdr *msgvec, unsigned int vlen, \
606 unsigned int flags); } 611 unsigned int flags); }
607375 UNIMPL setns 612375 UNIMPL setns
608376 UNIMPL process_vm_readv 613376 UNIMPL process_vm_readv
609377 UNIMPL process_vm_writev 614377 UNIMPL process_vm_writev
610378 UNIMPL kcmp 615378 UNIMPL kcmp
611379 UNIMPL finit_module 616379 UNIMPL finit_module
612380 UNIMPL sched_setattr 617380 UNIMPL sched_setattr
613381 UNIMPL sched_getattr 618381 UNIMPL sched_getattr
614382 UNIMPL renameat2 619382 UNIMPL renameat2
615383 UNIMPL seccomp 620383 UNIMPL seccomp
616; XXX FIX-me? 621; XXX FIX-me?
617; 384 NOARGS { ssize_t|sys||getrandom(void *buf, size_t buflen, \ 622; 384 NOARGS { ssize_t|sys||getrandom(void *buf, size_t buflen, \
618 unsigned int flags); } 623 unsigned int flags); }
619; 385 UNIMPL memfd_create 624; 385 UNIMPL memfd_create
620 625
621; ARMLinux actually has two ranges of syscalls. Normal syscalls use 626; ARMLinux actually has two ranges of syscalls. Normal syscalls use
622; SWI numbers starting at 0x900000 (__NR_SYSCALL_BASE). Special 627; SWI numbers starting at 0x900000 (__NR_SYSCALL_BASE). Special
623; ARM-specific syscalls use SWI numbers starting at 0x9f0000 628; ARM-specific syscalls use SWI numbers starting at 0x9f0000
624; (__ARM_NR_BASE). linux_syscall() (in arch/arm/arm/linux_syscall.c) 629; (__ARM_NR_BASE). linux_syscall() (in arch/arm/arm/linux_syscall.c)
625; remaps these down to 0x900180 so that we can use one linux_sysent 630; remaps these down to 0x900180 so that we can use one linux_sysent
626; array for the whole lot. 631; array for the whole lot.
627 632
628384 UNIMPL /* base */ 633384 UNIMPL /* base */
629385 STD { int|linux_sys||breakpoint(void); } 634385 STD { int|linux_sys||breakpoint(void); }
630386 STD { int|linux_sys||cacheflush(uintptr_t from, \ 635386 STD { int|linux_sys||cacheflush(uintptr_t from, \
631 intptr_t to, int flags); } 636 intptr_t to, int flags); }
632387 UNIMPL usr26 637387 UNIMPL usr26
633388 UNIMPL usr32 638388 UNIMPL usr32
634389 STD { int|linux_sys||set_tls(void *tls); } 639389 STD { int|linux_sys||set_tls(void *tls); }
 640390 UNIMPL
 641391 UNIMPL
 642392 UNIMPL
 643393 UNIMPL
 644394 UNIMPL
 645395 UNIMPL
 646396 UNIMPL
 647397 UNIMPL
 648398 UNIMPL
 649399 UNIMPL
 650400 UNIMPL
 651401 UNIMPL
 652402 UNIMPL
 653403 UNIMPL
 654404 UNIMPL
 655405 UNIMPL
 656406 UNIMPL
 657407 UNIMPL
 658408 UNIMPL
 659409 UNIMPL
 660410 UNIMPL
 661411 UNIMPL
 662412 UNIMPL
 663413 UNIMPL
 664414 UNIMPL
 665415 UNIMPL
 666416 UNIMPL
 667417 UNIMPL
 668418 UNIMPL
 669419 UNIMPL
 670420 UNIMPL
 671421 UNIMPL
 672422 UNIMPL
 673423 UNIMPL
 674424 UNIMPL
 675425 UNIMPL
 676426 UNIMPL
 677427 UNIMPL
 678428 UNIMPL
 679429 UNIMPL
 680430 UNIMPL
 681431 UNIMPL
 682432 UNIMPL
 683433 UNIMPL
 684434 UNIMPL
 685435 UNIMPL
 686436 UNIMPL
 687437 UNIMPL
 688438 UNIMPL
 689439 UNIMPL
 690440 UNIMPL
 691441 STD { int|linux_sys||epoll_pwait2(int epfd, \
 692 struct linux_epoll_event *events, int maxevents, \
 693 const struct linux_timespec *timeout, \
 694 const linux_sigset_t *sigmask); }

cvs diff -r1.130 -r1.131 src/sys/compat/linux/arch/i386/syscalls.master (switch to unified diff)

--- src/sys/compat/linux/arch/i386/syscalls.master 2023/07/10 13:05:27 1.130
+++ src/sys/compat/linux/arch/i386/syscalls.master 2023/07/28 19:01:11 1.131
@@ -1,663 +1,672 @@ @@ -1,663 +1,672 @@
1 $NetBSD: syscalls.master,v 1.130 2023/07/10 13:05:27 christos Exp $ 1 $NetBSD: syscalls.master,v 1.131 2023/07/28 19:01:11 christos Exp $
2 2
3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
4 4
5; NetBSD i386 COMPAT_LINUX system call name/number "master" file. 5; NetBSD i386 COMPAT_LINUX system call name/number "master" file.
6; (See syscalls.conf to see what it is processed into.) 6; (See syscalls.conf to see what it is processed into.)
7; 7;
8; Fields: number type [type-dependent ...] 8; Fields: number type [type-dependent ...]
9; number system call number, must be in order 9; number system call number, must be in order
10; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of 10; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
11; the compatibility options defined in syscalls.conf. 11; the compatibility options defined in syscalls.conf.
12; 12;
13; types: 13; types:
14; STD always included 14; STD always included
15; OBSOL obsolete, not included in system 15; OBSOL obsolete, not included in system
16; UNIMPL unimplemented, not included in system 16; UNIMPL unimplemented, not included in system
17; NODEF included, but don't define the syscall number 17; NODEF included, but don't define the syscall number
18; NOARGS included, but don't define the syscall args structure 18; NOARGS included, but don't define the syscall args structure
19; INDIR included, but don't define the syscall args structure 19; INDIR included, but don't define the syscall args structure
20; and allow it to be "really" varargs. 20; and allow it to be "really" varargs.
21; 21;
22; The compat options are defined in the syscalls.conf file, and the 22; The compat options are defined in the syscalls.conf file, and the
23; compat option name is prefixed to the syscall name. Other than 23; compat option name is prefixed to the syscall name. Other than
24; that, they're like NODEF (for 'compat' options), or STD (for 24; that, they're like NODEF (for 'compat' options), or STD (for
25; 'libcompat' options). 25; 'libcompat' options).
26; 26;
27; The type-dependent arguments are as follows: 27; The type-dependent arguments are as follows:
28; For STD, NODEF, NOARGS, and compat syscalls: 28; For STD, NODEF, NOARGS, and compat syscalls:
29; { pseudo-proto } [alias] 29; { pseudo-proto } [alias]
30; For other syscalls: 30; For other syscalls:
31; [comment] 31; [comment]
32; 32;
33; #ifdef's, etc. may be included, and are copied to the output files. 33; #ifdef's, etc. may be included, and are copied to the output files.
34; #include's are copied to the syscall names and switch definition files only. 34; #include's are copied to the syscall names and switch definition files only.
35 35
36#include <sys/param.h> 36#include <sys/param.h>
37#include <sys/poll.h> 37#include <sys/poll.h>
38#include <sys/systm.h> 38#include <sys/systm.h>
39#include <sys/signal.h> 39#include <sys/signal.h>
40#include <sys/mount.h> 40#include <sys/mount.h>
41#include <sys/syscallargs.h> 41#include <sys/syscallargs.h>
42 42
43#include <compat/sys/time.h> 43#include <compat/sys/time.h>
44 44
45#include <compat/linux/common/linux_types.h> 45#include <compat/linux/common/linux_types.h>
46#include <compat/linux/common/linux_mmap.h> 46#include <compat/linux/common/linux_mmap.h>
47#include <compat/linux/common/linux_signal.h> 47#include <compat/linux/common/linux_signal.h>
48#include <compat/linux/common/linux_siginfo.h> 48#include <compat/linux/common/linux_siginfo.h>
49#include <compat/linux/common/linux_machdep.h> 49#include <compat/linux/common/linux_machdep.h>
50 50
51#include <compat/linux/linux_syscallargs.h> 51#include <compat/linux/linux_syscallargs.h>
52 52
53%% 53%%
54 54
550 NOARGS { int|linux_sys||nosys(void); } syscall 550 NOARGS { int|linux_sys||nosys(void); } syscall
561 STD { int|linux_sys||exit(int rval); } 561 STD { int|linux_sys||exit(int rval); }
572 NOARGS { int|sys||fork(void); } 572 NOARGS { int|sys||fork(void); }
583 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } 583 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
594 NOARGS { ssize_t|sys||write(int fd, const void *buf, \ 594 NOARGS { ssize_t|sys||write(int fd, const void *buf, \
60 size_t nbyte); } 60 size_t nbyte); }
615 STD { int|linux_sys||open(const char *path, int flags, \ 615 STD { int|linux_sys||open(const char *path, int flags, \
62 linux_umode_t mode); } 62 linux_umode_t mode); }
636 NOARGS { int|sys||close(int fd); } 636 NOARGS { int|sys||close(int fd); }
647 STD { int|linux_sys||waitpid(int pid, int *status, \ 647 STD { int|linux_sys||waitpid(int pid, int *status, \
65 int options);} 65 int options);}
668 STD { int|linux_sys||creat(const char *path, linux_umode_t mode); } 668 STD { int|linux_sys||creat(const char *path, linux_umode_t mode); }
679 NOARGS { int|sys||link(const char *path, const char *link); } 679 NOARGS { int|sys||link(const char *path, const char *link); }
6810 STD { int|linux_sys||unlink(const char *path); } 6810 STD { int|linux_sys||unlink(const char *path); }
6911 NOARGS { int|sys||execve(const char *path, char **argp, \ 6911 NOARGS { int|sys||execve(const char *path, char **argp, \
70 char **envp); } 70 char **envp); }
7112 NOARGS { int|sys||chdir(const char *path); } 7112 NOARGS { int|sys||chdir(const char *path); }
7213 STD { int|linux_sys||time(linux_time_t *t); } 7213 STD { int|linux_sys||time(linux_time_t *t); }
7314 STD { int|linux_sys||mknod(const char *path, linux_umode_t mode, \ 7314 STD { int|linux_sys||mknod(const char *path, linux_umode_t mode, \
74 unsigned dev); } 74 unsigned dev); }
7515 NOARGS { int|sys||chmod(const char *path, linux_umode_t mode); } 7515 NOARGS { int|sys||chmod(const char *path, linux_umode_t mode); }
7616 STD { int|linux_sys||lchown16(const char *path, \ 7616 STD { int|linux_sys||lchown16(const char *path, \
77 linux_uid16_t uid, linux_gid16_t gid); } 77 linux_uid16_t uid, linux_gid16_t gid); }
78;17 - no longer in linux source. 78;17 - no longer in linux source.
7917 STD { int|linux_sys||break(char *nsize); } 7917 STD { int|linux_sys||break(char *nsize); }
8018 OBSOL ostat 8018 OBSOL ostat
8119 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ 8119 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \
82 int whence); } 82 int whence); }
8320 NOARGS { pid_t|sys||getpid(void); } 8320 NOARGS { pid_t|sys||getpid(void); }
8421 UNIMPL mount 8421 UNIMPL mount
8522 UNIMPL umount 8522 UNIMPL umount
8623 NOARGS linux_setuid16 { int|sys||setuid(uid_t uid); } 8623 NOARGS linux_setuid16 { int|sys||setuid(uid_t uid); }
8724 NOARGS linux_getuid16 { uid_t|sys||getuid(void); } 8724 NOARGS linux_getuid16 { uid_t|sys||getuid(void); }
8825 STD { int|linux_sys||stime(linux_time_t *t); } 8825 STD { int|linux_sys||stime(linux_time_t *t); }
8926 STD { int|linux_sys||ptrace(int request, int pid, \ 8926 STD { int|linux_sys||ptrace(int request, int pid, \
90 int addr, int data); } 90 int addr, int data); }
9127 STD { int|linux_sys||alarm(unsigned int secs); } 9127 STD { int|linux_sys||alarm(unsigned int secs); }
9228 OBSOL ofstat 9228 OBSOL ofstat
9329 NOARGS { int|linux_sys||pause(void); } 9329 NOARGS { int|linux_sys||pause(void); }
9430 STD { int|linux_sys||utime(const char *path, \ 9430 STD { int|linux_sys||utime(const char *path, \
95 struct linux_utimbuf *times); } 95 struct linux_utimbuf *times); }
9631 OBSOL stty 9631 OBSOL stty
9732 OBSOL gtty 9732 OBSOL gtty
9833 NOARGS { int|sys||access(const char *path, int flags); } 9833 NOARGS { int|sys||access(const char *path, int flags); }
9934 STD { int|linux_sys||nice(int incr); } 9934 STD { int|linux_sys||nice(int incr); }
10035 OBSOL ftime 10035 OBSOL ftime
10136 NOARGS { int|sys||sync(void); } 10136 NOARGS { int|sys||sync(void); }
10237 STD { int|linux_sys||kill(int pid, int signum); } 10237 STD { int|linux_sys||kill(int pid, int signum); }
10338 NOARGS { int|sys||__posix_rename(const char *from, \ 10338 NOARGS { int|sys||__posix_rename(const char *from, \
104 const char *to); } 104 const char *to); }
10539 NOARGS { int|sys||mkdir(const char *path, linux_umode_t mode); } 10539 NOARGS { int|sys||mkdir(const char *path, linux_umode_t mode); }
10640 NOARGS { int|sys||rmdir(const char *path); } 10640 NOARGS { int|sys||rmdir(const char *path); }
10741 NOARGS { int|sys||dup(int fd); } 10741 NOARGS { int|sys||dup(int fd); }
10842 STD { int|linux_sys||pipe(int *pfds); } 10842 STD { int|linux_sys||pipe(int *pfds); }
10943 STD { int|linux_sys||times(struct times *tms); } 10943 STD { int|linux_sys||times(struct times *tms); }
11044 OBSOL prof 11044 OBSOL prof
11145 STD { int|linux_sys||brk(char *nsize); } 11145 STD { int|linux_sys||brk(char *nsize); }
11246 NOARGS linux_setgid16 { int|sys||setgid(gid_t gid); } 11246 NOARGS linux_setgid16 { int|sys||setgid(gid_t gid); }
11347 NOARGS linux_getgid16 { gid_t|sys||getgid(void); } 11347 NOARGS linux_getgid16 { gid_t|sys||getgid(void); }
11448 STD { int|linux_sys||signal(int signum, \ 11448 STD { int|linux_sys||signal(int signum, \
115 linux_handler_t handler); } 115 linux_handler_t handler); }
11649 NOARGS linux_geteuid16 { uid_t|sys||geteuid(void); } 11649 NOARGS linux_geteuid16 { uid_t|sys||geteuid(void); }
11750 NOARGS linux_getegid16 { gid_t|sys||getegid(void); } 11750 NOARGS linux_getegid16 { gid_t|sys||getegid(void); }
11851 NOARGS { int|sys||acct(char *path); } 11851 NOARGS { int|sys||acct(char *path); }
11952 OBSOL phys 11952 OBSOL phys
12053 OBSOL lock 12053 OBSOL lock
12154 STD { int|linux_sys||ioctl(int fd, u_long com, \ 12154 STD { int|linux_sys||ioctl(int fd, u_long com, \
122 void *data); } 122 void *data); }
12355 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); } 12355 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); }
12456 OBSOL mpx 12456 OBSOL mpx
12557 NOARGS { int|sys||setpgid(int pid, int pgid); } 12557 NOARGS { int|sys||setpgid(int pid, int pgid); }
12658 OBSOL ulimit 12658 OBSOL ulimit
12759 STD { int|linux_sys||oldolduname( \ 12759 STD { int|linux_sys||oldolduname( \
128 struct linux_oldold_utsname *up); } 128 struct linux_oldold_utsname *up); }
12960 NOARGS { int|sys||umask(int newmask); } 12960 NOARGS { int|sys||umask(int newmask); }
13061 NOARGS { int|sys||chroot(char *path); } 13061 NOARGS { int|sys||chroot(char *path); }
13162 UNIMPL ustat 13162 UNIMPL ustat
13263 NOARGS { int|sys||dup2(int from, int to); } 13263 NOARGS { int|sys||dup2(int from, int to); }
13364 NOARGS { pid_t|sys||getppid(void); } 13364 NOARGS { pid_t|sys||getppid(void); }
13465 NOARGS { int|sys||getpgrp(void); } 13465 NOARGS { int|sys||getpgrp(void); }
13566 NOARGS { int|sys||setsid(void); } 13566 NOARGS { int|sys||setsid(void); }
13667 STD { int|linux_sys||sigaction(int signum, \ 13667 STD { int|linux_sys||sigaction(int signum, \
137 const struct linux_old_sigaction *nsa, \ 137 const struct linux_old_sigaction *nsa, \
138 struct linux_old_sigaction *osa); } 138 struct linux_old_sigaction *osa); }
13968 NOARGS { int|linux_sys||siggetmask(void); } 13968 NOARGS { int|linux_sys||siggetmask(void); }
14069 STD { int|linux_sys||sigsetmask(linux_old_sigset_t mask); } 14069 STD { int|linux_sys||sigsetmask(linux_old_sigset_t mask); }
14170 STD { int|linux_sys||setreuid16(linux_uid16_t ruid, \ 14170 STD { int|linux_sys||setreuid16(linux_uid16_t ruid, \
142 linux_uid16_t euid); } 142 linux_uid16_t euid); }
14371 STD { int|linux_sys||setregid16(linux_gid16_t rgid, \ 14371 STD { int|linux_sys||setregid16(linux_gid16_t rgid, \
144 linux_gid16_t egid); } 144 linux_gid16_t egid); }
14572 STD { int|linux_sys||sigsuspend(void *restart, \ 14572 STD { int|linux_sys||sigsuspend(void *restart, \
146 int oldmask, int mask); } 146 int oldmask, int mask); }
14773 STD { int|linux_sys||sigpending(linux_old_sigset_t *set); } 14773 STD { int|linux_sys||sigpending(linux_old_sigset_t *set); }
14874 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ 14874 NOARGS { int|compat_43_sys||sethostname(char *hostname, \
149 u_int len);} 149 u_int len);}
15075 STD { int|linux_sys||setrlimit(u_int which, \ 15075 STD { int|linux_sys||setrlimit(u_int which, \
151 struct orlimit *rlp); } 151 struct orlimit *rlp); }
15276 STD { int|linux_sys||getrlimit(u_int which, \ 15276 STD { int|linux_sys||getrlimit(u_int which, \
153 struct orlimit *rlp); } 153 struct orlimit *rlp); }
15477 NOARGS { int|compat_50_sys||getrusage(int who, \ 15477 NOARGS { int|compat_50_sys||getrusage(int who, \
155 struct rusage50 *rusage); } 155 struct rusage50 *rusage); }
15678 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \ 15678 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \
157 struct timezone *tzp); } 157 struct timezone *tzp); }
15879 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \ 15879 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \
159 struct timezone *tzp); } 159 struct timezone *tzp); }
16080 STD { int|linux_sys||getgroups16(int gidsetsize, \ 16080 STD { int|linux_sys||getgroups16(int gidsetsize, \
161 linux_gid16_t *gidset); } 161 linux_gid16_t *gidset); }
16281 STD { int|linux_sys||setgroups16(int gidsetsize, \ 16281 STD { int|linux_sys||setgroups16(int gidsetsize, \
163 linux_gid16_t *gidset); } 163 linux_gid16_t *gidset); }
16482 STD { int|linux_sys||oldselect(struct linux_oldselect *lsp); } 16482 STD { int|linux_sys||oldselect(struct linux_oldselect *lsp); }
16583 NOARGS { int|sys||symlink(const char *path, const char *link); } 16583 NOARGS { int|sys||symlink(const char *path, const char *link); }
16684 NOARGS { int|compat_43_sys||lstat(const char *path, \ 16684 NOARGS { int|compat_43_sys||lstat(const char *path, \
167 struct stat43 *ub); } oolstat 167 struct stat43 *ub); } oolstat
16885 NOARGS { ssize_t|sys||readlink(const char *path, char *buf, \ 16885 NOARGS { ssize_t|sys||readlink(const char *path, char *buf, \
169 int count); } 169 int count); }
170#ifdef EXEC_AOUT 170#ifdef EXEC_AOUT
17186 STD { int|linux_sys||uselib(const char *path); } 17186 STD { int|linux_sys||uselib(const char *path); }
172#else 172#else
17386 UNIMPL sys_uselib 17386 UNIMPL sys_uselib
174#endif 174#endif
17587 STD { int|linux_sys||swapon(char *name); } 17587 STD { int|linux_sys||swapon(char *name); }
17688 STD { int|linux_sys||reboot(int magic1, int magic2, \ 17688 STD { int|linux_sys||reboot(int magic1, int magic2, \
177 int cmd, void *arg); } 177 int cmd, void *arg); }
17889 STD { int|linux_sys||readdir(int fd, void *dent, \ 17889 STD { int|linux_sys||readdir(int fd, void *dent, \
179 unsigned int count); } 179 unsigned int count); }
18090 STD { int|linux_sys||old_mmap(struct linux_oldmmap *lmp); } 18090 STD { int|linux_sys||old_mmap(struct linux_oldmmap *lmp); }
18191 NOARGS { int|sys||munmap(void *addr, size_t len); } 18191 NOARGS { int|sys||munmap(void *addr, size_t len); }
18292 NOARGS { int|compat_43_sys||truncate(const char *path, \ 18292 NOARGS { int|compat_43_sys||truncate(const char *path, \
183 long length); } 183 long length); }
18493 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } 18493 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); }
18594 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); } 18594 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); }
18695 STD { int|linux_sys||fchown16(int fd, linux_uid16_t uid, \ 18695 STD { int|linux_sys||fchown16(int fd, linux_uid16_t uid, \
187 linux_gid16_t gid); } 187 linux_gid16_t gid); }
18896 STD { int|linux_sys||getpriority(int which, int who); } 18896 STD { int|linux_sys||getpriority(int which, int who); }
18997 NOARGS { int|sys||setpriority(int which, int who, int prio); } 18997 NOARGS { int|sys||setpriority(int which, int who, int prio); }
19098 NOARGS { int|sys||profil(void *samples, u_int size, \ 19098 NOARGS { int|sys||profil(void *samples, u_int size, \
191 u_int offset, u_int scale); } 191 u_int offset, u_int scale); }
19299 STD { int|linux_sys||statfs(const char *path, \ 19299 STD { int|linux_sys||statfs(const char *path, \
193 struct linux_statfs *sp); } 193 struct linux_statfs *sp); }
194100 STD { int|linux_sys||fstatfs(int fd, \ 194100 STD { int|linux_sys||fstatfs(int fd, \
195 struct linux_statfs *sp); } 195 struct linux_statfs *sp); }
196101 STD { int|linux_sys||ioperm(unsigned int lo, \ 196101 STD { int|linux_sys||ioperm(unsigned int lo, \
197 unsigned int hi, int val); } 197 unsigned int hi, int val); }
198102 STD { int|linux_sys||socketcall(int what, void *args); } 198102 STD { int|linux_sys||socketcall(int what, void *args); }
199103 UNIMPL syslog 199103 UNIMPL syslog
200104 NOARGS { int|compat_50_sys||setitimer(int which, \ 200104 NOARGS { int|compat_50_sys||setitimer(int which, \
201 struct itimerval50 *itv, struct itimerval50 *oitv); } 201 struct itimerval50 *itv, struct itimerval50 *oitv); }
202105 NOARGS { int|compat_50_sys||getitimer(int which, \ 202105 NOARGS { int|compat_50_sys||getitimer(int which, \
203 struct itimerval50 *itv); } 203 struct itimerval50 *itv); }
204106 STD { int|linux_sys||stat(const char *path, \ 204106 STD { int|linux_sys||stat(const char *path, \
205 struct linux_stat *sp); } 205 struct linux_stat *sp); }
206107 STD { int|linux_sys||lstat(const char *path, \ 206107 STD { int|linux_sys||lstat(const char *path, \
207 struct linux_stat *sp); } 207 struct linux_stat *sp); }
208108 STD { int|linux_sys||fstat(int fd, struct linux_stat *sp); } 208108 STD { int|linux_sys||fstat(int fd, struct linux_stat *sp); }
209109 STD { int|linux_sys||olduname(struct linux_old_utsname *up); } 209109 STD { int|linux_sys||olduname(struct linux_old_utsname *up); }
210110 STD { int|linux_sys||iopl(int level); } 210110 STD { int|linux_sys||iopl(int level); }
211111 UNIMPL vhangup 211111 UNIMPL vhangup
212112 UNIMPL idle 212112 UNIMPL idle
213113 UNIMPL vm86old 213113 UNIMPL vm86old
214114 STD { int|linux_sys||wait4(int pid, int *status, \ 214114 STD { int|linux_sys||wait4(int pid, int *status, \
215 int options, struct rusage50 *rusage); } 215 int options, struct rusage50 *rusage); }
216115 STD { int|linux_sys||swapoff(const char *path); } 216115 STD { int|linux_sys||swapoff(const char *path); }
217116 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); } 217116 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); }
218117 STD { int|linux_sys||ipc(int what, int a1, int a2, int a3, \ 218117 STD { int|linux_sys||ipc(int what, int a1, int a2, int a3, \
219 void *ptr); } 219 void *ptr); }
220118 NOARGS { int|sys||fsync(int fd); } 220118 NOARGS { int|sys||fsync(int fd); }
221119 STD { int|linux_sys||sigreturn(struct linux_sigcontext *scp); } 221119 STD { int|linux_sys||sigreturn(struct linux_sigcontext *scp); }
222120 STD { int|linux_sys||clone(int flags, void *stack, \ 222120 STD { int|linux_sys||clone(int flags, void *stack, \
223 void *parent_tidptr, void *tls, void *child_tidptr); } 223 void *parent_tidptr, void *tls, void *child_tidptr); }
224121 STD { int|linux_sys||setdomainname(char *domainname, \ 224121 STD { int|linux_sys||setdomainname(char *domainname, \
225 int len); } 225 int len); }
226122 STD { int|linux_sys||uname(struct linux_utsname *up); } 226122 STD { int|linux_sys||uname(struct linux_utsname *up); }
227123 STD { int|linux_sys||modify_ldt(int func, void *ptr, \ 227123 STD { int|linux_sys||modify_ldt(int func, void *ptr, \
228 size_t bytecount); } 228 size_t bytecount); }
229124 UNIMPL adjtimex 229124 UNIMPL adjtimex
230125 STD { int|linux_sys||mprotect(const void *start, \ 230125 STD { int|linux_sys||mprotect(const void *start, \
231 unsigned long len, int prot); } 231 unsigned long len, int prot); }
232126 STD { int|linux_sys||sigprocmask(int how, \ 232126 STD { int|linux_sys||sigprocmask(int how, \
233 const linux_old_sigset_t *set, \ 233 const linux_old_sigset_t *set, \
234 linux_old_sigset_t *oset); } 234 linux_old_sigset_t *oset); }
235127 UNIMPL create_module 235127 UNIMPL create_module
236128 UNIMPL init_module 236128 UNIMPL init_module
237129 UNIMPL delete_module 237129 UNIMPL delete_module
238130 UNIMPL get_kernel_syms 238130 UNIMPL get_kernel_syms
239131 UNIMPL quotactl 239131 UNIMPL quotactl
240132 NOARGS { pid_t|sys||getpgid(pid_t pid); } 240132 NOARGS { pid_t|sys||getpgid(pid_t pid); }
241133 NOARGS { int|sys||fchdir(int fd); } 241133 NOARGS { int|sys||fchdir(int fd); }
242134 UNIMPL bdflush 242134 UNIMPL bdflush
243135 UNIMPL sysfs 243135 UNIMPL sysfs
244136 STD { int|linux_sys||personality(unsigned long per); } 244136 STD { int|linux_sys||personality(unsigned long per); }
245137 UNIMPL afs_syscall 245137 UNIMPL afs_syscall
246138 NOARGS linux_setfsuid16 { int|linux_sys||setfsuid(uid_t uid); } 246138 NOARGS linux_setfsuid16 { int|linux_sys||setfsuid(uid_t uid); }
247139 NOARGS linux_setfsgid16 { int|linux_sys||setfsgid(gid_t gid); } 247139 NOARGS linux_setfsgid16 { int|linux_sys||setfsgid(gid_t gid); }
248140 STD { int|linux_sys||llseek(int fd, u_int32_t ohigh, \ 248140 STD { int|linux_sys||llseek(int fd, u_int32_t ohigh, \
249 u_int32_t olow, void *res, int whence); } 249 u_int32_t olow, void *res, int whence); }
250141 STD { int|linux_sys||getdents(int fd, \ 250141 STD { int|linux_sys||getdents(int fd, \
251 struct linux_dirent *dent, unsigned int count); } 251 struct linux_dirent *dent, unsigned int count); }
252142 STD { int|linux_sys||select(int nfds, fd_set *readfds, \ 252142 STD { int|linux_sys||select(int nfds, fd_set *readfds, \
253 fd_set *writefds, fd_set *exceptfds, \ 253 fd_set *writefds, fd_set *exceptfds, \
254 struct timeval50 *timeout); } 254 struct timeval50 *timeout); }
255143 NOARGS { int|sys||flock(int fd, int how); } 255143 NOARGS { int|sys||flock(int fd, int how); }
256144 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } 256144 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); }
257145 NOARGS { ssize_t|sys||readv(int fd, \ 257145 NOARGS { ssize_t|sys||readv(int fd, \
258 const struct iovec *iovp, int iovcnt); } 258 const struct iovec *iovp, int iovcnt); }
259146 NOARGS { ssize_t|sys||writev(int fd, \ 259146 NOARGS { ssize_t|sys||writev(int fd, \
260 const struct iovec *iovp, int iovcnt); } 260 const struct iovec *iovp, int iovcnt); }
261147 NOARGS { pid_t|sys||getsid(pid_t pid); } 261147 NOARGS { pid_t|sys||getsid(pid_t pid); }
262148 STD { int|linux_sys||fdatasync(int fd); } 262148 STD { int|linux_sys||fdatasync(int fd); }
263149 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); } 263149 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); }
264150 NOARGS { int|sys||mlock(void *addr, size_t len); } 264150 NOARGS { int|sys||mlock(void *addr, size_t len); }
265151 NOARGS { int|sys||munlock(void *addr, size_t len); } 265151 NOARGS { int|sys||munlock(void *addr, size_t len); }
266152 NOARGS { int|sys||mlockall(int flags); } 266152 NOARGS { int|sys||mlockall(int flags); }
267153 NOARGS { int|sys||munlockall(void); } 267153 NOARGS { int|sys||munlockall(void); }
268154 STD { int|linux_sys||sched_setparam(pid_t pid, \ 268154 STD { int|linux_sys||sched_setparam(pid_t pid, \
269 const struct linux_sched_param *sp); } 269 const struct linux_sched_param *sp); }
270155 STD { int|linux_sys||sched_getparam(pid_t pid, \ 270155 STD { int|linux_sys||sched_getparam(pid_t pid, \
271 struct linux_sched_param *sp); } 271 struct linux_sched_param *sp); }
272156 STD { int|linux_sys||sched_setscheduler(pid_t pid, \ 272156 STD { int|linux_sys||sched_setscheduler(pid_t pid, \
273 int policy, const struct linux_sched_param *sp); } 273 int policy, const struct linux_sched_param *sp); }
274157 STD { int|linux_sys||sched_getscheduler(pid_t pid); } 274157 STD { int|linux_sys||sched_getscheduler(pid_t pid); }
275158 STD { int|linux_sys||sched_yield(void); } 275158 STD { int|linux_sys||sched_yield(void); }
276159 STD { int|linux_sys||sched_get_priority_max(int policy); } 276159 STD { int|linux_sys||sched_get_priority_max(int policy); }
277160 STD { int|linux_sys||sched_get_priority_min(int policy); } 277160 STD { int|linux_sys||sched_get_priority_min(int policy); }
278161 UNIMPL sys_sched_rr_get_interval 278161 UNIMPL sys_sched_rr_get_interval
279162 STD { int|linux_sys||nanosleep( \ 279162 STD { int|linux_sys||nanosleep( \
280 const struct linux_timespec *rqtp, \ 280 const struct linux_timespec *rqtp, \
281 struct linux_timespec *rmtp); } 281 struct linux_timespec *rmtp); }
282163 STD { void *|linux_sys||mremap(void *old_address, \ 282163 STD { void *|linux_sys||mremap(void *old_address, \
283 size_t old_size, size_t new_size, u_long flags); } 283 size_t old_size, size_t new_size, u_long flags); }
284164 STD { int|linux_sys||setresuid16(linux_uid16_t ruid, \ 284164 STD { int|linux_sys||setresuid16(linux_uid16_t ruid, \
285 linux_uid16_t euid, linux_uid16_t suid); } 285 linux_uid16_t euid, linux_uid16_t suid); }
286165 STD { int|linux_sys||getresuid16(linux_uid16_t *ruid, \ 286165 STD { int|linux_sys||getresuid16(linux_uid16_t *ruid, \
287 linux_uid16_t *euid, linux_uid16_t *suid); } 287 linux_uid16_t *euid, linux_uid16_t *suid); }
288166 UNIMPL vm86 288166 UNIMPL vm86
289167 UNIMPL query_module 289167 UNIMPL query_module
290168 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ 290168 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \
291 int timeout); } 291 int timeout); }
292169 UNIMPL nfsservctl 292169 UNIMPL nfsservctl
293170 STD { int|linux_sys||setresgid16(linux_gid16_t rgid, \ 293170 STD { int|linux_sys||setresgid16(linux_gid16_t rgid, \
294 linux_gid16_t egid, linux_gid16_t sgid); } 294 linux_gid16_t egid, linux_gid16_t sgid); }
295171 STD { int|linux_sys||getresgid16(linux_gid16_t *rgid, \ 295171 STD { int|linux_sys||getresgid16(linux_gid16_t *rgid, \
296 linux_gid16_t *egid, linux_gid16_t *sgid); } 296 linux_gid16_t *egid, linux_gid16_t *sgid); }
297172 UNIMPL prctl 297172 UNIMPL prctl
298173 STD { int|linux_sys||rt_sigreturn( \ 298173 STD { int|linux_sys||rt_sigreturn( \
299 struct linux_ucontext *ucp); } 299 struct linux_ucontext *ucp); }
300174 STD { int|linux_sys||rt_sigaction(int signum, \ 300174 STD { int|linux_sys||rt_sigaction(int signum, \
301 const struct linux_sigaction *nsa, \ 301 const struct linux_sigaction *nsa, \
302 struct linux_sigaction *osa, \ 302 struct linux_sigaction *osa, \
303 size_t sigsetsize); } 303 size_t sigsetsize); }
304175 STD { int|linux_sys||rt_sigprocmask(int how, \ 304175 STD { int|linux_sys||rt_sigprocmask(int how, \
305 const linux_sigset_t *set, \ 305 const linux_sigset_t *set, \
306 linux_sigset_t *oset, \ 306 linux_sigset_t *oset, \
307 size_t sigsetsize); } 307 size_t sigsetsize); }
308176 STD { int|linux_sys||rt_sigpending( \ 308176 STD { int|linux_sys||rt_sigpending( \
309 linux_sigset_t *set, \ 309 linux_sigset_t *set, \
310 size_t sigsetsize); } 310 size_t sigsetsize); }
311177 STD { int|linux_sys||rt_sigtimedwait( \ 311177 STD { int|linux_sys||rt_sigtimedwait( \
312 const linux_sigset_t *set, \ 312 const linux_sigset_t *set, \
313 linux_siginfo_t *info, \ 313 linux_siginfo_t *info, \
314 const struct linux_timespec *timeout); } 314 const struct linux_timespec *timeout); }
315178 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \ 315178 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \
316 linux_siginfo_t *uinfo); } 316 linux_siginfo_t *uinfo); }
317179 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \ 317179 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \
318 size_t sigsetsize); } 318 size_t sigsetsize); }
319180 STD { int|linux_sys||pread(int fd, char *buf, \ 319180 STD { int|linux_sys||pread(int fd, char *buf, \
320 size_t nbyte, off_t offset); } 320 size_t nbyte, off_t offset); }
321181 STD { int|linux_sys||pwrite(int fd, char *buf, \ 321181 STD { int|linux_sys||pwrite(int fd, char *buf, \
322 size_t nbyte, off_t offset); } 322 size_t nbyte, off_t offset); }
323182 STD { int|linux_sys||chown16(const char *path, \ 323182 STD { int|linux_sys||chown16(const char *path, \
324 linux_uid16_t uid, linux_gid16_t gid); } 324 linux_uid16_t uid, linux_gid16_t gid); }
325183 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } 325183 NOARGS { int|sys||__getcwd(char *bufp, size_t length); }
326184 UNIMPL capget 326184 UNIMPL capget
327185 UNIMPL capset 327185 UNIMPL capset
328186 STD { int|linux_sys||sigaltstack( \ 328186 STD { int|linux_sys||sigaltstack( \
329 const struct linux_sigaltstack *ss, \ 329 const struct linux_sigaltstack *ss, \
330 struct linux_sigaltstack *oss); } 330 struct linux_sigaltstack *oss); }
331187 UNIMPL sendfile 331187 UNIMPL sendfile
332188 UNIMPL getpmsg 332188 UNIMPL getpmsg
333189 UNIMPL putpmsg 333189 UNIMPL putpmsg
334190 NOARGS { int|sys|14|vfork(void); } 334190 NOARGS { int|sys|14|vfork(void); }
335191 STD { int|linux_sys||ugetrlimit(int which, \ 335191 STD { int|linux_sys||ugetrlimit(int which, \
336 struct orlimit *rlp); } 336 struct orlimit *rlp); }
337#define linux_sys_mmap2_args linux_sys_mmap_args 337#define linux_sys_mmap2_args linux_sys_mmap_args
338192 NOARGS { linux_off_t|linux_sys||mmap2(unsigned long addr, \ 338192 NOARGS { linux_off_t|linux_sys||mmap2(unsigned long addr, \
339 size_t len, int prot, int flags, int fd, \ 339 size_t len, int prot, int flags, int fd, \
340 linux_off_t offset); } 340 linux_off_t offset); }
341193 STD { int|linux_sys||truncate64(const char *path, \ 341193 STD { int|linux_sys||truncate64(const char *path, \
342 off_t length); } 342 off_t length); }
343194 STD { int|linux_sys||ftruncate64(unsigned int fd, \ 343194 STD { int|linux_sys||ftruncate64(unsigned int fd, \
344 off_t length); } 344 off_t length); }
345195 STD { int|linux_sys||stat64(const char *path, \ 345195 STD { int|linux_sys||stat64(const char *path, \
346 struct linux_stat64 *sp); } 346 struct linux_stat64 *sp); }
347196 STD { int|linux_sys||lstat64(const char *path, \ 347196 STD { int|linux_sys||lstat64(const char *path, \
348 struct linux_stat64 *sp); } 348 struct linux_stat64 *sp); }
349197 STD { int|linux_sys||fstat64(int fd, \ 349197 STD { int|linux_sys||fstat64(int fd, \
350 struct linux_stat64 *sp); } 350 struct linux_stat64 *sp); }
351198 NOARGS { int|sys||__posix_lchown(const char *path, uid_t uid, \ 351198 NOARGS { int|sys||__posix_lchown(const char *path, uid_t uid, \
352 gid_t gid); } 352 gid_t gid); }
353199 NOARGS { uid_t|sys||getuid(void); } 353199 NOARGS { uid_t|sys||getuid(void); }
354200 NOARGS { gid_t|sys||getgid(void); } 354200 NOARGS { gid_t|sys||getgid(void); }
355201 NOARGS { uid_t|sys||geteuid(void); } 355201 NOARGS { uid_t|sys||geteuid(void); }
356202 NOARGS { gid_t|sys||getegid(void); } 356202 NOARGS { gid_t|sys||getegid(void); }
357203 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); } 357203 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); }
358204 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); } 358204 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); }
359205 NOARGS { int|sys||getgroups(int gidsetsize, gid_t *gidset); } 359205 NOARGS { int|sys||getgroups(int gidsetsize, gid_t *gidset); }
360206 NOARGS { int|sys||setgroups(int gidsetsize, gid_t *gidset); } 360206 NOARGS { int|sys||setgroups(int gidsetsize, gid_t *gidset); }
361207 NOARGS { int|sys||__posix_fchown(int fd, uid_t uid, \ 361207 NOARGS { int|sys||__posix_fchown(int fd, uid_t uid, \
362 gid_t gid); } 362 gid_t gid); }
363208 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \ 363208 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \
364 uid_t suid); } 364 uid_t suid); }
365209 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \ 365209 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \
366 uid_t *suid); } 366 uid_t *suid); }
367210 STD { int|linux_sys||setresgid(gid_t rgid, gid_t egid, \ 367210 STD { int|linux_sys||setresgid(gid_t rgid, gid_t egid, \
368 gid_t sgid); } 368 gid_t sgid); }
369211 STD { int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \ 369211 STD { int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \
370 gid_t *sgid); } 370 gid_t *sgid); }
371212 NOARGS { int|sys||__posix_chown(const char *path, uid_t uid, \ 371212 NOARGS { int|sys||__posix_chown(const char *path, uid_t uid, \
372 gid_t gid); } 372 gid_t gid); }
373213 NOARGS { int|sys||setuid(uid_t uid); } 373213 NOARGS { int|sys||setuid(uid_t uid); }
374214 NOARGS { int|sys||setgid(gid_t gid); } 374214 NOARGS { int|sys||setgid(gid_t gid); }
375215 STD { int|linux_sys||setfsuid(uid_t uid); } 375215 STD { int|linux_sys||setfsuid(uid_t uid); }
376216 STD { int|linux_sys||setfsgid(gid_t gid); } 376216 STD { int|linux_sys||setfsgid(gid_t gid); }
377217 UNIMPL pivot_root 377217 UNIMPL pivot_root
378218 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } 378218 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); }
379219 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); } 379219 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); }
380220 STD { int|linux_sys||getdents64(int fd, \ 380220 STD { int|linux_sys||getdents64(int fd, \
381 struct linux_dirent64 *dent, unsigned int count); } 381 struct linux_dirent64 *dent, unsigned int count); }
382221 STD { int|linux_sys||fcntl64(int fd, int cmd, void *arg); } 382221 STD { int|linux_sys||fcntl64(int fd, int cmd, void *arg); }
383222 UNIMPL /* unused */ 383222 UNIMPL /* unused */
384223 UNIMPL /* unused */ 384223 UNIMPL /* unused */
385224 NOARGS { pid_t|linux_sys||gettid(void); } 385224 NOARGS { pid_t|linux_sys||gettid(void); }
386225 UNIMPL readahead 386225 UNIMPL readahead
387226 STD { int|linux_sys||setxattr(char *path, char *name, \ 387226 STD { int|linux_sys||setxattr(char *path, char *name, \
388 void *value, size_t size, int flags); } 388 void *value, size_t size, int flags); }
389227 STD { int|linux_sys||lsetxattr(char *path, char *name, \ 389227 STD { int|linux_sys||lsetxattr(char *path, char *name, \
390 void *value, size_t size, int flags); } 390 void *value, size_t size, int flags); }
391228 STD { int|linux_sys||fsetxattr(int fd, char *name, \ 391228 STD { int|linux_sys||fsetxattr(int fd, char *name, \
392 void *value, size_t size, int flags); } 392 void *value, size_t size, int flags); }
393229 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \ 393229 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \
394 void *value, size_t size); } 394 void *value, size_t size); }
395230 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \ 395230 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \
396 void *value, size_t size); } 396 void *value, size_t size); }
397231 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \ 397231 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \
398 void *value, size_t size); } 398 void *value, size_t size); }
399232 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \ 399232 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \
400 size_t size); } 400 size_t size); }
401233 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \ 401233 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \
402 size_t size); } 402 size_t size); }
403234 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \ 403234 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \
404 size_t size); } 404 size_t size); }
405235 STD { int|linux_sys||removexattr(char *path, char *name); } 405235 STD { int|linux_sys||removexattr(char *path, char *name); }
406236 STD { int|linux_sys||lremovexattr(char *path, char *name); } 406236 STD { int|linux_sys||lremovexattr(char *path, char *name); }
407237 STD { int|linux_sys||fremovexattr(int fd, char *name); } 407237 STD { int|linux_sys||fremovexattr(int fd, char *name); }
408238 STD { int|linux_sys||tkill(int tid, int sig); } 408238 STD { int|linux_sys||tkill(int tid, int sig); }
409239 UNIMPL sendfile64 409239 UNIMPL sendfile64
410240 STD { int|linux_sys||futex(int *uaddr, int op, int val, \ 410240 STD { int|linux_sys||futex(int *uaddr, int op, int val, \
411 const struct linux_timespec *timeout, int *uaddr2, \ 411 const struct linux_timespec *timeout, int *uaddr2, \
412 int val3); } 412 int val3); }
413241 STD { int|linux_sys||sched_setaffinity(pid_t pid, \ 413241 STD { int|linux_sys||sched_setaffinity(pid_t pid, \
414 unsigned int len, unsigned long *mask); } 414 unsigned int len, unsigned long *mask); }
415242 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ 415242 STD { int|linux_sys||sched_getaffinity(pid_t pid, \
416 unsigned int len, unsigned long *mask); } 416 unsigned int len, unsigned long *mask); }
417243 STD { int|linux_sys||set_thread_area( \ 417243 STD { int|linux_sys||set_thread_area( \
418 struct linux_user_desc *desc); } 418 struct linux_user_desc *desc); }
419244 STD { int|linux_sys||get_thread_area( \ 419244 STD { int|linux_sys||get_thread_area( \
420 struct linux_user_desc *desc); } 420 struct linux_user_desc *desc); }
421245 UNIMPL io_setup 421245 UNIMPL io_setup
422246 UNIMPL io_destroy 422246 UNIMPL io_destroy
423247 UNIMPL io_getevents 423247 UNIMPL io_getevents
424248 UNIMPL io_submit 424248 UNIMPL io_submit
425249 UNIMPL io_cancel 425249 UNIMPL io_cancel
426250 STD { int|linux_sys||fadvise64(int fd, off_t offset, \ 426250 STD { int|linux_sys||fadvise64(int fd, off_t offset, \
427 size_t len, int advice); } 427 size_t len, int advice); }
428251 UNIMPL /* unused */ 428251 UNIMPL /* unused */
429252 STD { int|linux_sys||exit_group(int error_code); } 429252 STD { int|linux_sys||exit_group(int error_code); }
430253 UNIMPL lookup_dcookie 430253 UNIMPL lookup_dcookie
431254 UNIMPL epoll_create 431254 STD { int|linux_sys||epoll_create(int size); }
432255 UNIMPL epoll_ctl 432255 STD { int|linux_sys||epoll_ctl(int epfd, int op, int fd, \
433256 UNIMPL epoll_wait 433 struct linux_epoll_event *event); }
 434256 STD { int|linux_sys||epoll_wait(int epfd, \
 435 struct linux_epoll_event *events, int maxevents, \
 436 int timeout); }
434257 UNIMPL remap_file_pages 437257 UNIMPL remap_file_pages
435258 STD { int|linux_sys||set_tid_address(int *tid); } 438258 STD { int|linux_sys||set_tid_address(int *tid); }
436259 STD { int|linux_sys||timer_create(clockid_t clockid, \ 439259 STD { int|linux_sys||timer_create(clockid_t clockid, \
437 struct linux_sigevent *evp, timer_t *timerid); } 440 struct linux_sigevent *evp, timer_t *timerid); }
438260 STD { int|linux_sys||timer_settime(timer_t timerid, \ 441260 STD { int|linux_sys||timer_settime(timer_t timerid, \
439 int flags, const struct linux_itimerspec *tim, \ 442 int flags, const struct linux_itimerspec *tim, \
440 struct linux_itimerspec *otim); } 443 struct linux_itimerspec *otim); }
441261 STD { int|linux_sys||timer_gettime(timer_t timerid, \ 444261 STD { int|linux_sys||timer_gettime(timer_t timerid, \
442 struct linux_itimerspec *tim); } 445 struct linux_itimerspec *tim); }
443262 NOARGS { int|sys||timer_getoverrun(timer_t timerid); } 446262 NOARGS { int|sys||timer_getoverrun(timer_t timerid); }
444263 NOARGS { int|sys||timer_delete(timer_t timerid); } 447263 NOARGS { int|sys||timer_delete(timer_t timerid); }
445264 STD { int|linux_sys||clock_settime(clockid_t which, \ 448264 STD { int|linux_sys||clock_settime(clockid_t which, \
446 struct linux_timespec *tp); } 449 struct linux_timespec *tp); }
447265 STD { int|linux_sys||clock_gettime(clockid_t which, \ 450265 STD { int|linux_sys||clock_gettime(clockid_t which, \
448 struct linux_timespec *tp); } 451 struct linux_timespec *tp); }
449266 STD { int|linux_sys||clock_getres(clockid_t which, \ 452266 STD { int|linux_sys||clock_getres(clockid_t which, \
450 struct linux_timespec *tp); } 453 struct linux_timespec *tp); }
451267 STD { int|linux_sys||clock_nanosleep(clockid_t which, \ 454267 STD { int|linux_sys||clock_nanosleep(clockid_t which, \
452 int flags, struct linux_timespec *rqtp, \ 455 int flags, struct linux_timespec *rqtp, \
453 struct linux_timespec *rmtp); } 456 struct linux_timespec *rmtp); }
454268 STD { int|linux_sys||statfs64(const char *path, \ 457268 STD { int|linux_sys||statfs64(const char *path, \
455 size_t sz, struct linux_statfs64 *sp); } 458 size_t sz, struct linux_statfs64 *sp); }
456269 STD { int|linux_sys||fstatfs64(int fd, \ 459269 STD { int|linux_sys||fstatfs64(int fd, \
457 size_t sz, struct linux_statfs64 *sp); } 460 size_t sz, struct linux_statfs64 *sp); }
458270 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); } 461270 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); }
459271 NOARGS { int|compat_50_sys||utimes(const char *path, \ 462271 NOARGS { int|compat_50_sys||utimes(const char *path, \
460 const struct timeval50 *tptr); } 463 const struct timeval50 *tptr); }
461272 STD { int|linux_sys||fadvise64_64(int fd, off_t offset, \ 464272 STD { int|linux_sys||fadvise64_64(int fd, off_t offset, \
462 off_t len, int advice); } 465 off_t len, int advice); }
463273 UNIMPL vserver 466273 UNIMPL vserver
464274 UNIMPL mbind 467274 UNIMPL mbind
465275 UNIMPL get_mempolicy 468275 UNIMPL get_mempolicy
466276 UNIMPL set_mempolicy 469276 UNIMPL set_mempolicy
467277 UNIMPL mq_open 470277 UNIMPL mq_open
468278 UNIMPL mq_unlink 471278 UNIMPL mq_unlink
469279 UNIMPL mq_timedsend 472279 UNIMPL mq_timedsend
470280 UNIMPL mq_timedreceive 473280 UNIMPL mq_timedreceive
471281 UNIMPL mq_notify 474281 UNIMPL mq_notify
472282 UNIMPL mq_getsetattr 475282 UNIMPL mq_getsetattr
473283 UNIMPL sys_kexec_load 476283 UNIMPL sys_kexec_load
474284 UNIMPL waitid 477284 UNIMPL waitid
475285 UNIMPL /* unused */ 478285 UNIMPL /* unused */
476286 UNIMPL add_key 479286 UNIMPL add_key
477287 UNIMPL request_key 480287 UNIMPL request_key
478288 UNIMPL keyctl 481288 UNIMPL keyctl
479289 UNIMPL ioprio_set 482289 UNIMPL ioprio_set
480290 UNIMPL ioprio_get 483290 UNIMPL ioprio_get
481291 UNIMPL inotify_init 484291 UNIMPL inotify_init
482292 UNIMPL inotify_add_watch 485292 UNIMPL inotify_add_watch
483293 UNIMPL inotify_rm_watch 486293 UNIMPL inotify_rm_watch
484294 UNIMPL migrate_pages 487294 UNIMPL migrate_pages
485295 STD { int|linux_sys||openat(int fd, const char *path, \ 488295 STD { int|linux_sys||openat(int fd, const char *path, \
486 int flags, ... linux_umode_t mode); } 489 int flags, ... linux_umode_t mode); }
487296 NOARGS { int|sys||mkdirat(int fd, const char *path, \ 490296 NOARGS { int|sys||mkdirat(int fd, const char *path, \
488 linux_umode_t mode); } 491 linux_umode_t mode); }
489297 STD { int|linux_sys||mknodat(int fd, const char *path, \ 492297 STD { int|linux_sys||mknodat(int fd, const char *path, \
490 linux_umode_t mode, unsigned dev); } 493 linux_umode_t mode, unsigned dev); }
491298 STD { int|linux_sys||fchownat(int fd, const char *path, \ 494298 STD { int|linux_sys||fchownat(int fd, const char *path, \
492 uid_t owner, gid_t group, int flag); } 495 uid_t owner, gid_t group, int flag); }
493299 UNIMPL futimesat 496299 UNIMPL futimesat
494300 STD { int|linux_sys||fstatat64(int fd, const char *path, \ 497300 STD { int|linux_sys||fstatat64(int fd, const char *path, \
495 struct linux_stat64 *sp, int flag); } 498 struct linux_stat64 *sp, int flag); }
496301 STD { int|linux_sys||unlinkat(int fd, const char *path, \ 499301 STD { int|linux_sys||unlinkat(int fd, const char *path, \
497 int flag); } 500 int flag); }
498302 NOARGS { int|sys||renameat(int fromfd, const char *from, \ 501302 NOARGS { int|sys||renameat(int fromfd, const char *from, \
499 int tofd, const char *to); } 502 int tofd, const char *to); }
500303 STD { int|linux_sys||linkat(int fd1, const char *name1, \ 503303 STD { int|linux_sys||linkat(int fd1, const char *name1, \
501 int fd2, const char *name2, int flags); } 504 int fd2, const char *name2, int flags); }
502304 NOARGS { int|sys||symlinkat(const char *path1, int fd, \ 505304 NOARGS { int|sys||symlinkat(const char *path1, int fd, \
503 const char *path2); } 506 const char *path2); }
504305 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \ 507305 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \
505 char *buf, size_t bufsize); } 508 char *buf, size_t bufsize); }
506306 STD { int|linux_sys||fchmodat(int fd, const char *path, \ 509306 STD { int|linux_sys||fchmodat(int fd, const char *path, \
507 linux_umode_t mode); } 510 linux_umode_t mode); }
508307 STD { int|linux_sys||faccessat(int fd, const char *path, \ 511307 STD { int|linux_sys||faccessat(int fd, const char *path, \
509 int amode); } 512 int amode); }
510308 STD { int|linux_sys||pselect6(int nfds, fd_set *readfds, \ 513308 STD { int|linux_sys||pselect6(int nfds, fd_set *readfds, \
511 fd_set *writefds, fd_set *exceptfds, \ 514 fd_set *writefds, fd_set *exceptfds, \
512 struct linux_timespec *timeout, \ 515 struct linux_timespec *timeout, \
513 linux_sized_sigset_t *ss); } 516 linux_sized_sigset_t *ss); }
514309 STD { int|linux_sys||ppoll(struct pollfd *fds, u_int nfds, \ 517309 STD { int|linux_sys||ppoll(struct pollfd *fds, u_int nfds, \
515 struct linux_timespec *timeout, \ 518 struct linux_timespec *timeout, \
516 linux_sigset_t *sigset); } 519 linux_sigset_t *sigset); }
517310 UNIMPL unshare 520310 UNIMPL unshare
518311 NOARGS { int|sys||__futex_set_robust_list(void *head, \ 521311 NOARGS { int|sys||__futex_set_robust_list(void *head, \
519 size_t len); } 522 size_t len); }
520312 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ 523312 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \
521 void **headp, size_t *lenp); } 524 void **headp, size_t *lenp); }
522313 UNIMPL splice 525313 UNIMPL splice
523314 UNIMPL sync_file_range 526314 UNIMPL sync_file_range
524315 UNIMPL tee 527315 UNIMPL tee
525316 UNIMPL vmsplice 528316 UNIMPL vmsplice
526317 UNIMPL move_pages 529317 UNIMPL move_pages
527318 UNIMPL getcpu 530318 UNIMPL getcpu
528319 UNIMPL epoll_wait 531319 STD { int|linux_sys||epoll_pwait(int epfd, \
 532 struct linux_epoll_event *events, int maxevents, \
 533 int timeout, const linux_sigset_t *sigmask); }
529320 STD { int|linux_sys||utimensat(int fd, const char *path, \ 534320 STD { int|linux_sys||utimensat(int fd, const char *path, \
530 struct linux_timespec *times, int flag); } 535 struct linux_timespec *times, int flag); }
531321 UNIMPL signalfd 536321 UNIMPL signalfd
532322 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ 537322 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \
533 int flags); } 538 int flags); }
534323 STD { int|linux_sys||eventfd(unsigned int initval); } 539323 STD { int|linux_sys||eventfd(unsigned int initval); }
535324 STD { int|linux_sys||fallocate(int fd, int mode, \ 540324 STD { int|linux_sys||fallocate(int fd, int mode, \
536 off_t offset, off_t len); } 541 off_t offset, off_t len); }
537325 STD { int|linux_sys||timerfd_settime(int fd, int flags, \ 542325 STD { int|linux_sys||timerfd_settime(int fd, int flags, \
538 const struct linux_itimerspec *tim, \ 543 const struct linux_itimerspec *tim, \
539 struct linux_itimerspec *otim); } 544 struct linux_itimerspec *otim); }
540326 STD { int|linux_sys||timerfd_gettime(int fd, \ 545326 STD { int|linux_sys||timerfd_gettime(int fd, \
541 struct linux_itimerspec *tim); } 546 struct linux_itimerspec *tim); }
542327 UNIMPL signalfd4 547327 UNIMPL signalfd4
543328 STD { int|linux_sys||eventfd2(unsigned int initval, \ 548328 STD { int|linux_sys||eventfd2(unsigned int initval, \
544 int flags); } 549 int flags); }
545329 UNIMPL epoll_create1 550329 STD { int|linux_sys||epoll_create1(int flags); }
546330 STD { int|linux_sys||dup3(int from, int to, int flags); } 551330 STD { int|linux_sys||dup3(int from, int to, int flags); }
547331 STD { int|linux_sys||pipe2( int *pfds, int flags); } 552331 STD { int|linux_sys||pipe2( int *pfds, int flags); }
548332 UNIMPL inotify_init1 553332 UNIMPL inotify_init1
549333 STD { int|linux_sys||preadv(int fd, \ 554333 STD { int|linux_sys||preadv(int fd, \
550 const struct iovec *iovp, int iovcnt, \ 555 const struct iovec *iovp, int iovcnt, \
551 unsigned long off_lo, unsigned long off_hi); } 556 unsigned long off_lo, unsigned long off_hi); }
552334 STD { int|linux_sys||pwritev(int fd, \ 557334 STD { int|linux_sys||pwritev(int fd, \
553 const struct iovcnt *iovp, int iovcnt, \ 558 const struct iovcnt *iovp, int iovcnt, \
554 unsigned long off_lo, unsigned long off_hi); } 559 unsigned long off_lo, unsigned long off_hi); }
555335 UNIMPL rt_tgsigqueueinfo 560335 UNIMPL rt_tgsigqueueinfo
556336 UNIMPL perf_counter_open 561336 UNIMPL perf_counter_open
557337 UNIMPL recvmmsg 562337 UNIMPL recvmmsg
558338 UNIMPL fanotify_init 563338 UNIMPL fanotify_init
559339 UNIMPL fanotify_mark 564339 UNIMPL fanotify_mark
560340 STD { int|linux_sys||prlimit64(pid_t pid, int which, \ 565340 STD { int|linux_sys||prlimit64(pid_t pid, int which, \
561 struct rlimit *new_rlp, struct rlimit *old_rlp); } 566 struct rlimit *new_rlp, struct rlimit *old_rlp); }
562341 UNIMPL name_to_handle_at 567341 UNIMPL name_to_handle_at
563342 UNIMPL open_by_handle_at 568342 UNIMPL open_by_handle_at
564343 UNIMPL clock_adjtime 569343 UNIMPL clock_adjtime
565344 UNIMPL syncfs 570344 UNIMPL syncfs
566345 UNIMPL sendmmsg 571345 UNIMPL sendmmsg
567346 UNIMPL setns 572346 UNIMPL setns
568347 UNIMPL process_vm_readv 573347 UNIMPL process_vm_readv
569348 UNIMPL process_vm_writev 574348 UNIMPL process_vm_writev
570349 UNIMPL kcmp 575349 UNIMPL kcmp
571350 UNIMPL finit_module 576350 UNIMPL finit_module
572351 UNIMPL sched_setattr 577351 UNIMPL sched_setattr
573352 UNIMPL sched_getattr 578352 UNIMPL sched_getattr
574353 UNIMPL renameat2 579353 UNIMPL renameat2
575354 UNIMPL seccomp 580354 UNIMPL seccomp
576355 NOARGS { ssize_t|sys||getrandom(void *buf, size_t buflen, \ 581355 NOARGS { ssize_t|sys||getrandom(void *buf, size_t buflen, \
577 unsigned int flags); } 582 unsigned int flags); }
578356 STD { int|linux_sys||memfd_create(const char *name, \ 583356 STD { int|linux_sys||memfd_create(const char *name, \
579 unsigned int flags); } 584 unsigned int flags); }
580357 UNIMPL bpf 585357 UNIMPL bpf
581358 UNIMPL execveat 586358 UNIMPL execveat
582359 UNIMPL socket 587359 UNIMPL socket
583360 UNIMPL socketpair 588360 UNIMPL socketpair
584361 UNIMPL bind 589361 UNIMPL bind
585362 UNIMPL connect 590362 UNIMPL connect
586363 UNIMPL listen 591363 UNIMPL listen
587364 UNIMPL accept4 592364 UNIMPL accept4
588365 UNIMPL getsockopt 593365 UNIMPL getsockopt
589366 UNIMPL setsockopt 594366 UNIMPL setsockopt
590367 UNIMPL getsockname 595367 UNIMPL getsockname
591368 UNIMPL getpeername 596368 UNIMPL getpeername
592369 UNIMPL sendto 597369 UNIMPL sendto
593370 UNIMPL sendmsg 598370 UNIMPL sendmsg
594371 UNIMPL recvfrom 599371 UNIMPL recvfrom
595372 UNIMPL recvmsg 600372 UNIMPL recvmsg
596373 UNIMPL shutdown 601373 UNIMPL shutdown
597374 UNIMPL userfaultfd 602374 UNIMPL userfaultfd
598375 UNIMPL membarrier 603375 UNIMPL membarrier
599376 UNIMPL mlock2 604376 UNIMPL mlock2
600377 UNIMPL copy_file_range 605377 UNIMPL copy_file_range
601378 UNIMPL preadv2 606378 UNIMPL preadv2
602379 UNIMPL pwritev2 607379 UNIMPL pwritev2
603380 UNIMPL pkey_mprotect 608380 UNIMPL pkey_mprotect
604381 UNIMPL pkey_alloc 609381 UNIMPL pkey_alloc
605382 UNIMPL pkey_free 610382 UNIMPL pkey_free
606383 UNIMPL statx 611383 UNIMPL statx
607384 UNIMPL arch_prctl 612384 UNIMPL arch_prctl
608385 UNIMPL io_pgetevents 613385 UNIMPL io_pgetevents
609386 UNIMPL rseq 614386 UNIMPL rseq
610387 UNIMPL 615387 UNIMPL
611388 UNIMPL 616388 UNIMPL
612389 UNIMPL 617389 UNIMPL
613390 UNIMPL 618390 UNIMPL
614391 UNIMPL 619391 UNIMPL
615392 UNIMPL 620392 UNIMPL
616393 UNIMPL semget 621393 UNIMPL semget
617394 UNIMPL semctl 622394 UNIMPL semctl
618395 UNIMPL shmget 623395 UNIMPL shmget
619396 UNIMPL shmctl 624396 UNIMPL shmctl
620397 UNIMPL shmat 625397 UNIMPL shmat
621398 UNIMPL shmdt 626398 UNIMPL shmdt
622399 UNIMPL msgget 627399 UNIMPL msgget
623400 UNIMPL msgsnd 628400 UNIMPL msgsnd
624401 UNIMPL msgrcv 629401 UNIMPL msgrcv
625402 UNIMPL msgctl 630402 UNIMPL msgctl
626403 UNIMPL clock_gettime64 631403 UNIMPL clock_gettime64
627404 UNIMPL clock_settime64 632404 UNIMPL clock_settime64
628405 UNIMPL clock_adjtime64 633405 UNIMPL clock_adjtime64
629406 UNIMPL clock_getres_time64 634406 UNIMPL clock_getres_time64
630407 UNIMPL clock_nanosleep_time64 635407 UNIMPL clock_nanosleep_time64
631408 UNIMPL timer_gettime64 636408 UNIMPL timer_gettime64
632409 UNIMPL timer_settime64 637409 UNIMPL timer_settime64
633410 UNIMPL timerfd_gettime64 638410 UNIMPL timerfd_gettime64
634411 UNIMPL timerfd_settime64 639411 UNIMPL timerfd_settime64
635412 UNIMPL utimensat_time64 640412 UNIMPL utimensat_time64
636413 UNIMPL pselect6_time64 641413 UNIMPL pselect6_time64
637414 UNIMPL ppoll_time64 642414 UNIMPL ppoll_time64
638415 UNIMPL 643415 UNIMPL
639416 UNIMPL io_pgetevents_time64 644416 UNIMPL io_pgetevents_time64
640417 UNIMPL recvmmsg_time64 645417 UNIMPL recvmmsg_time64
641418 UNIMPL mq_timedsend_time64 646418 UNIMPL mq_timedsend_time64
642419 UNIMPL mq_timedreceive_time64 647419 UNIMPL mq_timedreceive_time64
643420 UNIMPL semtimedop_time64 648420 UNIMPL semtimedop_time64
644421 UNIMPL rt_sigtimedwait_time64 649421 UNIMPL rt_sigtimedwait_time64
645422 UNIMPL futex_time64 650422 UNIMPL futex_time64
646423 UNIMPL sched_rr_get_interval_time64 651423 UNIMPL sched_rr_get_interval_time64
647424 UNIMPL pidfd_send_signal 652424 UNIMPL pidfd_send_signal
648425 UNIMPL io_uring_setup 653425 UNIMPL io_uring_setup
649426 UNIMPL io_uring_enter 654426 UNIMPL io_uring_enter
650427 UNIMPL io_uring_register 655427 UNIMPL io_uring_register
651428 UNIMPL open_tree 656428 UNIMPL open_tree
652429 UNIMPL move_mount 657429 UNIMPL move_mount
653430 UNIMPL fsopen 658430 UNIMPL fsopen
654431 UNIMPL fsconfig 659431 UNIMPL fsconfig
655432 UNIMPL fsmount 660432 UNIMPL fsmount
656433 UNIMPL fspick 661433 UNIMPL fspick
657434 UNIMPL pidfd_open 662434 UNIMPL pidfd_open
658435 UNIMPL clone3 663435 UNIMPL clone3
659436 UNIMPL close_range 664436 UNIMPL close_range
660437 UNIMPL openat2 665437 UNIMPL openat2
661438 UNIMPL pidfd_getfd 666438 UNIMPL pidfd_getfd
662439 UNIMPL faccessat2 667439 UNIMPL faccessat2
663440 UNIMPL process_madvise 668440 UNIMPL process_madvise
 669441 STD { int|linux_sys||epoll_pwait2(int epfd, \
 670 struct linux_epoll_event *events, int maxevents, \
 671 const struct linux_timespec *timeout, \
 672 const linux_sigset_t *sigmask); }

cvs diff -r1.101 -r1.102 src/sys/compat/linux/arch/m68k/syscalls.master (switch to unified diff)

--- src/sys/compat/linux/arch/m68k/syscalls.master 2021/12/02 04:29:48 1.101
+++ src/sys/compat/linux/arch/m68k/syscalls.master 2023/07/28 19:01:11 1.102
@@ -1,628 +1,699 @@ @@ -1,628 +1,699 @@
1 $NetBSD: syscalls.master,v 1.101 2021/12/02 04:29:48 ryo Exp $ 1 $NetBSD: syscalls.master,v 1.102 2023/07/28 19:01:11 christos Exp $
2 2
3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
4 4
5; NetBSD m68k COMPAT_LINUX system call name/number "master" file. 5; NetBSD m68k COMPAT_LINUX system call name/number "master" file.
6; (See syscalls.conf to see what it is processed into.) 6; (See syscalls.conf to see what it is processed into.)
7; 7;
8; Fields: number type [type-dependent ...] 8; Fields: number type [type-dependent ...]
9; number system call number, must be in order 9; number system call number, must be in order
10; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of 10; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
11; the compatibility options defined in syscalls.conf. 11; the compatibility options defined in syscalls.conf.
12; 12;
13; types: 13; types:
14; STD always included 14; STD always included
15; OBSOL obsolete, not included in system 15; OBSOL obsolete, not included in system
16; UNIMPL unimplemented, not included in system 16; UNIMPL unimplemented, not included in system
17; NODEF included, but don't define the syscall number 17; NODEF included, but don't define the syscall number
18; NOARGS included, but don't define the syscall args structure 18; NOARGS included, but don't define the syscall args structure
19; INDIR included, but don't define the syscall args structure 19; INDIR included, but don't define the syscall args structure
20; and allow it to be "really" varargs. 20; and allow it to be "really" varargs.
21; 21;
22; The compat options are defined in the syscalls.conf file, and the 22; The compat options are defined in the syscalls.conf file, and the
23; compat option name is prefixed to the syscall name. Other than 23; compat option name is prefixed to the syscall name. Other than
24; that, they're like NODEF (for 'compat' options), or STD (for 24; that, they're like NODEF (for 'compat' options), or STD (for
25; 'libcompat' options). 25; 'libcompat' options).
26; 26;
27; The type-dependent arguments are as follows: 27; The type-dependent arguments are as follows:
28; For STD, NODEF, NOARGS, and compat syscalls: 28; For STD, NODEF, NOARGS, and compat syscalls:
29; { pseudo-proto } [alias] 29; { pseudo-proto } [alias]
30; For other syscalls: 30; For other syscalls:
31; [comment] 31; [comment]
32; 32;
33; #ifdef's, etc. may be included, and are copied to the output files. 33; #ifdef's, etc. may be included, and are copied to the output files.
34; #include's are copied to the syscall names and switch definition files only. 34; #include's are copied to the syscall names and switch definition files only.
35 35
36#if defined(_KERNEL_OPT) 36#if defined(_KERNEL_OPT)
37#include "opt_compat_netbsd.h" 37#include "opt_compat_netbsd.h"
38#include "opt_compat_43.h" 38#include "opt_compat_43.h"
39#endif 39#endif
40 40
41#include <sys/param.h> 41#include <sys/param.h>
42#include <sys/poll.h> 42#include <sys/poll.h>
43#include <sys/systm.h> 43#include <sys/systm.h>
44#include <sys/signal.h> 44#include <sys/signal.h>
45#include <sys/mount.h> 45#include <sys/mount.h>
46#include <sys/sched.h> 46#include <sys/sched.h>
47#include <sys/syscallargs.h> 47#include <sys/syscallargs.h>
48 48
49#include <compat/linux/common/linux_types.h> 49#include <compat/linux/common/linux_types.h>
50#include <compat/linux/common/linux_signal.h> 50#include <compat/linux/common/linux_signal.h>
51#include <compat/linux/common/linux_siginfo.h> 51#include <compat/linux/common/linux_siginfo.h>
52#include <compat/linux/common/linux_machdep.h> 52#include <compat/linux/common/linux_machdep.h>
53#include <compat/linux/common/linux_mmap.h> 53#include <compat/linux/common/linux_mmap.h>
54 54
55#include <compat/linux/linux_syscallargs.h> 55#include <compat/linux/linux_syscallargs.h>
56 56
57%% 57%%
58 58
590 NOARGS { int|linux_sys||nosys(void); } syscall 590 NOARGS { int|linux_sys||nosys(void); } syscall
601 STD { int|linux_sys||exit(int rval); } 601 STD { int|linux_sys||exit(int rval); }
612 NOARGS { int|sys||fork(void); } 612 NOARGS { int|sys||fork(void); }
623 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } 623 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
634 NOARGS { ssize_t|sys||write(int fd, const void *buf, \ 634 NOARGS { ssize_t|sys||write(int fd, const void *buf, \
64 size_t nbyte); } 64 size_t nbyte); }
655 STD { int|linux_sys||open(const char *path, int flags, \ 655 STD { int|linux_sys||open(const char *path, int flags, \
66 linux_umode_t mode); } 66 linux_umode_t mode); }
676 NOARGS { int|sys||close(int fd); } 676 NOARGS { int|sys||close(int fd); }
687 STD { int|linux_sys||waitpid(int pid, int *status, \ 687 STD { int|linux_sys||waitpid(int pid, int *status, \
69 int options);} 69 int options);}
708 STD { int|linux_sys||creat(const char *path, linux_umode_t mode); } 708 STD { int|linux_sys||creat(const char *path, linux_umode_t mode); }
719 NOARGS { int|sys||link(const char *path, const char *link); } 719 NOARGS { int|sys||link(const char *path, const char *link); }
7210 STD { int|linux_sys||unlink(const char *path); } 7210 STD { int|linux_sys||unlink(const char *path); }
7311 NOARGS { int|sys||execve(const char *path, char **argp, \ 7311 NOARGS { int|sys||execve(const char *path, char **argp, \
74 char **envp); } 74 char **envp); }
7512 NOARGS { int|sys||chdir(const char *path); } 7512 NOARGS { int|sys||chdir(const char *path); }
7613 STD { int|linux_sys||time(linux_time_t *t); } 7613 STD { int|linux_sys||time(linux_time_t *t); }
7714 STD { int|linux_sys||mknod(const char *path, linux_umode_t mode, \ 7714 STD { int|linux_sys||mknod(const char *path, linux_umode_t mode, \
78 unsigned dev); } 78 unsigned dev); }
7915 NOARGS { int|sys||chmod(const char *path, int mode); } 7915 NOARGS { int|sys||chmod(const char *path, int mode); }
80;16 lchown on i386; chown on m68k. 80;16 lchown on i386; chown on m68k.
8116 STD { int|linux_sys||chown16(const char *path, \ 8116 STD { int|linux_sys||chown16(const char *path, \
82 linux_uid16_t uid, linux_gid16_t gid); } 82 linux_uid16_t uid, linux_gid16_t gid); }
8317 OBSOL break 8317 OBSOL break
8418 OBSOL ostat 8418 OBSOL ostat
85#if !defined(_KERNEL) || defined(COMPAT_43) 85#if !defined(_KERNEL) || defined(COMPAT_43)
8619 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ 8619 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \
87 int whence); } 87 int whence); }
88#else 88#else
8919 UNIMPL compat_43_sys_lseek 8919 UNIMPL compat_43_sys_lseek
90#endif 90#endif
9120 NOARGS { pid_t|sys||getpid(void); } 9120 NOARGS { pid_t|sys||getpid(void); }
9221 UNIMPL mount 9221 UNIMPL mount
9322 OBSOL umount 9322 OBSOL umount
9423 NOARGS linux_setuid16 { int|sys||setuid(uid_t uid); } 9423 NOARGS linux_setuid16 { int|sys||setuid(uid_t uid); }
9524 NOARGS linux_getuid16 { uid_t|sys||getuid(void); } 9524 NOARGS linux_getuid16 { uid_t|sys||getuid(void); }
9625 STD { int|linux_sys||stime(linux_time_t *t); } 9625 STD { int|linux_sys||stime(linux_time_t *t); }
9726 STD { int|linux_sys||ptrace(int request, int pid, \ 9726 STD { int|linux_sys||ptrace(int request, int pid, \
98 int addr, int data); } 98 int addr, int data); }
9927 STD { int|linux_sys||alarm(unsigned int secs); } 9927 STD { int|linux_sys||alarm(unsigned int secs); }
10028 OBSOL ofstat 10028 OBSOL ofstat
10129 STD { int|linux_sys||pause(void); } 10129 STD { int|linux_sys||pause(void); }
10230 STD { int|linux_sys||utime(const char *path, \ 10230 STD { int|linux_sys||utime(const char *path, \
103 struct linux_utimbuf *times); } 103 struct linux_utimbuf *times); }
10431 OBSOL stty 10431 OBSOL stty
10532 OBSOL gtty 10532 OBSOL gtty
10633 NOARGS { int|sys||access(const char *path, int flags); } 10633 NOARGS { int|sys||access(const char *path, int flags); }
10734 STD { int|linux_sys||nice(int incr); } 10734 STD { int|linux_sys||nice(int incr); }
10835 OBSOL ftime 10835 OBSOL ftime
10936 NOARGS { int|sys||sync(void); } 10936 NOARGS { int|sys||sync(void); }
11037 STD { int|linux_sys||kill(int pid, int signum); } 11037 STD { int|linux_sys||kill(int pid, int signum); }
11138 NOARGS { int|sys||__posix_rename(const char *from, \ 11138 NOARGS { int|sys||__posix_rename(const char *from, \
112 const char *to); } 112 const char *to); }
11339 NOARGS { int|sys||mkdir(const char *path, linux_umode_t mode); } 11339 NOARGS { int|sys||mkdir(const char *path, linux_umode_t mode); }
11440 NOARGS { int|sys||rmdir(const char *path); } 11440 NOARGS { int|sys||rmdir(const char *path); }
11541 NOARGS { int|sys||dup(int fd); } 11541 NOARGS { int|sys||dup(int fd); }
11642 STD { int|linux_sys||pipe(int *pfds); } 11642 STD { int|linux_sys||pipe(int *pfds); }
11743 STD { int|linux_sys||times(struct times *tms); } 11743 STD { int|linux_sys||times(struct times *tms); }
11844 OBSOL prof 11844 OBSOL prof
11945 STD { int|linux_sys||brk(char *nsize); } 11945 STD { int|linux_sys||brk(char *nsize); }
12046 NOARGS linux_setgid16 { int|sys||setgid(gid_t gid); } 12046 NOARGS linux_setgid16 { int|sys||setgid(gid_t gid); }
12147 NOARGS linux_getgid16 { gid_t|sys||getgid(void); } 12147 NOARGS linux_getgid16 { gid_t|sys||getgid(void); }
12248 STD { int|linux_sys||signal(int signum, \ 12248 STD { int|linux_sys||signal(int signum, \
123 linux_handler_t handler); } 123 linux_handler_t handler); }
12449 NOARGS linux_geteuid16 { uid_t|sys||geteuid(void); } 12449 NOARGS linux_geteuid16 { uid_t|sys||geteuid(void); }
12550 NOARGS linux_getegid16 { gid_t|sys||getegid(void); } 12550 NOARGS linux_getegid16 { gid_t|sys||getegid(void); }
12651 NOARGS { int|sys||acct(char *path); } 12651 NOARGS { int|sys||acct(char *path); }
12752 UNIMPL umount 12752 UNIMPL umount
12853 OBSOL lock 12853 OBSOL lock
12954 STD { int|linux_sys||ioctl(int fd, u_long com, \ 12954 STD { int|linux_sys||ioctl(int fd, u_long com, \
130 void *data); } 130 void *data); }
13155 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); } 13155 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); }
13256 OBSOL mpx 13256 OBSOL mpx
13357 NOARGS { int|sys||setpgid(int pid, int pgid); } 13357 NOARGS { int|sys||setpgid(int pid, int pgid); }
13458 OBSOL ulimit 13458 OBSOL ulimit
13559 UNIMPL oldolduname 13559 UNIMPL oldolduname
13660 NOARGS { int|sys||umask(int newmask); } 13660 NOARGS { int|sys||umask(int newmask); }
13761 NOARGS { int|sys||chroot(char *path); } 13761 NOARGS { int|sys||chroot(char *path); }
13862 UNIMPL ustat 13862 UNIMPL ustat
13963 NOARGS { int|sys||dup2(int from, int to); } 13963 NOARGS { int|sys||dup2(int from, int to); }
14064 NOARGS { pid_t|sys||getppid(void); } 14064 NOARGS { pid_t|sys||getppid(void); }
14165 NOARGS { int|sys||getpgrp(void); } 14165 NOARGS { int|sys||getpgrp(void); }
14266 NOARGS { int|sys||setsid(void); } 14266 NOARGS { int|sys||setsid(void); }
14367 STD { int|linux_sys||sigaction(int signum, \ 14367 STD { int|linux_sys||sigaction(int signum, \
144 const struct linux_old_sigaction *nsa, \ 144 const struct linux_old_sigaction *nsa, \
145 struct linux_old_sigaction *osa); } 145 struct linux_old_sigaction *osa); }
14668 STD { int|linux_sys||siggetmask(void); } 14668 STD { int|linux_sys||siggetmask(void); }
14769 STD { int|linux_sys||sigsetmask(linux_old_sigset_t mask); } 14769 STD { int|linux_sys||sigsetmask(linux_old_sigset_t mask); }
14870 STD { int|linux_sys||setreuid16(linux_uid16_t ruid, \ 14870 STD { int|linux_sys||setreuid16(linux_uid16_t ruid, \
149 linux_uid16_t euid); } 149 linux_uid16_t euid); }
15071 STD { int|linux_sys||setregid16(linux_gid16_t rgid, \ 15071 STD { int|linux_sys||setregid16(linux_gid16_t rgid, \
151 linux_gid16_t egid); } 151 linux_gid16_t egid); }
15272 STD { int|linux_sys||sigsuspend(void *restart, \ 15272 STD { int|linux_sys||sigsuspend(void *restart, \
153 int oldmask, int mask); } 153 int oldmask, int mask); }
15473 STD { int|linux_sys||sigpending(linux_old_sigset_t *set); } 15473 STD { int|linux_sys||sigpending(linux_old_sigset_t *set); }
155#if !defined(_KERNEL) || defined(COMPAT_43) 155#if !defined(_KERNEL) || defined(COMPAT_43)
15674 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ 15674 NOARGS { int|compat_43_sys||sethostname(char *hostname, \
157 u_int len);} 157 u_int len);}
158#else 158#else
15974 UNIMPL compat_43_sys_sethostname 15974 UNIMPL compat_43_sys_sethostname
160#endif 160#endif
16175 STD { int|linux_sys||setrlimit(u_int which, \ 16175 STD { int|linux_sys||setrlimit(u_int which, \
162 struct orlimit *rlp); } 162 struct orlimit *rlp); }
16376 STD { int|linux_sys||getrlimit(u_int which, \ 16376 STD { int|linux_sys||getrlimit(u_int which, \
164 struct orlimit *rlp); } 164 struct orlimit *rlp); }
16577 NOARGS { int|compat_50_sys||getrusage(int who, \ 16577 NOARGS { int|compat_50_sys||getrusage(int who, \
166 struct rusage50 *rusage); } 166 struct rusage50 *rusage); }
16778 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \ 16778 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \
168 struct timezone *tzp); } 168 struct timezone *tzp); }
16979 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \ 16979 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \
170 struct timezone *tzp); } 170 struct timezone *tzp); }
17180 STD { int|linux_sys||getgroups16(int gidsetsize, \ 17180 STD { int|linux_sys||getgroups16(int gidsetsize, \
172 linux_gid16_t *gidset); } 172 linux_gid16_t *gidset); }
17381 STD { int|linux_sys||setgroups16(int gidsetsize, \ 17381 STD { int|linux_sys||setgroups16(int gidsetsize, \
174 linux_gid16_t *gidset); } 174 linux_gid16_t *gidset); }
17582 STD { int|linux_sys||oldselect(struct linux_oldselect *lsp); } 17582 STD { int|linux_sys||oldselect(struct linux_oldselect *lsp); }
17683 NOARGS { int|sys||symlink(const char *path, const char *to); } 17683 NOARGS { int|sys||symlink(const char *path, const char *to); }
177#if !defined(_KERNEL) || defined(COMPAT_43) 177#if !defined(_KERNEL) || defined(COMPAT_43)
17884 NOARGS { int|compat_43_sys||lstat(const char *path, \ 17884 NOARGS { int|compat_43_sys||lstat(const char *path, \
179 struct stat43 *up); } oolstat 179 struct stat43 *up); } oolstat
180#else 180#else
18184 UNIMPL compat_43_sys_lstat 18184 UNIMPL compat_43_sys_lstat
182#endif 182#endif
18385 NOARGS { ssize_t|sys||readlink(const char *path, char *buf, \ 18385 NOARGS { ssize_t|sys||readlink(const char *path, char *buf, \
184 int count); } 184 int count); }
185#ifdef EXEC_AOUT 185#ifdef EXEC_AOUT
18686 STD { int|linux_sys||uselib(const char *path); } 18686 STD { int|linux_sys||uselib(const char *path); }
187#else 187#else
18886 UNIMPL sys_uselib 18886 UNIMPL sys_uselib
189#endif 189#endif
19087 STD { int|linux_sys||swapon(char *name); } 19087 STD { int|linux_sys||swapon(char *name); }
19188 STD { int|linux_sys||reboot(int magic1, int magic2, \ 19188 STD { int|linux_sys||reboot(int magic1, int magic2, \
192 int cmd, void *arg); } 192 int cmd, void *arg); }
19389 STD { int|linux_sys||readdir(int fd, void *dent, \ 19389 STD { int|linux_sys||readdir(int fd, void *dent, \
194 unsigned int count); } 194 unsigned int count); }
19590 STD { int|linux_sys||old_mmap(struct linux_oldmmap *lmp); } 19590 STD { int|linux_sys||old_mmap(struct linux_oldmmap *lmp); }
19691 NOARGS { int|sys||munmap(void *addr, size_t len); } 19691 NOARGS { int|sys||munmap(void *addr, size_t len); }
19792 NOARGS { int|compat_43_sys||truncate(const char *path, \ 19792 NOARGS { int|compat_43_sys||truncate(const char *path, \
198 long length); } 198 long length); }
199#if !defined(_KERNEL) || defined(COMPAT_43) 199#if !defined(_KERNEL) || defined(COMPAT_43)
20093 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } 20093 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); }
201#else 201#else
20293 UNIMPL compat_43_sys_ftruncate 20293 UNIMPL compat_43_sys_ftruncate
203#endif 203#endif
20494 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); } 20494 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); }
20595 STD { int|linux_sys||fchown16(int fd, linux_uid16_t uid, \ 20595 STD { int|linux_sys||fchown16(int fd, linux_uid16_t uid, \
206 linux_gid16_t gid); } 206 linux_gid16_t gid); }
20796 STD { int|linux_sys||getpriority(int which, int who); } 20796 STD { int|linux_sys||getpriority(int which, int who); }
20897 NOARGS { int|sys||setpriority(int which, int who, int prio); } 20897 NOARGS { int|sys||setpriority(int which, int who, int prio); }
20998 NOARGS { int|sys||profil(void *samples, u_int size, \ 20998 NOARGS { int|sys||profil(void *samples, u_int size, \
210 u_int offset, u_int scale); } 210 u_int offset, u_int scale); }
21199 STD { int|linux_sys||statfs(const char *path, \ 21199 STD { int|linux_sys||statfs(const char *path, \
212 struct linux_statfs *sp); } 212 struct linux_statfs *sp); }
213100 STD { int|linux_sys||fstatfs(int fd, \ 213100 STD { int|linux_sys||fstatfs(int fd, \
214 struct linux_statfs *sp); } 214 struct linux_statfs *sp); }
215101 UNIMPL ioperm 215101 UNIMPL ioperm
216102 STD { int|linux_sys||socketcall(int what, void *args); } 216102 STD { int|linux_sys||socketcall(int what, void *args); }
217103 UNIMPL syslog 217103 UNIMPL syslog
218104 NOARGS { int|compat_50_sys||setitimer(int which, \ 218104 NOARGS { int|compat_50_sys||setitimer(int which, \
219 struct itimerval50 *itv, \ 219 struct itimerval50 *itv, \
220 struct itimerval50 *oitv); } 220 struct itimerval50 *oitv); }
221105 NOARGS { int|compat_50_sys||getitimer(int which, \ 221105 NOARGS { int|compat_50_sys||getitimer(int which, \
222 struct itimerval50 *itv); } 222 struct itimerval50 *itv); }
223106 STD { int|linux_sys||stat(const char *path, \ 223106 STD { int|linux_sys||stat(const char *path, \
224 struct linux_stat *sp); } 224 struct linux_stat *sp); }
225107 STD { int|linux_sys||lstat(const char *path, \ 225107 STD { int|linux_sys||lstat(const char *path, \
226 struct linux_stat *sp); } 226 struct linux_stat *sp); }
227108 STD { int|linux_sys||fstat(int fd, struct linux_stat *sp); } 227108 STD { int|linux_sys||fstat(int fd, struct linux_stat *sp); }
228109 UNIMPL olduname 228109 UNIMPL olduname
229110 UNIMPL iopl 229110 UNIMPL iopl
230111 UNIMPL vhangup 230111 UNIMPL vhangup
231112 UNIMPL idle 231112 UNIMPL idle
232113 UNIMPL vm86old 232113 UNIMPL vm86old
233114 STD { int|linux_sys||wait4(int pid, int *status, \ 233114 STD { int|linux_sys||wait4(int pid, int *status, \
234 int options, struct rusage50 *rusage); } 234 int options, struct rusage50 *rusage); }
235115 STD { int|linux_sys||swapoff(const char *path); } 235115 STD { int|linux_sys||swapoff(const char *path); }
236116 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); } 236116 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); }
237117 STD { int|linux_sys||ipc(int what, int a1, int a2, int a3, \ 237117 STD { int|linux_sys||ipc(int what, int a1, int a2, int a3, \
238 void *ptr); } 238 void *ptr); }
239118 NOARGS { int|sys||fsync(int fd); } 239118 NOARGS { int|sys||fsync(int fd); }
240119 STD { int|linux_sys||sigreturn(void); } 240119 STD { int|linux_sys||sigreturn(void); }
241120 STD { int|linux_sys||clone(int flags, void *stack, \ 241120 STD { int|linux_sys||clone(int flags, void *stack, \
242 void *parent_tidptr, void *tls, void *child_tidptr); } 242 void *parent_tidptr, void *tls, void *child_tidptr); }
243121 STD { int|linux_sys||setdomainname(char *domainname, \ 243121 STD { int|linux_sys||setdomainname(char *domainname, \
244 int len); } 244 int len); }
245122 STD { int|linux_sys||uname(struct linux_utsname *up); } 245122 STD { int|linux_sys||uname(struct linux_utsname *up); }
246123 STD { int|linux_sys||cacheflush(unsigned long addr, \ 246123 STD { int|linux_sys||cacheflush(unsigned long addr, \
247 int scope, int cache, unsigned long len); } 247 int scope, int cache, unsigned long len); }
248124 UNIMPL adjtimex 248124 UNIMPL adjtimex
249125 STD { int|linux_sys||mprotect(const void *start, \ 249125 STD { int|linux_sys||mprotect(const void *start, \
250 unsigned long len, int prot); } 250 unsigned long len, int prot); }
251126 STD { int|linux_sys||sigprocmask(int how, \ 251126 STD { int|linux_sys||sigprocmask(int how, \
252 const linux_old_sigset_t *set, \ 252 const linux_old_sigset_t *set, \
253 linux_old_sigset_t *oset); } 253 linux_old_sigset_t *oset); }
254127 UNIMPL create_module 254127 UNIMPL create_module
255128 UNIMPL init_module 255128 UNIMPL init_module
256129 UNIMPL delete_module 256129 UNIMPL delete_module
257130 UNIMPL get_kernel_syms 257130 UNIMPL get_kernel_syms
258131 UNIMPL quotactl 258131 UNIMPL quotactl
259132 NOARGS { pid_t|sys||getpgid(pid_t pid); } 259132 NOARGS { pid_t|sys||getpgid(pid_t pid); }
260133 NOARGS { int|sys||fchdir(int fd); } 260133 NOARGS { int|sys||fchdir(int fd); }
261134 UNIMPL bdflush 261134 UNIMPL bdflush
262135 UNIMPL sysfs 262135 UNIMPL sysfs
263136 STD { int|linux_sys||personality(unsigned long per); } 263136 STD { int|linux_sys||personality(unsigned long per); }
264137 UNIMPL afs_syscall 264137 UNIMPL afs_syscall
265138 NOARGS linux_setfsuid16 { int|linux_sys||setfsuid(uid_t uid); } 265138 NOARGS linux_setfsuid16 { int|linux_sys||setfsuid(uid_t uid); }
266139 NOARGS linux_setfsgid16 { int|linux_sys||setfsgid(gid_t gid); } 266139 NOARGS linux_setfsgid16 { int|linux_sys||setfsgid(gid_t gid); }
267140 STD { int|linux_sys||llseek(int fd, u_int32_t ohigh, \ 267140 STD { int|linux_sys||llseek(int fd, u_int32_t ohigh, \
268 u_int32_t olow, void *res, int whence); } 268 u_int32_t olow, void *res, int whence); }
269141 STD { int|linux_sys||getdents(int fd, \ 269141 STD { int|linux_sys||getdents(int fd, \
270 struct linux_dirent *dent, unsigned int count); } 270 struct linux_dirent *dent, unsigned int count); }
271142 STD { int|linux_sys||select(int nfds, fd_set *readfds, \ 271142 STD { int|linux_sys||select(int nfds, fd_set *readfds, \
272 fd_set *writefds, fd_set *exceptfds, \ 272 fd_set *writefds, fd_set *exceptfds, \
273 struct timeval50 *timeout); } 273 struct timeval50 *timeout); }
274143 NOARGS { int|sys||flock(int fd, int how); } 274143 NOARGS { int|sys||flock(int fd, int how); }
275144 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } 275144 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); }
276145 NOARGS { ssize_t|sys||readv(int fd, \ 276145 NOARGS { ssize_t|sys||readv(int fd, \
277 const struct iovec *iovp, int iovcnt); } 277 const struct iovec *iovp, int iovcnt); }
278146 NOARGS { ssize_t|sys||writev(int fd, \ 278146 NOARGS { ssize_t|sys||writev(int fd, \
279 const struct iovec *iovp, int iovcnt); } 279 const struct iovec *iovp, int iovcnt); }
280147 NOARGS { pid_t|sys||getsid(pid_t pid); } 280147 NOARGS { pid_t|sys||getsid(pid_t pid); }
281148 STD { int|linux_sys||fdatasync(int fd); } 281148 STD { int|linux_sys||fdatasync(int fd); }
282149 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); } 282149 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); }
283150 NOARGS { int|sys||mlock(void *addr, size_t len); } 283150 NOARGS { int|sys||mlock(void *addr, size_t len); }
284151 NOARGS { int|sys||munlock(void *addr, size_t len); } 284151 NOARGS { int|sys||munlock(void *addr, size_t len); }
285152 NOARGS { int|sys||mlockall(int flags); } 285152 NOARGS { int|sys||mlockall(int flags); }
286153 NOARGS { int|sys||munlockall(void); } 286153 NOARGS { int|sys||munlockall(void); }
287154 STD { int|linux_sys||sched_setparam(pid_t pid, \ 287154 STD { int|linux_sys||sched_setparam(pid_t pid, \
288 const struct linux_sched_param *sp); } 288 const struct linux_sched_param *sp); }
289155 STD { int|linux_sys||sched_getparam(pid_t pid, \ 289155 STD { int|linux_sys||sched_getparam(pid_t pid, \
290 struct linux_sched_param *sp); } 290 struct linux_sched_param *sp); }
291156 STD { int|linux_sys||sched_setscheduler(pid_t pid, \ 291156 STD { int|linux_sys||sched_setscheduler(pid_t pid, \
292 int policy, const struct linux_sched_param *sp); } 292 int policy, const struct linux_sched_param *sp); }
293157 STD { int|linux_sys||sched_getscheduler(pid_t pid); } 293157 STD { int|linux_sys||sched_getscheduler(pid_t pid); }
294158 STD { int|linux_sys||sched_yield(void); } 294158 STD { int|linux_sys||sched_yield(void); }
295159 STD { int|linux_sys||sched_get_priority_max(int policy); } 295159 STD { int|linux_sys||sched_get_priority_max(int policy); }
296160 STD { int|linux_sys||sched_get_priority_min(int policy); } 296160 STD { int|linux_sys||sched_get_priority_min(int policy); }
297161 UNIMPL sched_rr_get_interval 297161 UNIMPL sched_rr_get_interval
298162 STD { int|linux_sys||nanosleep( \ 298162 STD { int|linux_sys||nanosleep( \
299 const struct linux_timespec *rqtp, \ 299 const struct linux_timespec *rqtp, \
300 struct linux_timespec *rmtp); } 300 struct linux_timespec *rmtp); }
301163 STD { void *|linux_sys||mremap(void *old_address, \ 301163 STD { void *|linux_sys||mremap(void *old_address, \
302 size_t old_size, size_t new_size, u_long flags); } 302 size_t old_size, size_t new_size, u_long flags); }
303164 STD { int|linux_sys||setresuid16(linux_uid16_t ruid, \ 303164 STD { int|linux_sys||setresuid16(linux_uid16_t ruid, \
304 linux_uid16_t euid, linux_uid16_t suid); } 304 linux_uid16_t euid, linux_uid16_t suid); }
305165 STD { int|linux_sys||getresuid16(linux_uid16_t *ruid, \ 305165 STD { int|linux_sys||getresuid16(linux_uid16_t *ruid, \
306 linux_uid16_t *euid, linux_uid16_t *suid); } 306 linux_uid16_t *euid, linux_uid16_t *suid); }
307166 UNIMPL vm86 307166 UNIMPL vm86
308167 UNIMPL query_module 308167 UNIMPL query_module
309168 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ 309168 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \
310 int timeout); } 310 int timeout); }
311169 UNIMPL nfsservctl 311169 UNIMPL nfsservctl
312170 STD { int|linux_sys||setresgid16(linux_gid16_t rgid, \ 312170 STD { int|linux_sys||setresgid16(linux_gid16_t rgid, \
313 linux_gid16_t egid, linux_gid16_t sgid); } 313 linux_gid16_t egid, linux_gid16_t sgid); }
314171 STD { int|linux_sys||getresgid16(linux_gid16_t *rgid, \ 314171 STD { int|linux_sys||getresgid16(linux_gid16_t *rgid, \
315 linux_gid16_t *egid, linux_gid16_t *sgid); } 315 linux_gid16_t *egid, linux_gid16_t *sgid); }
316172 UNIMPL prctl 316172 UNIMPL prctl
317173 STD { int|linux_sys||rt_sigreturn(void); } 317173 STD { int|linux_sys||rt_sigreturn(void); }
318174 STD { int|linux_sys||rt_sigaction(int signum, \ 318174 STD { int|linux_sys||rt_sigaction(int signum, \
319 const struct linux_sigaction *nsa, \ 319 const struct linux_sigaction *nsa, \
320 struct linux_sigaction *osa, \ 320 struct linux_sigaction *osa, \
321 size_t sigsetsize); } 321 size_t sigsetsize); }
322175 STD { int|linux_sys||rt_sigprocmask(int how, \ 322175 STD { int|linux_sys||rt_sigprocmask(int how, \
323 const linux_sigset_t *set, \ 323 const linux_sigset_t *set, \
324 linux_sigset_t *oset, \ 324 linux_sigset_t *oset, \
325 size_t sigsetsize); } 325 size_t sigsetsize); }
326176 STD { int|linux_sys||rt_sigpending( \ 326176 STD { int|linux_sys||rt_sigpending( \
327 linux_sigset_t *set, \ 327 linux_sigset_t *set, \
328 size_t sigsetsize); } 328 size_t sigsetsize); }
329177 STD { int|linux_sys||rt_sigtimedwait( \ 329177 STD { int|linux_sys||rt_sigtimedwait( \
330 const linux_sigset_t *set, \ 330 const linux_sigset_t *set, \
331 linux_siginfo_t *info, \ 331 linux_siginfo_t *info, \
332 const struct linux_timespec *timeout); } 332 const struct linux_timespec *timeout); }
333178 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \ 333178 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \
334 linux_siginfo_t *uinfo); } 334 linux_siginfo_t *uinfo); }
335179 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \ 335179 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \
336 size_t sigsetsize); } 336 size_t sigsetsize); }
337180 STD { int|linux_sys||pread(int fd, char *buf, \ 337180 STD { int|linux_sys||pread(int fd, char *buf, \
338 size_t nbyte, off_t offset); } 338 size_t nbyte, off_t offset); }
339181 STD { int|linux_sys||pwrite(int fd, char *buf, \ 339181 STD { int|linux_sys||pwrite(int fd, char *buf, \
340 size_t nbyte, off_t offset); } 340 size_t nbyte, off_t offset); }
341;182 chown on i386; lchown on m68k. 341;182 chown on i386; lchown on m68k.
342182 STD { int|linux_sys||lchown16(const char *path, \ 342182 STD { int|linux_sys||lchown16(const char *path, \
343 linux_uid16_t uid, linux_gid16_t gid); } 343 linux_uid16_t uid, linux_gid16_t gid); }
344183 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } 344183 NOARGS { int|sys||__getcwd(char *bufp, size_t length); }
345184 UNIMPL capget 345184 UNIMPL capget
346185 UNIMPL capset 346185 UNIMPL capset
347186 STD { int|linux_sys||sigaltstack( \ 347186 STD { int|linux_sys||sigaltstack( \
348 const struct linux_sigaltstack *ss, \ 348 const struct linux_sigaltstack *ss, \
349 struct linux_sigaltstack *oss); } 349 struct linux_sigaltstack *oss); }
350187 UNIMPL sendfile 350187 UNIMPL sendfile
351188 UNIMPL getpmsg 351188 UNIMPL getpmsg
352189 UNIMPL putpmsg 352189 UNIMPL putpmsg
353190 NOARGS { int|sys|14|vfork(void); } 353190 NOARGS { int|sys|14|vfork(void); }
354191 STD { int|linux_sys||ugetrlimit(int which, \ 354191 STD { int|linux_sys||ugetrlimit(int which, \
355 struct orlimit *rlp); } 355 struct orlimit *rlp); }
356#define linux_sys_mmap2_args linux_sys_mmap_args 356#define linux_sys_mmap2_args linux_sys_mmap_args
357192 NOARGS { linux_off_t|linux_sys||mmap2(unsigned long addr, \ 357192 NOARGS { linux_off_t|linux_sys||mmap2(unsigned long addr, \
358 size_t len, int prot, int flags, int fd, \ 358 size_t len, int prot, int flags, int fd, \
359 linux_off_t offset); } 359 linux_off_t offset); }
360193 STD { int|linux_sys||truncate64(const char *path, \ 360193 STD { int|linux_sys||truncate64(const char *path, \
361 off_t length); } 361 off_t length); }
362194 STD { int|linux_sys||ftruncate64(unsigned int fd, \ 362194 STD { int|linux_sys||ftruncate64(unsigned int fd, \
363 off_t length); } 363 off_t length); }
364195 STD { int|linux_sys||stat64(const char *path, \ 364195 STD { int|linux_sys||stat64(const char *path, \
365 struct linux_stat64 *sp); } 365 struct linux_stat64 *sp); }
366196 STD { int|linux_sys||lstat64(const char *path, \ 366196 STD { int|linux_sys||lstat64(const char *path, \
367 struct linux_stat64 *sp); } 367 struct linux_stat64 *sp); }
368197 STD { int|linux_sys||fstat64(int fd, \ 368197 STD { int|linux_sys||fstat64(int fd, \
369 struct linux_stat64 *sp); } 369 struct linux_stat64 *sp); }
370198 NOARGS { int|sys||__posix_chown(const char *path, uid_t uid, \ 370198 NOARGS { int|sys||__posix_chown(const char *path, uid_t uid, \
371 gid_t gid); } 371 gid_t gid); }
372199 NOARGS { uid_t|sys||getuid(void); } 372199 NOARGS { uid_t|sys||getuid(void); }
373200 NOARGS { gid_t|sys||getgid(void); } 373200 NOARGS { gid_t|sys||getgid(void); }
374201 NOARGS { uid_t|sys||geteuid(void); } 374201 NOARGS { uid_t|sys||geteuid(void); }
375202 NOARGS { gid_t|sys||getegid(void); } 375202 NOARGS { gid_t|sys||getegid(void); }
376203 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); } 376203 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); }
377204 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); } 377204 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); }
378205 NOARGS { int|sys||getgroups(int gidsetsize, gid_t *gidset); } 378205 NOARGS { int|sys||getgroups(int gidsetsize, gid_t *gidset); }
379206 NOARGS { int|sys||setgroups(int gidsetsize, gid_t *gidset); } 379206 NOARGS { int|sys||setgroups(int gidsetsize, gid_t *gidset); }
380207 NOARGS { int|sys||__posix_fchown(int fd, uid_t uid, \ 380207 NOARGS { int|sys||__posix_fchown(int fd, uid_t uid, \
381 gid_t gid); } 381 gid_t gid); }
382208 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \ 382208 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \
383 uid_t suid); } 383 uid_t suid); }
384209 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \ 384209 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \
385 uid_t *suid); } 385 uid_t *suid); }
386210 STD { int|linux_sys||setresgid(gid_t rgid, gid_t egid, \ 386210 STD { int|linux_sys||setresgid(gid_t rgid, gid_t egid, \
387 gid_t sgid); } 387 gid_t sgid); }
388211 STD { int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \ 388211 STD { int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \
389 gid_t *sgid); } 389 gid_t *sgid); }
390212 NOARGS { int|sys||__posix_lchown(const char *path, uid_t uid, \ 390212 NOARGS { int|sys||__posix_lchown(const char *path, uid_t uid, \
391 gid_t gid); } 391 gid_t gid); }
392213 NOARGS { int|sys||setuid(uid_t uid); } 392213 NOARGS { int|sys||setuid(uid_t uid); }
393214 NOARGS { int|sys||setgid(gid_t gid); } 393214 NOARGS { int|sys||setgid(gid_t gid); }
394215 STD { int|linux_sys||setfsuid(uid_t uid); } 394215 STD { int|linux_sys||setfsuid(uid_t uid); }
395216 STD { int|linux_sys||setfsgid(gid_t gid); } 395216 STD { int|linux_sys||setfsgid(gid_t gid); }
396217 UNIMPL /* unused */ 396217 UNIMPL /* unused */
397218 UNIMPL /* unused */ 397218 UNIMPL /* unused */
398219 UNIMPL /* unused */ 398219 UNIMPL /* unused */
399220 STD { int|linux_sys||getdents64(int fd, \ 399220 STD { int|linux_sys||getdents64(int fd, \
400 struct linux_dirent64 *dent, unsigned int count); } 400 struct linux_dirent64 *dent, unsigned int count); }
401221 NOARGS { pid_t|linux_sys||gettid(void); } 401221 NOARGS { pid_t|linux_sys||gettid(void); }
402222 STD { int|linux_sys||tkill(int tid, int sig); } 402222 STD { int|linux_sys||tkill(int tid, int sig); }
403223 STD { int|linux_sys||setxattr(char *path, char *name, \ 403223 STD { int|linux_sys||setxattr(char *path, char *name, \
404 void *value, size_t size, int flags); } 404 void *value, size_t size, int flags); }
405224 STD { int|linux_sys||lsetxattr(char *path, char *name, \ 405224 STD { int|linux_sys||lsetxattr(char *path, char *name, \
406 void *value, size_t size, int flags); } 406 void *value, size_t size, int flags); }
407225 STD { int|linux_sys||fsetxattr(int fd, char *name, \ 407225 STD { int|linux_sys||fsetxattr(int fd, char *name, \
408 void *value, size_t size, int flags); } 408 void *value, size_t size, int flags); }
409226 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \ 409226 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \
410 void *value, size_t size); } 410 void *value, size_t size); }
411227 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \ 411227 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \
412 void *value, size_t size); } 412 void *value, size_t size); }
413228 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \ 413228 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \
414 void *value, size_t size); } 414 void *value, size_t size); }
415229 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \ 415229 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \
416 size_t size); } 416 size_t size); }
417230 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \ 417230 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \
418 size_t size); } 418 size_t size); }
419231 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \ 419231 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \
420 size_t size); } 420 size_t size); }
421232 STD { int|linux_sys||removexattr(char *path, char *name); } 421232 STD { int|linux_sys||removexattr(char *path, char *name); }
422233 STD { int|linux_sys||lremovexattr(char *path, char *name); } 422233 STD { int|linux_sys||lremovexattr(char *path, char *name); }
423234 STD { int|linux_sys||fremovexattr(int fd, char *name); } 423234 STD { int|linux_sys||fremovexattr(int fd, char *name); }
424235 STD { int|linux_sys||futex(int *uaddr, int op, int val, \ 424235 STD { int|linux_sys||futex(int *uaddr, int op, int val, \
425 const struct linux_timespec *timeout, int *uaddr2, \ 425 const struct linux_timespec *timeout, int *uaddr2, \
426 int val3); } 426 int val3); }
427236 UNIMPL sendfile64 427236 UNIMPL sendfile64
428237 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } 428237 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); }
429238 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); } 429238 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); }
430239 STD { int|linux_sys||fcntl64(int fd, int cmd, void *arg); } 430239 STD { int|linux_sys||fcntl64(int fd, int cmd, void *arg); }
431240 UNIMPL readahead 431240 UNIMPL readahead
432241 UNIMPL io_setup 432241 UNIMPL io_setup
433242 UNIMPL io_destroy 433242 UNIMPL io_destroy
434243 UNIMPL io_getevents 434243 UNIMPL io_getevents
435244 UNIMPL io_submit 435244 UNIMPL io_submit
436245 UNIMPL io_cancel 436245 UNIMPL io_cancel
437246 STD { int|linux_sys||fadvise64(int fd, off_t offset, \ 437246 STD { int|linux_sys||fadvise64(int fd, off_t offset, \
438 size_t len, int advice); } 438 size_t len, int advice); }
439247 UNIMPL exit_group 439247 UNIMPL exit_group
440248 UNIMPL lookup_dcookie 440248 UNIMPL lookup_dcookie
441249 UNIMPL epoll_create 441249 STD { int|linux_sys||epoll_create(int size); }
442250 UNIMPL epoll_ctl 442250 STD { int|linux_sys||epoll_ctl(int epfd, int op, int fd, \
443251 UNIMPL epoll_wait 443 struct linux_epoll_event *event); }
 444251 STD { int|linux_sys||epoll_wait(int epfd, \
 445 struct linux_epoll_event *events, int maxevents, \
 446 int timeout); }
444252 UNIMPL remap_file_pages 447252 UNIMPL remap_file_pages
445253 STD { int|linux_sys||set_tid_address(int *tid); } 448253 STD { int|linux_sys||set_tid_address(int *tid); }
446254 STD { int|linux_sys||timer_create(clockid_t clockid, \ 449254 STD { int|linux_sys||timer_create(clockid_t clockid, \
447 struct linux_sigevent *evp, timer_t *timerid); } 450 struct linux_sigevent *evp, timer_t *timerid); }
448255 STD { int|linux_sys||timer_settime(timer_t timerid, \ 451255 STD { int|linux_sys||timer_settime(timer_t timerid, \
449 int flags, const struct linux_itimerspec *tim, \ 452 int flags, const struct linux_itimerspec *tim, \
450 struct linux_itimerspec *otim); } 453 struct linux_itimerspec *otim); }
451256 STD { int|linux_sys||timer_gettime(timer_t timerid, \ 454256 STD { int|linux_sys||timer_gettime(timer_t timerid, \
452 struct linux_itimerspec *tim); } 455 struct linux_itimerspec *tim); }
453257 NOARGS { int|sys||timer_getoverrun(timer_t timerid); } 456257 NOARGS { int|sys||timer_getoverrun(timer_t timerid); }
454258 NOARGS { int|sys||timer_delete(timer_t timerid); } 457258 NOARGS { int|sys||timer_delete(timer_t timerid); }
455259 STD { int|linux_sys||clock_settime(clockid_t which, \ 458259 STD { int|linux_sys||clock_settime(clockid_t which, \
456 struct linux_timespec *tp); } 459 struct linux_timespec *tp); }
457260 STD { int|linux_sys||clock_gettime(clockid_t which, \ 460260 STD { int|linux_sys||clock_gettime(clockid_t which, \
458 struct linux_timespec *tp); } 461 struct linux_timespec *tp); }
459261 STD { int|linux_sys||clock_getres(clockid_t which, \ 462261 STD { int|linux_sys||clock_getres(clockid_t which, \
460 struct linux_timespec *tp); } 463 struct linux_timespec *tp); }
461262 STD { int|linux_sys||clock_nanosleep(clockid_t which, \ 464262 STD { int|linux_sys||clock_nanosleep(clockid_t which, \
462 int flags, struct linux_timespec *rqtp, \ 465 int flags, struct linux_timespec *rqtp, \
463 struct linux_timespec *rmtp); } 466 struct linux_timespec *rmtp); }
464263 STD { int|linux_sys||statfs64(const char *path, \ 467263 STD { int|linux_sys||statfs64(const char *path, \
465 size_t sz, struct linux_statfs64 *sp); } 468 size_t sz, struct linux_statfs64 *sp); }
466264 STD { int|linux_sys||fstatfs64(int fd, \ 469264 STD { int|linux_sys||fstatfs64(int fd, \
467 size_t sz, struct linux_statfs64 *sp); } 470 size_t sz, struct linux_statfs64 *sp); }
468265 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); } 471265 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); }
469266 NOARGS { int|compat_50_sys||utimes(const char *path, \ 472266 NOARGS { int|compat_50_sys||utimes(const char *path, \
470 const struct timeval50 *tptr); } 473 const struct timeval50 *tptr); }
471267 STD { int|linux_sys||fadvise64_64(int fd, off_t offset, \ 474267 STD { int|linux_sys||fadvise64_64(int fd, off_t offset, \
472 off_t len, int advice); } 475 off_t len, int advice); }
473268 UNIMPL mbind 476268 UNIMPL mbind
474269 UNIMPL get_mempolicy 477269 UNIMPL get_mempolicy
475270 UNIMPL set_mempolicy 478270 UNIMPL set_mempolicy
476271 UNIMPL mq_open 479271 UNIMPL mq_open
477272 UNIMPL mq_unlink 480272 UNIMPL mq_unlink
478273 UNIMPL mq_timedsend 481273 UNIMPL mq_timedsend
479274 UNIMPL mq_timedreceive 482274 UNIMPL mq_timedreceive
480275 UNIMPL mq_notify 483275 UNIMPL mq_notify
481276 UNIMPL mq_getsetattr 484276 UNIMPL mq_getsetattr
482277 UNIMPL waitid 485277 UNIMPL waitid
483278 UNIMPL vserver 486278 UNIMPL vserver
484279 UNIMPL add_key 487279 UNIMPL add_key
485280 UNIMPL request_key 488280 UNIMPL request_key
486281 UNIMPL keyctl 489281 UNIMPL keyctl
487282 UNIMPL ioprio_set 490282 UNIMPL ioprio_set
488283 UNIMPL ioprio_get 491283 UNIMPL ioprio_get
489284 UNIMPL inotify_init 492284 UNIMPL inotify_init
490285 UNIMPL inotify_add_watch 493285 UNIMPL inotify_add_watch
491286 UNIMPL inotify_rm_watch 494286 UNIMPL inotify_rm_watch
492287 UNIMPL migrate_pages 495287 UNIMPL migrate_pages
493288 STD { int|linux_sys||openat(int fd, const char *path, \ 496288 STD { int|linux_sys||openat(int fd, const char *path, \
494 int flags, ... linux_umode_t mode); } 497 int flags, ... linux_umode_t mode); }
495289 NOARGS { int|sys||mkdirat(int fd, const char *path, \ 498289 NOARGS { int|sys||mkdirat(int fd, const char *path, \
496 linux_umode_t mode); } 499 linux_umode_t mode); }
497290 STD { int|linux_sys||mknodat(int fd, const char *path, \ 500290 STD { int|linux_sys||mknodat(int fd, const char *path, \
498 linux_umode_t mode, unsigned dev); } 501 linux_umode_t mode, unsigned dev); }
499291 STD { int|linux_sys||fchownat(int fd, const char *path, \ 502291 STD { int|linux_sys||fchownat(int fd, const char *path, \
500 uid_t owner, gid_t group, int flag); } 503 uid_t owner, gid_t group, int flag); }
501292 UNIMPL futimesat 504292 UNIMPL futimesat
502293 STD { int|linux_sys||fstatat64(int fd, const char *path, \ 505293 STD { int|linux_sys||fstatat64(int fd, const char *path, \
503 struct linux_stat64 *sp, int flag); } 506 struct linux_stat64 *sp, int flag); }
504294 STD { int|linux_sys||unlinkat(int fd, const char *path, \ 507294 STD { int|linux_sys||unlinkat(int fd, const char *path, \
505 int flag); } 508 int flag); }
506295 NOARGS { int|sys||renameat(int fromfd, const char *from, \ 509295 NOARGS { int|sys||renameat(int fromfd, const char *from, \
507 int tofd, const char *to); } 510 int tofd, const char *to); }
508296 STD { int|linux_sys||linkat(int fd1, const char *name1, \ 511296 STD { int|linux_sys||linkat(int fd1, const char *name1, \
509 int fd2, const char *name2, int flags); } 512 int fd2, const char *name2, int flags); }
510297 NOARGS { int|sys||symlinkat(const char *path1, int fd, \ 513297 NOARGS { int|sys||symlinkat(const char *path1, int fd, \
511 const char *path2); } 514 const char *path2); }
512298 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \ 515298 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \
513 char *buf, size_t bufsize); } 516 char *buf, size_t bufsize); }
514299 STD { int|linux_sys||fchmodat(int fd, const char *path, \ 517299 STD { int|linux_sys||fchmodat(int fd, const char *path, \
515 linux_umode_t mode); } 518 linux_umode_t mode); }
516300 STD { int|linux_sys||faccessat(int fd, const char *path, \ 519300 STD { int|linux_sys||faccessat(int fd, const char *path, \
517 int amode); } 520 int amode); }
518301 STD { int|linux_sys||pselect6(int nfds, fd_set *readfds, \ 521301 STD { int|linux_sys||pselect6(int nfds, fd_set *readfds, \
519 fd_set *writefds, fd_set *exceptfds, \ 522 fd_set *writefds, fd_set *exceptfds, \
520 struct linux_timespec *timeout, \ 523 struct linux_timespec *timeout, \
521 linux_sized_sigset_t *ss); } 524 linux_sized_sigset_t *ss); }
522302 STD { int|linux_sys||ppoll(struct pollfd *fds, u_int nfds, \ 525302 STD { int|linux_sys||ppoll(struct pollfd *fds, u_int nfds, \
523 struct linux_timespec *timeout, \ 526 struct linux_timespec *timeout, \
524 linux_sigset_t *sigset); } 527 linux_sigset_t *sigset); }
525303 UNIMPL unshare 528303 UNIMPL unshare
526 ; 529 ;
527 ; The NetBSD native robust list calls have different 530 ; The NetBSD native robust list calls have different
528 ; argument names / types, but they are ABI-compatible 531 ; argument names / types, but they are ABI-compatible
529 ; with Linux. 532 ; with Linux.
530 ; 533 ;
531304 NOARGS { int|sys||__futex_set_robust_list(void *head, \ 534304 NOARGS { int|sys||__futex_set_robust_list(void *head, \
532 size_t len); } 535 size_t len); }
533305 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ 536305 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \
534 void **headp, size_t *lenp); } 537 void **headp, size_t *lenp); }
535306 UNIMPL splice 538306 UNIMPL splice
536307 UNIMPL sync_file_range 539307 UNIMPL sync_file_range
537308 UNIMPL tee 540308 UNIMPL tee
538309 UNIMPL vmsplice 541309 UNIMPL vmsplice
539310 UNIMPL move_pages 542310 UNIMPL move_pages
540311 STD { int|linux_sys||sched_setaffinity(pid_t pid, \ 543311 STD { int|linux_sys||sched_setaffinity(pid_t pid, \
541 unsigned int len, unsigned long *mask); } 544 unsigned int len, unsigned long *mask); }
542312 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ 545312 STD { int|linux_sys||sched_getaffinity(pid_t pid, \
543 unsigned int len, unsigned long *mask); } 546 unsigned int len, unsigned long *mask); }
544313 UNIMPL kexec_load 547313 UNIMPL kexec_load
545314 UNIMPL getcpu 548314 UNIMPL getcpu
546315 UNIMPL epoll_wait 549315 STD { int|linux_sys||epoll_pwait(int epfd, \
 550 struct linux_epoll_event *events, int maxevents, \
 551 int timeout, const linux_sigset_t *sigmask); }
547316 STD { int|linux_sys||utimensat(int fd, const char *path, \ 552316 STD { int|linux_sys||utimensat(int fd, const char *path, \
548 struct linux_timespec *times, int flag); } 553 struct linux_timespec *times, int flag); }
549317 UNIMPL signalfd 554317 UNIMPL signalfd
550318 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ 555318 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \
551 int flags); } 556 int flags); }
552319 STD { int|linux_sys||eventfd(unsigned int initval); } 557319 STD { int|linux_sys||eventfd(unsigned int initval); }
553320 STD { int|linux_sys||fallocate(int fd, int mode, \ 558320 STD { int|linux_sys||fallocate(int fd, int mode, \
554 off_t offset, off_t len); } 559 off_t offset, off_t len); }
555321 STD { int|linux_sys||timerfd_settime(int fd, int flags, \ 560321 STD { int|linux_sys||timerfd_settime(int fd, int flags, \
556 const struct linux_itimerspec *tim, \ 561 const struct linux_itimerspec *tim, \
557 struct linux_itimerspec *otim); } 562 struct linux_itimerspec *otim); }
558322 STD { int|linux_sys||timerfd_gettime(int fd, \ 563322 STD { int|linux_sys||timerfd_gettime(int fd, \
559 struct linux_itimerspec *tim); } 564 struct linux_itimerspec *tim); }
560323 UNIMPL signalfd4 565323 UNIMPL signalfd4
561324 STD { int|linux_sys||eventfd2(unsigned int initval, \ 566324 STD { int|linux_sys||eventfd2(unsigned int initval, \
562 int flags); } 567 int flags); }
563325 UNIMPL epoll_create1 568325 STD { int|linux_sys||epoll_create1(int flags); }
564326 STD { int|linux_sys||dup3(int from, int to, int flags); } 569326 STD { int|linux_sys||dup3(int from, int to, int flags); }
565327 STD { int|linux_sys||pipe2(int *pfds, int flags); } 570327 STD { int|linux_sys||pipe2(int *pfds, int flags); }
566328 UNIMPL inotify_init1 571328 UNIMPL inotify_init1
567329 STD { int|linux_sys||preadv(int fd, \ 572329 STD { int|linux_sys||preadv(int fd, \
568 const struct iovec *iovp, int iovcnt, \ 573 const struct iovec *iovp, int iovcnt, \
569 unsigned long off_lo, unsigned long off_hi); } 574 unsigned long off_lo, unsigned long off_hi); }
570330 STD { int|linux_sys||pwritev(int fd, \ 575330 STD { int|linux_sys||pwritev(int fd, \
571 const struct iovcnt *iovp, int iovcnt, \ 576 const struct iovcnt *iovp, int iovcnt, \
572 unsigned long off_lo, unsigned long off_hi); } 577 unsigned long off_lo, unsigned long off_hi); }
573331 UNIMPL rt_tgsigqueueinfo 578331 UNIMPL rt_tgsigqueueinfo
574332 UNIMPL perf_counter_open 579332 UNIMPL perf_counter_open
575333 UNIMPL set_thread_area 580333 UNIMPL set_thread_area
576334 UNIMPL get_thread_area 581334 UNIMPL get_thread_area
577335 UNIMPL atomic_cmpxchg_32 582335 UNIMPL atomic_cmpxchg_32
578336 UNIMPL atomic_barrier 583336 UNIMPL atomic_barrier
579337 UNIMPL fanotify_init 584337 UNIMPL fanotify_init
580338 UNIMPL fanotify_mark 585338 UNIMPL fanotify_mark
581339 STD { int|linux_sys||prlimit64(pid_t pid, int which, \ 586339 STD { int|linux_sys||prlimit64(pid_t pid, int which, \
582 struct rlimit *new_rlp, struct rlimit *old_rlp); } 587 struct rlimit *new_rlp, struct rlimit *old_rlp); }
583340 UNIMPL name_to_handle_at 588340 UNIMPL name_to_handle_at
584341 UNIMPL open_by_handle_at 589341 UNIMPL open_by_handle_at
585342 UNIMPL clock_adjtime 590342 UNIMPL clock_adjtime
586343 UNIMPL syncfs 591343 UNIMPL syncfs
587344 UNIMPL setns 592344 UNIMPL setns
588345 UNIMPL process_vm_readv 593345 UNIMPL process_vm_readv
589346 UNIMPL process_vm_writev 594346 UNIMPL process_vm_writev
590347 UNIMPL kcmp 595347 UNIMPL kcmp
591348 UNIMPL finit_module 596348 UNIMPL finit_module
592349 UNIMPL sched_setattr 597349 UNIMPL sched_setattr
593350 UNIMPL sched_getattr 598350 UNIMPL sched_getattr
594351 UNIMPL renameat2 599351 UNIMPL renameat2
595352 NOARGS { ssize_t|sys||getrandom(void *buf, size_t buflen, \ 600352 NOARGS { ssize_t|sys||getrandom(void *buf, size_t buflen, \
596 unsigned int flags); } 601 unsigned int flags); }
597353 UNIMPL memfd_create 602353 UNIMPL memfd_create
598354 UNIMPL bpf 603354 UNIMPL bpf
599355 UNIMPL execveat 604355 UNIMPL execveat
600356 UNIMPL socket 605356 UNIMPL socket
601357 UNIMPL socketpair 606357 UNIMPL socketpair
602358 UNIMPL bind 607358 UNIMPL bind
603359 UNIMPL connect 608359 UNIMPL connect
604360 UNIMPL listen 609360 UNIMPL listen
605361 STD { int|linux_sys||accept4(int s, \ 610361 STD { int|linux_sys||accept4(int s, \
606 struct osockaddr *name, \ 611 struct osockaddr *name, \
607 int *anamelen, int flags); } 612 int *anamelen, int flags); }
608362 UNIMPL getsockopt 613362 UNIMPL getsockopt
609363 UNIMPL setsockopt 614363 UNIMPL setsockopt
610364 UNIMPL getsockname 615364 UNIMPL getsockname
611365 UNIMPL getpeername 616365 UNIMPL getpeername
612366 UNIMPL sendto 617366 UNIMPL sendto
613367 UNIMPL sendmsg 618367 UNIMPL sendmsg
614368 UNIMPL recvfrom 619368 UNIMPL recvfrom
615369 UNIMPL recvmsg 620369 UNIMPL recvmsg
616370 UNIMPL shutdown 621370 UNIMPL shutdown
617371 STD { int|linux_sys||recvmmsg(int s, \ 622371 STD { int|linux_sys||recvmmsg(int s, \
618 struct linux_mmsghdr *msgvec, unsigned int vlen, \ 623 struct linux_mmsghdr *msgvec, unsigned int vlen, \
619 unsigned int flags, struct timespec *timeout); } 624 unsigned int flags, struct timespec *timeout); }
620372 STD { int|linux_sys||sendmmsg(int s, \ 625372 STD { int|linux_sys||sendmmsg(int s, \
621 struct linux_mmsghdr *msgvec, unsigned int vlen, \ 626 struct linux_mmsghdr *msgvec, unsigned int vlen, \
622 unsigned int flags); } 627 unsigned int flags); }
623373 UNIMPL userfaultfd 628373 UNIMPL userfaultfd
624374 UNIMPL membarrier 629374 UNIMPL membarrier
625375 UNIMPL mlock2 630375 UNIMPL mlock2
626376 UNIMPL copy_file_range 631376 UNIMPL copy_file_range
627377 UNIMPL preadv2 632377 UNIMPL preadv2
628378 UNIMPL pwritev2 633378 UNIMPL pwritev2
 634379 UNIMPL
 635380 UNIMPL
 636381 UNIMPL
 637382 UNIMPL
 638383 UNIMPL
 639384 UNIMPL
 640385 UNIMPL
 641386 UNIMPL
 642387 UNIMPL
 643388 UNIMPL
 644389 UNIMPL
 645390 UNIMPL
 646391 UNIMPL
 647392 UNIMPL
 648393 UNIMPL
 649394 UNIMPL
 650395 UNIMPL
 651396 UNIMPL
 652397 UNIMPL
 653398 UNIMPL
 654399 UNIMPL
 655400 UNIMPL
 656401 UNIMPL
 657402 UNIMPL
 658403 UNIMPL
 659404 UNIMPL
 660405 UNIMPL
 661406 UNIMPL
 662407 UNIMPL
 663408 UNIMPL
 664409 UNIMPL
 665410 UNIMPL
 666411 UNIMPL
 667412 UNIMPL
 668413 UNIMPL
 669414 UNIMPL
 670415 UNIMPL
 671416 UNIMPL
 672417 UNIMPL
 673418 UNIMPL
 674419 UNIMPL
 675420 UNIMPL
 676421 UNIMPL
 677422 UNIMPL
 678423 UNIMPL
 679424 UNIMPL
 680425 UNIMPL
 681426 UNIMPL
 682427 UNIMPL
 683428 UNIMPL
 684429 UNIMPL
 685430 UNIMPL
 686431 UNIMPL
 687432 UNIMPL
 688433 UNIMPL
 689434 UNIMPL
 690435 UNIMPL
 691436 UNIMPL
 692437 UNIMPL
 693438 UNIMPL
 694439 UNIMPL
 695440 UNIMPL
 696441 STD { int|linux_sys||epoll_pwait2(int epfd, \
 697 struct linux_epoll_event *events, int maxevents, \
 698 const struct linux_timespec *timeout, \
 699 const linux_sigset_t *sigmask); }

cvs diff -r1.74 -r1.75 src/sys/compat/linux/arch/mips/syscalls.master (switch to unified diff)

--- src/sys/compat/linux/arch/mips/syscalls.master 2021/12/02 04:29:48 1.74
+++ src/sys/compat/linux/arch/mips/syscalls.master 2023/07/28 19:01:11 1.75
@@ -1,605 +1,687 @@ @@ -1,605 +1,687 @@
1 $NetBSD: syscalls.master,v 1.74 2021/12/02 04:29:48 ryo Exp $  1 $NetBSD: syscalls.master,v 1.75 2023/07/28 19:01:11 christos Exp $
2 2
3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
4 4
5; Derived from NetBSD's sys/compat/linux/arch/powerpc/syscalls.master 5; Derived from NetBSD's sys/compat/linux/arch/powerpc/syscalls.master
6; from Linux's arch/mips/kernel/syscalls.h 6; from Linux's arch/mips/kernel/syscalls.h
7 7
8; NetBSD mips COMPAT_LINUX system call name/number "master" file. 8; NetBSD mips COMPAT_LINUX system call name/number "master" file.
9; (See syscalls.conf to see what it is processed into.) 9; (See syscalls.conf to see what it is processed into.)
10; 10;
11; Expect problems with 11; Expect problems with
12; 48 signal: undefined in Linux??? 12; 48 signal: undefined in Linux???
13; 86 uselib: needs a.out 13; 86 uselib: needs a.out
14; 14;
15; Fields: number type [type-dependent ...] 15; Fields: number type [type-dependent ...]
16; number system call number, must be in order 16; number system call number, must be in order
17; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of 17; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
18; the compatibility options defined in syscalls.conf. 18; the compatibility options defined in syscalls.conf.
19; 19;
20; types: 20; types:
21; STD always included 21; STD always included
22; OBSOL obsolete, not included in system 22; OBSOL obsolete, not included in system
23; UNIMPL unimplemented, not included in system 23; UNIMPL unimplemented, not included in system
24; NODEF included, but don't define the syscall number 24; NODEF included, but don't define the syscall number
25; NOARGS included, but don't define the syscall args structure 25; NOARGS included, but don't define the syscall args structure
26; INDIR included, but don't define the syscall args structure 26; INDIR included, but don't define the syscall args structure
27; and allow it to be "really" varargs. 27; and allow it to be "really" varargs.
28; 28;
29; The compat options are defined in the syscalls.conf file, and the 29; The compat options are defined in the syscalls.conf file, and the
30; compat option name is prefixed to the syscall name. Other than 30; compat option name is prefixed to the syscall name. Other than
31; that, they're like NODEF (for 'compat' options), or STD (for 31; that, they're like NODEF (for 'compat' options), or STD (for
32; 'libcompat' options). 32; 'libcompat' options).
33; 33;
34; The type-dependent arguments are as follows: 34; The type-dependent arguments are as follows:
35; For STD, NODEF, NOARGS, and compat syscalls: 35; For STD, NODEF, NOARGS, and compat syscalls:
36; { pseudo-proto } [alias] 36; { pseudo-proto } [alias]
37; For other syscalls: 37; For other syscalls:
38; [comment] 38; [comment]
39; 39;
40; #ifdef's, etc. may be included, and are copied to the output files. 40; #ifdef's, etc. may be included, and are copied to the output files.
41; #include's are copied to the syscall names and switch definition files only. 41; #include's are copied to the syscall names and switch definition files only.
42 42
43#include <sys/param.h> 43#include <sys/param.h>
44#include <sys/poll.h> 44#include <sys/poll.h>
45#include <sys/systm.h> 45#include <sys/systm.h>
46#include <sys/signal.h> 46#include <sys/signal.h>
47#include <sys/mount.h> 47#include <sys/mount.h>
48#include <sys/syscallargs.h> 48#include <sys/syscallargs.h>
49 49
50#include <compat/linux/common/linux_types.h> 50#include <compat/linux/common/linux_types.h>
51#include <compat/linux/common/linux_signal.h> 51#include <compat/linux/common/linux_signal.h>
52#include <compat/linux/common/linux_siginfo.h> 52#include <compat/linux/common/linux_siginfo.h>
53#include <compat/linux/common/linux_machdep.h> 53#include <compat/linux/common/linux_machdep.h>
54#include <compat/linux/common/linux_mmap.h> 54#include <compat/linux/common/linux_mmap.h>
55#include <compat/linux/common/linux_socketcall.h> 55#include <compat/linux/common/linux_socketcall.h>
56 56
57#include <compat/linux/linux_syscallargs.h> 57#include <compat/linux/linux_syscallargs.h>
58 58
590 NOARGS { int|linux_sys||nosys(void); } syscall 590 NOARGS { int|linux_sys||nosys(void); } syscall
601 STD { int|linux_sys||exit(int rval); } 601 STD { int|linux_sys||exit(int rval); }
612 NOARGS { int|sys||fork(void); } 612 NOARGS { int|sys||fork(void); }
623 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } 623 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
634 NOARGS { ssize_t|sys||write(int fd, const void *buf, \ 634 NOARGS { ssize_t|sys||write(int fd, const void *buf, \
64 size_t nbyte); } 64 size_t nbyte); }
655 STD { int|linux_sys||open(const char *path, int flags, \ 655 STD { int|linux_sys||open(const char *path, int flags, \
66 linux_umode_t mode); } 66 linux_umode_t mode); }
676 NOARGS { int|sys||close(int fd); } 676 NOARGS { int|sys||close(int fd); }
687 STD { int|linux_sys||waitpid(int pid, int *status, \ 687 STD { int|linux_sys||waitpid(int pid, int *status, \
69 int options);} 69 int options);}
708 STD { int|linux_sys||creat(const char *path, linux_umode_t mode); } 708 STD { int|linux_sys||creat(const char *path, linux_umode_t mode); }
719 NOARGS { int|sys||link(const char *path, const char *link); } 719 NOARGS { int|sys||link(const char *path, const char *link); }
7210 STD { int|linux_sys||unlink(const char *path); } 7210 STD { int|linux_sys||unlink(const char *path); }
7311 NOARGS { int|sys||execve(const char *path, char **argp, \ 7311 NOARGS { int|sys||execve(const char *path, char **argp, \
74 char **envp); } 74 char **envp); }
7512 NOARGS { int|sys||chdir(const char *path); } 7512 NOARGS { int|sys||chdir(const char *path); }
7613 STD { int|linux_sys||time(linux_time_t *t); } 7613 STD { int|linux_sys||time(linux_time_t *t); }
7714 STD { int|linux_sys||mknod(const char *path, linux_umode_t mode, \ 7714 STD { int|linux_sys||mknod(const char *path, linux_umode_t mode, \
78 unsigned dev); } 78 unsigned dev); }
7915 NOARGS { int|sys||chmod(const char *path, int mode); } 7915 NOARGS { int|sys||chmod(const char *path, int mode); }
8016 NOARGS { int|sys||__posix_lchown(const char *path, uid_t uid, \ 8016 NOARGS { int|sys||__posix_lchown(const char *path, uid_t uid, \
81 gid_t gid); } 81 gid_t gid); }
8217 UNIMPL 8217 UNIMPL
8318 OBSOL ostat 8318 OBSOL ostat
8419 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ 8419 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \
85 int whence); } 85 int whence); }
8620 NOARGS { pid_t|sys||getpid(void); } 8620 NOARGS { pid_t|sys||getpid(void); }
8721 UNIMPL mount 8721 UNIMPL mount
8822 OBSOL umount 8822 OBSOL umount
8923 NOARGS { int|sys||setuid(uid_t uid); } 8923 NOARGS { int|sys||setuid(uid_t uid); }
9024 NOARGS { uid_t|sys||getuid(void); } 9024 NOARGS { uid_t|sys||getuid(void); }
9125 STD { int|linux_sys||stime(linux_time_t *t); } 9125 STD { int|linux_sys||stime(linux_time_t *t); }
9226 STD { int|linux_sys||ptrace(long request, long pid, \ 9226 STD { int|linux_sys||ptrace(long request, long pid, \
93 long addr, long data); } 93 long addr, long data); }
9427 STD { int|linux_sys||alarm(unsigned int secs); } 9427 STD { int|linux_sys||alarm(unsigned int secs); }
9528 OBSOL ofstat 9528 OBSOL ofstat
9629 STD { int|linux_sys||pause(void); } 9629 STD { int|linux_sys||pause(void); }
9730 STD { int|linux_sys||utime(const char *path, \ 9730 STD { int|linux_sys||utime(const char *path, \
98 struct linux_utimbuf *times); } 98 struct linux_utimbuf *times); }
9931 UNIMPL 9931 UNIMPL
10032 UNIMPL 10032 UNIMPL
10133 NOARGS { int|sys||access(const char *path, int flags); } 10133 NOARGS { int|sys||access(const char *path, int flags); }
10234 STD { int|linux_sys||nice(int incr); } 10234 STD { int|linux_sys||nice(int incr); }
10335 UNIMPL 10335 UNIMPL
10436 NOARGS { int|sys||sync(void); } 10436 NOARGS { int|sys||sync(void); }
10537 STD { int|linux_sys||kill(int pid, int signum); } 10537 STD { int|linux_sys||kill(int pid, int signum); }
10638 NOARGS { int|sys||__posix_rename(const char *from, \ 10638 NOARGS { int|sys||__posix_rename(const char *from, \
107 const char *to); } 107 const char *to); }
10839 NOARGS { int|sys||mkdir(const char *path, linux_umode_t mode); } 10839 NOARGS { int|sys||mkdir(const char *path, linux_umode_t mode); }
10940 NOARGS { int|sys||rmdir(const char *path); } 10940 NOARGS { int|sys||rmdir(const char *path); }
11041 NOARGS { int|sys||dup(int fd); } 11041 NOARGS { int|sys||dup(int fd); }
11142 STD { int|linux_sys||pipe(int *pfds); } 11142 STD { int|linux_sys||pipe(int *pfds); }
11243 STD { int|linux_sys||times(struct times *tms); } 11243 STD { int|linux_sys||times(struct times *tms); }
11344 UNIMPL 11344 UNIMPL
11445 STD { int|linux_sys||brk(char *nsize); } 11445 STD { int|linux_sys||brk(char *nsize); }
11546 NOARGS { int|sys||setgid(gid_t gid); } 11546 NOARGS { int|sys||setgid(gid_t gid); }
11647 NOARGS { gid_t|sys||getgid(void); } 11647 NOARGS { gid_t|sys||getgid(void); }
11748 STD { int|linux_sys||signal(int signum, \ 11748 STD { int|linux_sys||signal(int signum, \
118 linux___sighandler_t handler); } 118 linux___sighandler_t handler); }
11949 NOARGS { uid_t|sys||geteuid(void); } 11949 NOARGS { uid_t|sys||geteuid(void); }
12050 NOARGS { gid_t|sys||getegid(void); } 12050 NOARGS { gid_t|sys||getegid(void); }
12151 NOARGS { int|sys||acct(char *path); } 12151 NOARGS { int|sys||acct(char *path); }
12252 UNIMPL umount 12252 UNIMPL umount
12353 UNIMPL 12353 UNIMPL
12454 STD { int|linux_sys||ioctl(int fd, u_long com, \ 12454 STD { int|linux_sys||ioctl(int fd, u_long com, \
125 void *data); } 125 void *data); }
12655 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); } 12655 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); }
12756 OBSOL mpx 12756 OBSOL mpx
12857 NOARGS { int|sys||setpgid(int pid, int pgid); } 12857 NOARGS { int|sys||setpgid(int pid, int pgid); }
12958 UNIMPL 12958 UNIMPL
13059 STD { int|linux_sys||olduname(struct linux_old_utsname \ 13059 STD { int|linux_sys||olduname(struct linux_old_utsname \
131 *up); } 131 *up); }
13260 NOARGS { int|sys||umask(int newmask); } 13260 NOARGS { int|sys||umask(int newmask); }
13361 NOARGS { int|sys||chroot(char *path); } 13361 NOARGS { int|sys||chroot(char *path); }
13462 UNIMPL ustat 13462 UNIMPL ustat
13563 NOARGS { int|sys||dup2(int from, int to); } 13563 NOARGS { int|sys||dup2(int from, int to); }
13664 NOARGS { pid_t|sys||getppid(void); } 13664 NOARGS { pid_t|sys||getppid(void); }
13765 NOARGS { int|sys||getpgrp(void); } 13765 NOARGS { int|sys||getpgrp(void); }
13866 NOARGS { int|sys||setsid(void); } 13866 NOARGS { int|sys||setsid(void); }
13967 STD { int|linux_sys||sigaction(int signum, \ 13967 STD { int|linux_sys||sigaction(int signum, \
140 const struct linux_old_sigaction *nsa, \ 140 const struct linux_old_sigaction *nsa, \
141 struct linux_old_sigaction *osa); } 141 struct linux_old_sigaction *osa); }
14268 STD { int|linux_sys||siggetmask(void); } 14268 STD { int|linux_sys||siggetmask(void); }
14369 STD { int|linux_sys||sigsetmask(linux_old_sigset_t mask); } 14369 STD { int|linux_sys||sigsetmask(linux_old_sigset_t mask); }
14470 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); } 14470 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); }
14571 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); } 14571 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); }
14672 STD { int|linux_sys||sigsuspend(void *restart, \ 14672 STD { int|linux_sys||sigsuspend(void *restart, \
147 int oldmask, int mask); } 147 int oldmask, int mask); }
14873 STD { int|linux_sys||sigpending(linux_old_sigset_t *set); } 14873 STD { int|linux_sys||sigpending(linux_old_sigset_t *set); }
14974 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ 14974 NOARGS { int|compat_43_sys||sethostname(char *hostname, \
150 u_int len);} 150 u_int len);}
15175 STD { int|linux_sys||setrlimit(u_int which, \ 15175 STD { int|linux_sys||setrlimit(u_int which, \
152 struct orlimit *rlp); } 152 struct orlimit *rlp); }
15376 STD { int|linux_sys||getrlimit(u_int which, \ 15376 STD { int|linux_sys||getrlimit(u_int which, \
154 struct orlimit *rlp); } 154 struct orlimit *rlp); }
15577 NOARGS { int|compat_50_sys||getrusage(int who, \ 15577 NOARGS { int|compat_50_sys||getrusage(int who, \
156 struct rusage50 *rusage); } 156 struct rusage50 *rusage); }
15778 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \ 15778 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \
158 struct timezone *tzp); } 158 struct timezone *tzp); }
15979 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \ 15979 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \
160 struct timezone *tzp); } 160 struct timezone *tzp); }
16180 NOARGS { int|sys||getgroups(int gidsetsize, gid_t *gidset); } 16180 NOARGS { int|sys||getgroups(int gidsetsize, gid_t *gidset); }
16281 NOARGS { int|sys||setgroups(int gidsetsize, gid_t *gidset); } 16281 NOARGS { int|sys||setgroups(int gidsetsize, gid_t *gidset); }
16382 UNIMPL old_select 16382 UNIMPL old_select
16483 NOARGS { int|sys||symlink(const char *path, const char *to); } 16483 NOARGS { int|sys||symlink(const char *path, const char *to); }
16584 NOARGS { int|compat_43_sys||lstat(const char *path, \ 16584 NOARGS { int|compat_43_sys||lstat(const char *path, \
166 struct stat43 *up); } oolstat 166 struct stat43 *up); } oolstat
16785 NOARGS { ssize_t|sys||readlink(const char *path, char *buf, \ 16785 NOARGS { ssize_t|sys||readlink(const char *path, char *buf, \
168 int count); } 168 int count); }
16986 UNIMPL uselib 16986 UNIMPL uselib
170;86 STD { int|linux_sys||uselib(const char *path); } 170;86 STD { int|linux_sys||uselib(const char *path); }
17187 STD { int|linux_sys||swapon(char *name); } 17187 STD { int|linux_sys||swapon(char *name); }
17288 STD { int|linux_sys||reboot(int magic1, int magic2, \ 17288 STD { int|linux_sys||reboot(int magic1, int magic2, \
173 int cmd, void *arg); } 173 int cmd, void *arg); }
17489 STD { int|linux_sys||readdir(int fd, void *dent, \ 17489 STD { int|linux_sys||readdir(int fd, void *dent, \
175 unsigned int count); } 175 unsigned int count); }
17690 NOARGS { int|linux_sys||mmap(unsigned long addr, size_t len, \ 17690 NOARGS { int|linux_sys||mmap(unsigned long addr, size_t len, \
177 int prot, int flags, int fd, linux_off_t offset); } 177 int prot, int flags, int fd, linux_off_t offset); }
17891 NOARGS { int|sys||munmap(void *addr, size_t len); } 17891 NOARGS { int|sys||munmap(void *addr, size_t len); }
17992 NOARGS { int|compat_43_sys||truncate(const char *path, \ 17992 NOARGS { int|compat_43_sys||truncate(const char *path, \
180 long length); } 180 long length); }
18193 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } 18193 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); }
18294 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); } 18294 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); }
18395 NOARGS { int|sys||__posix_fchown(int fd, uid_t uid, \ 18395 NOARGS { int|sys||__posix_fchown(int fd, uid_t uid, \
184 gid_t gid); } 184 gid_t gid); }
18596 STD { int|linux_sys||getpriority(int which, int who); } 18596 STD { int|linux_sys||getpriority(int which, int who); }
18697 NOARGS { int|sys||setpriority(int which, int who, int prio); } 18697 NOARGS { int|sys||setpriority(int which, int who, int prio); }
18798 UNIMPL 18798 UNIMPL
18899 STD { int|linux_sys||statfs(const char *path, \ 18899 STD { int|linux_sys||statfs(const char *path, \
189 struct linux_statfs *sp); } 189 struct linux_statfs *sp); }
190100 STD { int|linux_sys||fstatfs(int fd, \ 190100 STD { int|linux_sys||fstatfs(int fd, \
191 struct linux_statfs *sp); } 191 struct linux_statfs *sp); }
192101 STD { int|linux_sys||ioperm(unsigned int lo, \ 192101 STD { int|linux_sys||ioperm(unsigned int lo, \
193 unsigned int hi, int val); } 193 unsigned int hi, int val); }
194102 STD { int|linux_sys||socketcall(int what, void *args); } 194102 STD { int|linux_sys||socketcall(int what, void *args); }
195103 UNIMPL syslog 195103 UNIMPL syslog
196104 NOARGS { int|compat_50_sys||setitimer(int which, \ 196104 NOARGS { int|compat_50_sys||setitimer(int which, \
197 struct itimerval50 *itv, \ 197 struct itimerval50 *itv, \
198 struct itimerval50 *oitv); } 198 struct itimerval50 *oitv); }
199105 NOARGS { int|compat_50_sys||getitimer(int which, \ 199105 NOARGS { int|compat_50_sys||getitimer(int which, \
200 struct itimerval50 *itv); } 200 struct itimerval50 *itv); }
201106 STD { int|linux_sys||stat(const char *path, \ 201106 STD { int|linux_sys||stat(const char *path, \
202 struct linux_stat *sp); } 202 struct linux_stat *sp); }
203107 STD { int|linux_sys||lstat(const char *path, \ 203107 STD { int|linux_sys||lstat(const char *path, \
204 struct linux_stat *sp); } 204 struct linux_stat *sp); }
205108 STD { int|linux_sys||fstat(int fd, struct linux_stat *sp); } 205108 STD { int|linux_sys||fstat(int fd, struct linux_stat *sp); }
206109 STD { int|linux_sys||uname(struct linux_utsname *up); } 206109 STD { int|linux_sys||uname(struct linux_utsname *up); }
207110 UNIMPL iopl 207110 UNIMPL iopl
208111 UNIMPL vhangup 208111 UNIMPL vhangup
209112 UNIMPL idle 209112 UNIMPL idle
210113 UNIMPL vm86old 210113 UNIMPL vm86old
211114 STD { int|linux_sys||wait4(int pid, int *status, \ 211114 STD { int|linux_sys||wait4(int pid, int *status, \
212 int options, struct rusage50 *rusage); } 212 int options, struct rusage50 *rusage); }
213115 STD { int|linux_sys||swapoff(const char *path); } 213115 STD { int|linux_sys||swapoff(const char *path); }
214116 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); } 214116 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); }
215117 STD { int|linux_sys||ipc(int what, long a1, long a2, \ 215117 STD { int|linux_sys||ipc(int what, long a1, long a2, \
216 long a3, void *ptr); } 216 long a3, void *ptr); }
217118 NOARGS { int|sys||fsync(int fd); } 217118 NOARGS { int|sys||fsync(int fd); }
218119 STD { int|linux_sys||sigreturn(struct linux_sigframe *sf); } 218119 STD { int|linux_sys||sigreturn(struct linux_sigframe *sf); }
219120 STD { int|linux_sys||clone(int flags, void *stack, \ 219120 STD { int|linux_sys||clone(int flags, void *stack, \
220 void *parent_tidptr, void *tls, void *child_tidptr); } 220 void *parent_tidptr, void *tls, void *child_tidptr); }
221121 STD { int|linux_sys||setdomainname(char *domainname, \ 221121 STD { int|linux_sys||setdomainname(char *domainname, \
222 int len); } 222 int len); }
223122 STD { int|linux_sys||new_uname(struct linux_utsname *up); } 223122 STD { int|linux_sys||new_uname(struct linux_utsname *up); }
224123 UNIMPL modify_ldt 224123 UNIMPL modify_ldt
225124 UNIMPL adjtimex 225124 UNIMPL adjtimex
226125 STD { int|linux_sys||mprotect(const void *start, \ 226125 STD { int|linux_sys||mprotect(const void *start, \
227 unsigned long len, int prot); } 227 unsigned long len, int prot); }
228126 STD { int|linux_sys||sigprocmask(int how, \ 228126 STD { int|linux_sys||sigprocmask(int how, \
229 const linux_old_sigset_t *set, \ 229 const linux_old_sigset_t *set, \
230 linux_old_sigset_t *oset); } 230 linux_old_sigset_t *oset); }
231127 UNIMPL create_module 231127 UNIMPL create_module
232128 UNIMPL init_module 232128 UNIMPL init_module
233129 UNIMPL delete_module 233129 UNIMPL delete_module
234130 UNIMPL get_kernel_syms 234130 UNIMPL get_kernel_syms
235131 UNIMPL quotactl 235131 UNIMPL quotactl
236132 NOARGS { pid_t|sys||getpgid(pid_t pid); } 236132 NOARGS { pid_t|sys||getpgid(pid_t pid); }
237133 NOARGS { int|sys||fchdir(int fd); } 237133 NOARGS { int|sys||fchdir(int fd); }
238134 UNIMPL bdflush 238134 UNIMPL bdflush
239135 UNIMPL sysfs 239135 UNIMPL sysfs
240136 STD { int|linux_sys||personality(unsigned long per); } 240136 STD { int|linux_sys||personality(unsigned long per); }
241137 UNIMPL afs_syscall 241137 UNIMPL afs_syscall
242138 STD { int|linux_sys||setfsuid(uid_t uid); } 242138 STD { int|linux_sys||setfsuid(uid_t uid); }
243139 STD { int|linux_sys||setfsgid(gid_t gid); } 243139 STD { int|linux_sys||setfsgid(gid_t gid); }
244140 STD { int|linux_sys||llseek(int fd, u_int32_t ohigh, \ 244140 STD { int|linux_sys||llseek(int fd, u_int32_t ohigh, \
245 u_int32_t olow, void *res, int whence); } 245 u_int32_t olow, void *res, int whence); }
246141 STD { int|linux_sys||getdents(int fd, \ 246141 STD { int|linux_sys||getdents(int fd, \
247 struct linux_dirent *dent, unsigned int count); } 247 struct linux_dirent *dent, unsigned int count); }
248142 STD { int|linux_sys||select(int nfds, fd_set *readfds, \ 248142 STD { int|linux_sys||select(int nfds, fd_set *readfds, \
249 fd_set *writefds, fd_set *exceptfds, \ 249 fd_set *writefds, fd_set *exceptfds, \
250 struct timeval50 *timeout); } 250 struct timeval50 *timeout); }
251143 NOARGS { int|sys||flock(int fd, int how); } 251143 NOARGS { int|sys||flock(int fd, int how); }
252144 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } 252144 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); }
253145 NOARGS { ssize_t|sys||readv(int fd, \ 253145 NOARGS { ssize_t|sys||readv(int fd, \
254 const struct iovec *iovp, int iovcnt); } 254 const struct iovec *iovp, int iovcnt); }
255146 NOARGS { ssize_t|sys||writev(int fd, \ 255146 NOARGS { ssize_t|sys||writev(int fd, \
256 const struct iovec *iovp, int iovcnt); } 256 const struct iovec *iovp, int iovcnt); }
257147 STD { int|linux_sys||cacheflush(void *addr, \ 257147 STD { int|linux_sys||cacheflush(void *addr, \
258 int bytes, int cache); } 258 int bytes, int cache); }
259148 UNIMPL cachectl 259148 UNIMPL cachectl
260149 STD { int|linux_sys||sysmips(long cmd, long arg1, \ 260149 STD { int|linux_sys||sysmips(long cmd, long arg1, \
261 long arg2, long arg3); } 261 long arg2, long arg3); }
262150 UNIMPL 262150 UNIMPL
263151 NOARGS { pid_t|sys||getsid(pid_t pid); } 263151 NOARGS { pid_t|sys||getsid(pid_t pid); }
264152 STD { int|linux_sys||fdatasync(int fd); } 264152 STD { int|linux_sys||fdatasync(int fd); }
265153 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); } 265153 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); }
266154 NOARGS { int|sys||mlock(void *addr, size_t len); } 266154 NOARGS { int|sys||mlock(void *addr, size_t len); }
267155 NOARGS { int|sys||munlock(void *addr, size_t len); } 267155 NOARGS { int|sys||munlock(void *addr, size_t len); }
268156 NOARGS { int|sys||mlockall(int flags); } 268156 NOARGS { int|sys||mlockall(int flags); }
269157 NOARGS { int|sys||munlockall(void); } 269157 NOARGS { int|sys||munlockall(void); }
270158 STD { int|linux_sys||sched_setparam(pid_t pid, \ 270158 STD { int|linux_sys||sched_setparam(pid_t pid, \
271 const struct linux_sched_param *sp); } 271 const struct linux_sched_param *sp); }
272159 STD { int|linux_sys||sched_getparam(pid_t pid, \ 272159 STD { int|linux_sys||sched_getparam(pid_t pid, \
273 struct linux_sched_param *sp); } 273 struct linux_sched_param *sp); }
274160 STD { int|linux_sys||sched_setscheduler(pid_t pid, \ 274160 STD { int|linux_sys||sched_setscheduler(pid_t pid, \
275 int policy, const struct linux_sched_param *sp); } 275 int policy, const struct linux_sched_param *sp); }
276161 STD { int|linux_sys||sched_getscheduler(pid_t pid); } 276161 STD { int|linux_sys||sched_getscheduler(pid_t pid); }
277162 STD { int|linux_sys||sched_yield(void); } 277162 STD { int|linux_sys||sched_yield(void); }
278163 STD { int|linux_sys||sched_get_priority_max(int policy); } 278163 STD { int|linux_sys||sched_get_priority_max(int policy); }
279164 STD { int|linux_sys||sched_get_priority_min(int policy); } 279164 STD { int|linux_sys||sched_get_priority_min(int policy); }
280165 UNIMPL sched_rr_get_interval 280165 UNIMPL sched_rr_get_interval
281166 STD { int|linux_sys||nanosleep( \ 281166 STD { int|linux_sys||nanosleep( \
282 const struct linux_timespec *rqtp, \ 282 const struct linux_timespec *rqtp, \
283 struct linux_timespec *rmtp); } 283 struct linux_timespec *rmtp); }
284167 STD { void *|linux_sys||mremap(void *old_address, \ 284167 STD { void *|linux_sys||mremap(void *old_address, \
285 size_t old_size, size_t new_size, u_long flags); } 285 size_t old_size, size_t new_size, u_long flags); }
286168 STD { int|linux_sys||accept(int s, \ 286168 STD { int|linux_sys||accept(int s, \
287 struct osockaddr *name, int *anamelen); } 287 struct osockaddr *name, int *anamelen); }
288169 STD { int|linux_sys||bind(int s, \ 288169 STD { int|linux_sys||bind(int s, \
289 const struct osockaddr *name, int namelen); } 289 const struct osockaddr *name, int namelen); }
290170 STD { int|linux_sys||connect(int s, \ 290170 STD { int|linux_sys||connect(int s, \
291 const struct osockaddr *name, int namelen); } 291 const struct osockaddr *name, int namelen); }
292171 STD { int|linux_sys||getpeername(int fdes, void *asa, \ 292171 STD { int|linux_sys||getpeername(int fdes, void *asa, \
293 int *alen); } 293 int *alen); }
294172 STD { int|linux_sys||getsockname(int fdes, void *asa, \ 294172 STD { int|linux_sys||getsockname(int fdes, void *asa, \
295 int *alen); } 295 int *alen); }
296173 STD { int|linux_sys||getsockopt(int s, int level, \ 296173 STD { int|linux_sys||getsockopt(int s, int level, \
297 int optname, void *optval, int *optlen); } 297 int optname, void *optval, int *optlen); }
298174 NOARGS { int|sys||listen(int s, int backlog); } 298174 NOARGS { int|sys||listen(int s, int backlog); }
299175 STD { int|linux_sys||recv(int s, void *buf, int len, \ 299175 STD { int|linux_sys||recv(int s, void *buf, int len, \
300 int flags); } 300 int flags); }
301176 STD { int|linux_sys||recvfrom(int s, void *buf, int len, \ 301176 STD { int|linux_sys||recvfrom(int s, void *buf, int len, \
302 int flags, struct osockaddr *from, \ 302 int flags, struct osockaddr *from, \
303 int *fromlenaddr); } 303 int *fromlenaddr); }
304177 STD { int|linux_sys||recvmsg(int s, \ 304177 STD { int|linux_sys||recvmsg(int s, \
305 struct linux_msghdr *msg, u_int flags); } 305 struct linux_msghdr *msg, u_int flags); }
306178 STD { int|linux_sys||send(int s, void *buf, int len, \ 306178 STD { int|linux_sys||send(int s, void *buf, int len, \
307 int flags); } 307 int flags); }
308179 STD { int|linux_sys||sendmsg(int s, \ 308179 STD { int|linux_sys||sendmsg(int s, \
309 struct linux_msghdr *msg, u_int flags); } 309 struct linux_msghdr *msg, u_int flags); }
310180 STD { int|linux_sys||sendto(int s, void *msg, \ 310180 STD { int|linux_sys||sendto(int s, void *msg, \
311 int len, int flags, struct osockaddr *to, \ 311 int len, int flags, struct osockaddr *to, \
312 int tolen); } 312 int tolen); }
313181 STD { int|linux_sys||setsockopt(int s, int level, \ 313181 STD { int|linux_sys||setsockopt(int s, int level, \
314 int optname, void *optval, int optlen); } 314 int optname, void *optval, int optlen); }
315182 UNIMPL shutdown 315182 UNIMPL shutdown
316183 STD { int|linux_sys||socket(int domain, int type, \ 316183 STD { int|linux_sys||socket(int domain, int type, \
317 int protocol); } 317 int protocol); }
318184 STD { int|linux_sys||socketpair(int domain, int type, \ 318184 STD { int|linux_sys||socketpair(int domain, int type, \
319 int protocol, int *rsv); } 319 int protocol, int *rsv); }
320185 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \ 320185 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \
321 uid_t suid); } 321 uid_t suid); }
322186 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \ 322186 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \
323 uid_t *suid); } 323 uid_t *suid); }
324187 UNIMPL query_module 324187 UNIMPL query_module
325188 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ 325188 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \
326 int timeout); } 326 int timeout); }
327189 UNIMPL nfsservctl 327189 UNIMPL nfsservctl
328190 STD { int|linux_sys||setresgid(gid_t rgid, gid_t egid, \ 328190 STD { int|linux_sys||setresgid(gid_t rgid, gid_t egid, \
329 gid_t sgid); } 329 gid_t sgid); }
330191 STD { int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \ 330191 STD { int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \
331 gid_t *sgid); } 331 gid_t *sgid); }
332192 UNIMPL prctl 332192 UNIMPL prctl
333193 STD { int|linux_sys||rt_sigreturn( \ 333193 STD { int|linux_sys||rt_sigreturn( \
334 struct linux_pt_regs *regs); } 334 struct linux_pt_regs *regs); }
335194 STD { int|linux_sys||rt_sigaction(int signum, \ 335194 STD { int|linux_sys||rt_sigaction(int signum, \
336 const struct linux_sigaction *nsa, \ 336 const struct linux_sigaction *nsa, \
337 struct linux_sigaction *osa, \ 337 struct linux_sigaction *osa, \
338 size_t sigsetsize); } 338 size_t sigsetsize); }
339195 STD { int|linux_sys||rt_sigprocmask(int how, \ 339195 STD { int|linux_sys||rt_sigprocmask(int how, \
340 const linux_sigset_t *set, \ 340 const linux_sigset_t *set, \
341 linux_sigset_t *oset, \ 341 linux_sigset_t *oset, \
342 size_t sigsetsize); } 342 size_t sigsetsize); }
343196 STD { int|linux_sys||rt_sigpending( \ 343196 STD { int|linux_sys||rt_sigpending( \
344 linux_sigset_t *set, \ 344 linux_sigset_t *set, \
345 size_t sigsetsize); } 345 size_t sigsetsize); }
346197 STD { int|linux_sys||rt_sigtimedwait( \ 346197 STD { int|linux_sys||rt_sigtimedwait( \
347 const linux_sigset_t *set, \ 347 const linux_sigset_t *set, \
348 linux_siginfo_t *info, \ 348 linux_siginfo_t *info, \
349 const struct linux_timespec *timeout); } 349 const struct linux_timespec *timeout); }
350198 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \ 350198 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \
351 linux_siginfo_t *uinfo); } 351 linux_siginfo_t *uinfo); }
352199 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \ 352199 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \
353 size_t sigsetsize); } 353 size_t sigsetsize); }
354200 STD { int|linux_sys||pread(int fd, char *buf, \ 354200 STD { int|linux_sys||pread(int fd, char *buf, \
355 size_t nbyte, off_t offset); } 355 size_t nbyte, off_t offset); }
356201 STD { int|linux_sys||pwrite(int fd, char *buf, \ 356201 STD { int|linux_sys||pwrite(int fd, char *buf, \
357 size_t nbyte, off_t offset); } 357 size_t nbyte, off_t offset); }
358202 NOARGS { int|sys||__posix_chown(const char *path, uid_t uid, \ 358202 NOARGS { int|sys||__posix_chown(const char *path, uid_t uid, \
359 gid_t gid); } 359 gid_t gid); }
360203 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } 360203 NOARGS { int|sys||__getcwd(char *bufp, size_t length); }
361204 UNIMPL capget 361204 UNIMPL capget
362205 UNIMPL capset 362205 UNIMPL capset
363206 STD { int|linux_sys||sigaltstack( \ 363206 STD { int|linux_sys||sigaltstack( \
364 const struct linux_sigaltstack *ss, \ 364 const struct linux_sigaltstack *ss, \
365 struct linux_sigaltstack *oss); } 365 struct linux_sigaltstack *oss); }
366207 UNIMPL sendfile 366207 UNIMPL sendfile
367208 UNIMPL 367208 UNIMPL
368209 UNIMPL 368209 UNIMPL
369#define linux_sys_mmap2_args linux_sys_mmap_args 369#define linux_sys_mmap2_args linux_sys_mmap_args
370210 NOARGS { linux_off_t|linux_sys||mmap2(unsigned long addr, \ 370210 NOARGS { linux_off_t|linux_sys||mmap2(unsigned long addr, \
371 size_t len, int prot, int flags, int fd, \ 371 size_t len, int prot, int flags, int fd, \
372 linux_off_t offset); } 372 linux_off_t offset); }
373211 STD { int|linux_sys||truncate64(const char *path, \ 373211 STD { int|linux_sys||truncate64(const char *path, \
374 off_t length); } 374 off_t length); }
375212 STD { int|linux_sys||ftruncate64(unsigned int fd, \ 375212 STD { int|linux_sys||ftruncate64(unsigned int fd, \
376 off_t length); } 376 off_t length); }
377213 STD { int|linux_sys||stat64(const char *path, \ 377213 STD { int|linux_sys||stat64(const char *path, \
378 struct linux_stat64 *sp); } 378 struct linux_stat64 *sp); }
379214 STD { int|linux_sys||lstat64(const char *path, \ 379214 STD { int|linux_sys||lstat64(const char *path, \
380 struct linux_stat64 *sp); } 380 struct linux_stat64 *sp); }
381215 STD { int|linux_sys||fstat64(int fd, \ 381215 STD { int|linux_sys||fstat64(int fd, \
382 struct linux_stat64 *sp); } 382 struct linux_stat64 *sp); }
383216 UNIMPL pivot_root 383216 UNIMPL pivot_root
384217 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } 384217 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); }
385218 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); } 385218 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); }
386219 STD { int|linux_sys||getdents64(int fd, \ 386219 STD { int|linux_sys||getdents64(int fd, \
387 struct linux_dirent64 *dent, unsigned int count); } 387 struct linux_dirent64 *dent, unsigned int count); }
388220 STD { int|linux_sys||fcntl64(int fd, \ 388220 STD { int|linux_sys||fcntl64(int fd, \
389 int cmd, void *arg); } 389 int cmd, void *arg); }
390221 UNIMPL /* reserved */ 390221 UNIMPL /* reserved */
391222 NOARGS { pid_t|linux_sys||gettid(void); } 391222 NOARGS { pid_t|linux_sys||gettid(void); }
392223 UNIMPL readahead 392223 UNIMPL readahead
393224 STD { int|linux_sys||setxattr(char *path, char *name, \ 393224 STD { int|linux_sys||setxattr(char *path, char *name, \
394 void *value, size_t size, int flags); } 394 void *value, size_t size, int flags); }
395225 STD { int|linux_sys||lsetxattr(char *path, char *name, \ 395225 STD { int|linux_sys||lsetxattr(char *path, char *name, \
396 void *value, size_t size, int flags); } 396 void *value, size_t size, int flags); }
397226 STD { int|linux_sys||fsetxattr(int fd, char *name, \ 397226 STD { int|linux_sys||fsetxattr(int fd, char *name, \
398 void *value, size_t size, int flags); } 398 void *value, size_t size, int flags); }
399227 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \ 399227 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \
400 void *value, size_t size); } 400 void *value, size_t size); }
401228 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \ 401228 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \
402 void *value, size_t size); } 402 void *value, size_t size); }
403229 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \ 403229 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \
404 void *value, size_t size); } 404 void *value, size_t size); }
405230 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \ 405230 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \
406 size_t size); } 406 size_t size); }
407231 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \ 407231 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \
408 size_t size); } 408 size_t size); }
409232 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \ 409232 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \
410 size_t size); } 410 size_t size); }
411233 STD { int|linux_sys||removexattr(char *path, char *name); } 411233 STD { int|linux_sys||removexattr(char *path, char *name); }
412234 STD { int|linux_sys||lremovexattr(char *path, char *name); } 412234 STD { int|linux_sys||lremovexattr(char *path, char *name); }
413235 STD { int|linux_sys||fremovexattr(int fd, char *name); } 413235 STD { int|linux_sys||fremovexattr(int fd, char *name); }
414236 STD { int|linux_sys||tkill(int tid, int sig); } 414236 STD { int|linux_sys||tkill(int tid, int sig); }
415237 UNIMPL sendfile64 415237 UNIMPL sendfile64
416238 STD { int|linux_sys||futex(int *uaddr, int op, int val, \ 416238 STD { int|linux_sys||futex(int *uaddr, int op, int val, \
417 const struct linux_timespec *timeout, int *uaddr2, \ 417 const struct linux_timespec *timeout, int *uaddr2, \
418 int val3); } 418 int val3); }
419239 STD { int|linux_sys||sched_setaffinity(pid_t pid, \ 419239 STD { int|linux_sys||sched_setaffinity(pid_t pid, \
420 unsigned int len, unsigned long *mask); } 420 unsigned int len, unsigned long *mask); }
421240 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ 421240 STD { int|linux_sys||sched_getaffinity(pid_t pid, \
422 unsigned int len, unsigned long *mask); } 422 unsigned int len, unsigned long *mask); }
423241 UNIMPL io_setup 423241 UNIMPL io_setup
424242 UNIMPL io_destroy 424242 UNIMPL io_destroy
425243 UNIMPL io_getevents 425243 UNIMPL io_getevents
426244 UNIMPL io_submit 426244 UNIMPL io_submit
427245 UNIMPL io_cancel 427245 UNIMPL io_cancel
428246 STD { int|linux_sys||exit_group(int error_code); } 428246 STD { int|linux_sys||exit_group(int error_code); }
429247 UNIMPL lookup_dcookie 429247 UNIMPL lookup_dcookie
430248 UNIMPL epoll_create 430248 STD { int|linux_sys||epoll_create(int size); }
431249 UNIMPL epoll_ctl 431249 STD { int|linux_sys||epoll_ctl(int epfd, int op, int fd, \
432250 UNIMPL epoll_wait 432 struct linux_epoll_event *event); }
 433250 STD { int|linux_sys||epoll_wait(int epfd, \
 434 struct linux_epoll_event *events, int maxevents, \
 435 int timeout); }
433251 UNIMPL remap_file_pages 436251 UNIMPL remap_file_pages
434252 STD { int|linux_sys||set_tid_address(int *tid); } 437252 STD { int|linux_sys||set_tid_address(int *tid); }
435253 UNIMPL restart_syscall 438253 UNIMPL restart_syscall
436254 STD { int|linux_sys||fadvise64(int fd, off_t offset, \ 439254 STD { int|linux_sys||fadvise64(int fd, off_t offset, \
437 size_t len, int advice); } 440 size_t len, int advice); }
438255 STD { int|linux_sys||statfs64(const char *path, \ 441255 STD { int|linux_sys||statfs64(const char *path, \
439 size_t sz, struct linux_statfs64 *sp); } 442 size_t sz, struct linux_statfs64 *sp); }
440256 STD { int|linux_sys||fstatfs64(int fd, \ 443256 STD { int|linux_sys||fstatfs64(int fd, \
441 size_t sz, struct linux_statfs64 *sp); } 444 size_t sz, struct linux_statfs64 *sp); }
442257 STD { int|linux_sys||timer_create(clockid_t clockid, \ 445257 STD { int|linux_sys||timer_create(clockid_t clockid, \
443 struct linux_sigevent *evp, timer_t *timerid); } 446 struct linux_sigevent *evp, timer_t *timerid); }
444258 STD { int|linux_sys||timer_settime(timer_t timerid, \ 447258 STD { int|linux_sys||timer_settime(timer_t timerid, \
445 int flags, const struct linux_itimerspec *tim, \ 448 int flags, const struct linux_itimerspec *tim, \
446 struct linux_itimerspec *otim); } 449 struct linux_itimerspec *otim); }
447259 STD { int|linux_sys||timer_gettime(timer_t timerid, \ 450259 STD { int|linux_sys||timer_gettime(timer_t timerid, \
448 struct linux_itimerspec *tim); } 451 struct linux_itimerspec *tim); }
449260 NOARGS { int|sys||timer_getoverrun(timer_t timerid); } 452260 NOARGS { int|sys||timer_getoverrun(timer_t timerid); }
450261 NOARGS { int|sys||timer_delete(timer_t timerid); } 453261 NOARGS { int|sys||timer_delete(timer_t timerid); }
451262 STD { int|linux_sys||clock_settime(clockid_t which, \ 454262 STD { int|linux_sys||clock_settime(clockid_t which, \
452 struct linux_timespec *tp); } 455 struct linux_timespec *tp); }
453263 STD { int|linux_sys||clock_gettime(clockid_t which, \ 456263 STD { int|linux_sys||clock_gettime(clockid_t which, \
454 struct linux_timespec *tp); } 457 struct linux_timespec *tp); }
455264 STD { int|linux_sys||clock_getres(clockid_t which, \ 458264 STD { int|linux_sys||clock_getres(clockid_t which, \
456 struct linux_timespec *tp); } 459 struct linux_timespec *tp); }
457265 STD { int|linux_sys||clock_nanosleep(clockid_t which, \ 460265 STD { int|linux_sys||clock_nanosleep(clockid_t which, \
458 int flags, struct linux_timespec *rqtp, \ 461 int flags, struct linux_timespec *rqtp, \
459 struct linux_timespec *rmtp); } 462 struct linux_timespec *rmtp); }
460266 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); } 463266 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); }
461267 NOARGS { int|compat_50_sys||utimes(const char *path, \ 464267 NOARGS { int|compat_50_sys||utimes(const char *path, \
462 const struct timeval50 *tptr); } 465 const struct timeval50 *tptr); }
463268 UNIMPL mbind 466268 UNIMPL mbind
464269 UNIMPL get_mempolicy 467269 UNIMPL get_mempolicy
465270 UNIMPL set_mempolicy 468270 UNIMPL set_mempolicy
466271 UNIMPL mq_open 469271 UNIMPL mq_open
467272 UNIMPL mq_unlink 470272 UNIMPL mq_unlink
468273 UNIMPL mq_timedsend 471273 UNIMPL mq_timedsend
469274 UNIMPL mq_timedreceive 472274 UNIMPL mq_timedreceive
470275 UNIMPL mq_notify 473275 UNIMPL mq_notify
471276 UNIMPL mq_getsetattr 474276 UNIMPL mq_getsetattr
472277 UNIMPL vserve 475277 UNIMPL vserve
473278 UNIMPL waitid 476278 UNIMPL waitid
474279 UNIMPL setaltroot 477279 UNIMPL setaltroot
475280 UNIMPL add_key 478280 UNIMPL add_key
476281 UNIMPL request_key 479281 UNIMPL request_key
477282 UNIMPL keyctl 480282 UNIMPL keyctl
478283 STD { int|linux_sys||set_thread_area(void *tls); } 481283 STD { int|linux_sys||set_thread_area(void *tls); }
479284 UNIMPL inotify_init 482284 UNIMPL inotify_init
480285 UNIMPL inotify_add_watch 483285 UNIMPL inotify_add_watch
481286 UNIMPL inotify_rm_watch 484286 UNIMPL inotify_rm_watch
482287 UNIMPL migrate_pages 485287 UNIMPL migrate_pages
483288 STD { int|linux_sys||openat(int fd, const char *path, \ 486288 STD { int|linux_sys||openat(int fd, const char *path, \
484 int flags, ... linux_umode_t mode); } 487 int flags, ... linux_umode_t mode); }
485289 NOARGS { int|sys||mkdirat(int fd, const char *path, \ 488289 NOARGS { int|sys||mkdirat(int fd, const char *path, \
486 linux_umode_t mode); } 489 linux_umode_t mode); }
487290 STD { int|linux_sys||mknodat(int fd, const char *path, \ 490290 STD { int|linux_sys||mknodat(int fd, const char *path, \
488 linux_umode_t mode, unsigned dev); } 491 linux_umode_t mode, unsigned dev); }
489291 STD { int|linux_sys||fchownat(int fd, const char *path, \ 492291 STD { int|linux_sys||fchownat(int fd, const char *path, \
490 uid_t owner, gid_t group, int flag); } 493 uid_t owner, gid_t group, int flag); }
491292 UNIMPL futimesat 494292 UNIMPL futimesat
492293 STD { int|linux_sys||fstatat64(int fd, const char *path, \ 495293 STD { int|linux_sys||fstatat64(int fd, const char *path, \
493 struct linux_stat64 *sp, int flag); } 496 struct linux_stat64 *sp, int flag); }
494294 STD { int|linux_sys||unlinkat(int fd, const char *path, \ 497294 STD { int|linux_sys||unlinkat(int fd, const char *path, \
495 int flag); } 498 int flag); }
496295 NOARGS { int|sys||renameat(int fromfd, const char *from, \ 499295 NOARGS { int|sys||renameat(int fromfd, const char *from, \
497 int tofd, const char *to); } 500 int tofd, const char *to); }
498296 STD { int|linux_sys||linkat(int fd1, const char *name1, \ 501296 STD { int|linux_sys||linkat(int fd1, const char *name1, \
499 int fd2, const char *name2, int flags); } 502 int fd2, const char *name2, int flags); }
500297 NOARGS { int|sys||symlinkat(const char *path1, int fd, \ 503297 NOARGS { int|sys||symlinkat(const char *path1, int fd, \
501 const char *path2); } 504 const char *path2); }
502298 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \ 505298 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \
503 char *buf, size_t bufsize); } 506 char *buf, size_t bufsize); }
504299 STD { int|linux_sys||fchmodat(int fd, const char *path, \ 507299 STD { int|linux_sys||fchmodat(int fd, const char *path, \
505 linux_umode_t mode); } 508 linux_umode_t mode); }
506300 STD { int|linux_sys||faccessat(int fd, const char *path, \ 509300 STD { int|linux_sys||faccessat(int fd, const char *path, \
507 int amode); } 510 int amode); }
508301 STD { int|linux_sys||pselect6(int nfds, fd_set *readfds, \ 511301 STD { int|linux_sys||pselect6(int nfds, fd_set *readfds, \
509 fd_set *writefds, fd_set *exceptfds, \ 512 fd_set *writefds, fd_set *exceptfds, \
510 struct linux_timespec *timeout, \ 513 struct linux_timespec *timeout, \
511 linux_sized_sigset_t *ss); } 514 linux_sized_sigset_t *ss); }
512302 STD { int|linux_sys||ppoll(struct pollfd *fds, u_int nfds, \ 515302 STD { int|linux_sys||ppoll(struct pollfd *fds, u_int nfds, \
513 struct linux_timespec *timeout, \ 516 struct linux_timespec *timeout, \
514 linux_sigset_t *sigset); } 517 linux_sigset_t *sigset); }
515303 UNIMPL unshare 518303 UNIMPL unshare
516304 UNIMPL splice 519304 UNIMPL splice
517305 UNIMPL sync_file_range 520305 UNIMPL sync_file_range
518306 UNIMPL tee 521306 UNIMPL tee
519307 UNIMPL vmsplice 522307 UNIMPL vmsplice
520308 UNIMPL move_pages 523308 UNIMPL move_pages
521 ; 524 ;
522 ; The NetBSD native robust list calls have different 525 ; The NetBSD native robust list calls have different
523 ; argument names / types, but they are ABI-compatible 526 ; argument names / types, but they are ABI-compatible
524 ; with Linux. 527 ; with Linux.
525 ; 528 ;
526309 NOARGS { int|sys||__futex_set_robust_list(void *head, \ 529309 NOARGS { int|sys||__futex_set_robust_list(void *head, \
527 size_t len); } 530 size_t len); }
528310 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ 531310 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \
529 void **headp, size_t *lenp); } 532 void **headp, size_t *lenp); }
530311 UNIMPL kexec_load 533311 UNIMPL kexec_load
531312 UNIMPL getcpu 534312 UNIMPL getcpu
532313 UNIMPL epoll_pwait 535313 STD { int|linux_sys||epoll_pwait(int epfd, \
 536 struct linux_epoll_event *events, int maxevents, \
 537 int timeout, const linux_sigset_t *sigmask); }
533314 UNIMPL ioprio_set 538314 UNIMPL ioprio_set
534315 UNIMPL ioprio_get 539315 UNIMPL ioprio_get
535316 STD { int|linux_sys||utimensat(int fd, const char *path, \ 540316 STD { int|linux_sys||utimensat(int fd, const char *path, \
536 struct linux_timespec *times, int flag); } 541 struct linux_timespec *times, int flag); }
537317 UNIMPL signalfd 542317 UNIMPL signalfd
538318 UNIMPL timerfd 543318 UNIMPL timerfd
539319 STD { int|linux_sys||eventfd(unsigned int initval); } 544319 STD { int|linux_sys||eventfd(unsigned int initval); }
540320 STD { int|linux_sys||fallocate(int fd, int mode, \ 545320 STD { int|linux_sys||fallocate(int fd, int mode, \
541 off_t offset, off_t len); } 546 off_t offset, off_t len); }
542321 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ 547321 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \
543 int flags); } 548 int flags); }
544322 STD { int|linux_sys||timerfd_gettime(int fd, \ 549322 STD { int|linux_sys||timerfd_gettime(int fd, \
545 struct linux_itimerspec *tim); } 550 struct linux_itimerspec *tim); }
546323 STD { int|linux_sys||timerfd_settime(int fd, int flags, \ 551323 STD { int|linux_sys||timerfd_settime(int fd, int flags, \
547 const struct linux_itimerspec *tim, \ 552 const struct linux_itimerspec *tim, \
548 struct linux_itimerspec *otim); } 553 struct linux_itimerspec *otim); }
549324 UNIMPL signalfd4 554324 UNIMPL signalfd4
550325 STD { int|linux_sys||eventfd2(unsigned int initval, \ 555325 STD { int|linux_sys||eventfd2(unsigned int initval, \
551 int flags); } 556 int flags); }
552326 UNIMPL epoll_create1 557326 STD { int|linux_sys||epoll_create1(int flags); }
553327 STD { int|linux_sys||dup3(int from, int to, int flags); } 558327 STD { int|linux_sys||dup3(int from, int to, int flags); }
554328 STD { int|linux_sys||pipe2(int *pfds, int flags); } 559328 STD { int|linux_sys||pipe2(int *pfds, int flags); }
555329 UNIMPL inotify_init1 560329 UNIMPL inotify_init1
556330 STD { int|linux_sys||preadv(int fd, \ 561330 STD { int|linux_sys||preadv(int fd, \
557 const struct iovec *iovp, int iovcnt, \ 562 const struct iovec *iovp, int iovcnt, \
558 unsigned long off_lo, unsigned long off_hi); } 563 unsigned long off_lo, unsigned long off_hi); }
559331 STD { int|linux_sys||pwritev(int fd, \ 564331 STD { int|linux_sys||pwritev(int fd, \
560 const struct iovcnt *iovp, int iovcnt, \ 565 const struct iovcnt *iovp, int iovcnt, \
561 unsigned long off_lo, unsigned long off_hi); } 566 unsigned long off_lo, unsigned long off_hi); }
562332 UNIMPL rt_tgsigqueueinfo 567332 UNIMPL rt_tgsigqueueinfo
563333 UNIMPL perf_event_open 568333 UNIMPL perf_event_open
564334 STD { int|linux_sys||accept4(int s, \ 569334 STD { int|linux_sys||accept4(int s, \
565 struct osockaddr *name, \ 570 struct osockaddr *name, \
566 int *anamelen, int flags); } 571 int *anamelen, int flags); }
567335 STD { int|linux_sys||recvmmsg(int s, \ 572335 STD { int|linux_sys||recvmmsg(int s, \
568 struct linux_mmsghdr *msgvec, unsigned int vlen, \ 573 struct linux_mmsghdr *msgvec, unsigned int vlen, \
569 unsigned int flags, struct timespec *timeout); } 574 unsigned int flags, struct timespec *timeout); }
570336 UNIMPL getdents64 575336 UNIMPL getdents64
571337 UNIMPL fanotify_init 576337 UNIMPL fanotify_init
572338 UNIMPL fanotify_mark 577338 UNIMPL fanotify_mark
573339 STD { int|linux_sys||prlimit64(pid_t pid, int which, \ 578339 STD { int|linux_sys||prlimit64(pid_t pid, int which, \
574 struct rlimit *new_rlp, struct rlimit *old_rlp); } 579 struct rlimit *new_rlp, struct rlimit *old_rlp); }
575340 UNIMPL name_to_handle_at 580340 UNIMPL name_to_handle_at
576341 UNIMPL open_by_handle_at 581341 UNIMPL open_by_handle_at
577342 UNIMPL clock_adjtime 582342 UNIMPL clock_adjtime
578343 UNIMPL syncfs 583343 UNIMPL syncfs
579344 STD { int|linux_sys||sendmmsg(int s, \ 584344 STD { int|linux_sys||sendmmsg(int s, \
580 struct linux_mmsghdr *msgvec, unsigned int vlen, \ 585 struct linux_mmsghdr *msgvec, unsigned int vlen, \
581 unsigned int flags); } 586 unsigned int flags); }
582345 UNIMPL setns 587345 UNIMPL setns
583346 UNIMPL process_vm_readv 588346 UNIMPL process_vm_readv
584347 UNIMPL process_vm_writev 589347 UNIMPL process_vm_writev
585348 UNIMPL kcmp 590348 UNIMPL kcmp
586349 UNIMPL finit_module 591349 UNIMPL finit_module
587350 UNIMPL sched_setattr 592350 UNIMPL sched_setattr
588351 UNIMPL sched_getattr 593351 UNIMPL sched_getattr
589352 UNIMPL renameat2 594352 UNIMPL renameat2
590353 UNIMPL seccomp 595353 UNIMPL seccomp
591354 NOARGS { ssize_t|sys||getrandom(void *buf, size_t buflen, \ 596354 NOARGS { ssize_t|sys||getrandom(void *buf, size_t buflen, \
592 unsigned int flags); } 597 unsigned int flags); }
593355 UNIMPL memfd_create 598355 UNIMPL memfd_create
594356 UNIMPL bpf 599356 UNIMPL bpf
595357 UNIMPL execveat 600357 UNIMPL execveat
596358 UNIMPL userfaultfd 601358 UNIMPL userfaultfd
597359 UNIMPL membarrier 602359 UNIMPL membarrier
598360 UNIMPL mlock2 603360 UNIMPL mlock2
599361 UNIMPL copy_file_range 604361 UNIMPL copy_file_range
600362 UNIMPL preadv2 605362 UNIMPL preadv2
601363 UNIMPL pwritev2 606363 UNIMPL pwritev2
602364 UNIMPL pkey_mprotect 607364 UNIMPL pkey_mprotect
603365 UNIMPL pkey_alloc 608365 UNIMPL pkey_alloc
604366 UNIMPL pkey_free 609366 UNIMPL pkey_free
605 610367 UNIMPL
 611368 UNIMPL
 612369 UNIMPL
 613370 UNIMPL
 614371 UNIMPL
 615372 UNIMPL
 616373 UNIMPL
 617374 UNIMPL
 618375 UNIMPL
 619376 UNIMPL
 620377 UNIMPL
 621378 UNIMPL
 622379 UNIMPL
 623380 UNIMPL
 624381 UNIMPL
 625382 UNIMPL
 626383 UNIMPL
 627384 UNIMPL
 628385 UNIMPL
 629386 UNIMPL
 630387 UNIMPL
 631388 UNIMPL
 632389 UNIMPL
 633390 UNIMPL
 634391 UNIMPL
 635392 UNIMPL
 636393 UNIMPL
 637394 UNIMPL
 638395 UNIMPL
 639396 UNIMPL
 640397 UNIMPL
 641398 UNIMPL
 642399 UNIMPL
 643400 UNIMPL
 644401 UNIMPL
 645402 UNIMPL
 646403 UNIMPL
 647404 UNIMPL
 648405 UNIMPL
 649406 UNIMPL
 650407 UNIMPL
 651408 UNIMPL
 652409 UNIMPL
 653410 UNIMPL
 654411 UNIMPL
 655412 UNIMPL
 656413 UNIMPL
 657414 UNIMPL
 658415 UNIMPL
 659416 UNIMPL
 660417 UNIMPL
 661418 UNIMPL
 662419 UNIMPL
 663420 UNIMPL
 664421 UNIMPL
 665422 UNIMPL
 666423 UNIMPL
 667424 UNIMPL
 668425 UNIMPL
 669426 UNIMPL
 670427 UNIMPL
 671428 UNIMPL
 672429 UNIMPL
 673430 UNIMPL
 674431 UNIMPL
 675432 UNIMPL
 676433 UNIMPL
 677434 UNIMPL
 678435 UNIMPL
 679436 UNIMPL
 680437 UNIMPL
 681438 UNIMPL
 682439 UNIMPL
 683440 UNIMPL
 684441 STD { int|linux_sys||epoll_pwait2(int epfd, \
 685 struct linux_epoll_event *events, int maxevents, \
 686 const struct linux_timespec *timeout, \
 687 const linux_sigset_t *sigmask); }

cvs diff -r1.80 -r1.81 src/sys/compat/linux/arch/powerpc/syscalls.master (switch to unified diff)

--- src/sys/compat/linux/arch/powerpc/syscalls.master 2021/12/02 04:29:48 1.80
+++ src/sys/compat/linux/arch/powerpc/syscalls.master 2023/07/28 19:01:11 1.81
@@ -1,630 +1,697 @@ @@ -1,630 +1,697 @@
1 $NetBSD: syscalls.master,v 1.80 2021/12/02 04:29:48 ryo Exp $  1 $NetBSD: syscalls.master,v 1.81 2023/07/28 19:01:11 christos Exp $
2 2
3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
4 4
5; Derived from NetBSD's sys/compat/linux/arch/i386/syscalls.master 5; Derived from NetBSD's sys/compat/linux/arch/i386/syscalls.master
6; sys/compat/linux/arch/m68k/syscalls.master 6; sys/compat/linux/arch/m68k/syscalls.master
7; and from Linux's arch/ppc/kernel/misc.S 7; and from Linux's arch/ppc/kernel/misc.S
8; 8;
9; We have problems for a few syscalls, specially: 9; We have problems for a few syscalls, specially:
10; 142 ppc_select -> sys_new_select -> sys_select (Conflicts with 82 ???). 10; 142 ppc_select -> sys_new_select -> sys_select (Conflicts with 82 ???).
11; 11;
12; Expect problems with the following, which have an architecture dependent 12; Expect problems with the following, which have an architecture dependent
13; implementation in Linux/powerpc: 13; implementation in Linux/powerpc:
14; 29 pause 14; 29 pause
15; 42 pipe tested. no problem. 15; 42 pipe tested. no problem.
16; 59 olduname 16; 59 olduname
17; 101 ioperm 17; 101 ioperm
18; 109 uname 18; 109 uname
19; 117 ipc 19; 117 ipc
20; 20;
21; Most of syscalls after 182 that were introduced in Linux-2.4 are UNIMPL. 21; Most of syscalls after 182 that were introduced in Linux-2.4 are UNIMPL.
22; 22;
23; The following are UNIMPL here. The Linux kernel implements them but just logs 23; The following are UNIMPL here. The Linux kernel implements them but just logs
24; a kernel error and returns -ENOSYS. 24; a kernel error and returns -ENOSYS.
25; 110 iopl 25; 110 iopl
26; 113 vm86 26; 113 vm86
27; 123 modify_ldt 27; 123 modify_ldt
28; 198 sys_pciconfig_read 28; 198 sys_pciconfig_read
29; 199 sys_pciconfig_write 29; 199 sys_pciconfig_write
30; 200 sys_pciconfig_iobase 30; 200 sys_pciconfig_iobase
31; 31;
32; Emmanuel Dreyfus <p99dreyf@criens.u-psud.fr> 32; Emmanuel Dreyfus <p99dreyf@criens.u-psud.fr>
33 33
34; NetBSD powerpc COMPAT_LINUX system call name/number "master" file. 34; NetBSD powerpc COMPAT_LINUX system call name/number "master" file.
35; (See syscalls.conf to see what it is processed into.) 35; (See syscalls.conf to see what it is processed into.)
36; 36;
37; Fields: number type [type-dependent ...] 37; Fields: number type [type-dependent ...]
38; number system call number, must be in order 38; number system call number, must be in order
39; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of 39; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
40; the compatibility options defined in syscalls.conf. 40; the compatibility options defined in syscalls.conf.
41; 41;
42; types: 42; types:
43; STD always included 43; STD always included
44; OBSOL obsolete, not included in system 44; OBSOL obsolete, not included in system
45; UNIMPL unimplemented, not included in system 45; UNIMPL unimplemented, not included in system
46; NODEF included, but don't define the syscall number 46; NODEF included, but don't define the syscall number
47; NOARGS included, but don't define the syscall args structure 47; NOARGS included, but don't define the syscall args structure
48; INDIR included, but don't define the syscall args structure 48; INDIR included, but don't define the syscall args structure
49; and allow it to be "really" varargs. 49; and allow it to be "really" varargs.
50; 50;
51; The compat options are defined in the syscalls.conf file, and the 51; The compat options are defined in the syscalls.conf file, and the
52; compat option name is prefixed to the syscall name. Other than 52; compat option name is prefixed to the syscall name. Other than
53; that, they're like NODEF (for 'compat' options), or STD (for 53; that, they're like NODEF (for 'compat' options), or STD (for
54; 'libcompat' options). 54; 'libcompat' options).
55; 55;
56; The type-dependent arguments are as follows: 56; The type-dependent arguments are as follows:
57; For STD, NODEF, NOARGS, and compat syscalls: 57; For STD, NODEF, NOARGS, and compat syscalls:
58; { pseudo-proto } [alias] 58; { pseudo-proto } [alias]
59; For other syscalls: 59; For other syscalls:
60; [comment] 60; [comment]
61; 61;
62; #ifdef's, etc. may be included, and are copied to the output files. 62; #ifdef's, etc. may be included, and are copied to the output files.
63; #include's are copied to the syscall names and switch definition files only. 63; #include's are copied to the syscall names and switch definition files only.
64 64
65#include <sys/param.h> 65#include <sys/param.h>
66#include <sys/poll.h> 66#include <sys/poll.h>
67#include <sys/systm.h> 67#include <sys/systm.h>
68#include <sys/signal.h> 68#include <sys/signal.h>
69#include <sys/mount.h> 69#include <sys/mount.h>
70#include <sys/syscallargs.h> 70#include <sys/syscallargs.h>
71 71
72#include <compat/linux/common/linux_types.h> 72#include <compat/linux/common/linux_types.h>
73#include <compat/linux/common/linux_signal.h> 73#include <compat/linux/common/linux_signal.h>
74#include <compat/linux/common/linux_siginfo.h> 74#include <compat/linux/common/linux_siginfo.h>
75#include <compat/linux/common/linux_machdep.h> 75#include <compat/linux/common/linux_machdep.h>
76#include <compat/linux/common/linux_mmap.h> 76#include <compat/linux/common/linux_mmap.h>
77 77
78#include <compat/linux/linux_syscallargs.h> 78#include <compat/linux/linux_syscallargs.h>
79 79
80%% 80%%
81 81
820 NOARGS { int|linux_sys||nosys(void); } syscall 820 NOARGS { int|linux_sys||nosys(void); } syscall
831 STD { int|linux_sys||exit(int rval); } 831 STD { int|linux_sys||exit(int rval); }
842 NOARGS { int|sys||fork(void); } 842 NOARGS { int|sys||fork(void); }
853 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } 853 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
864 NOARGS { ssize_t|sys||write(int fd, const void *buf, \ 864 NOARGS { ssize_t|sys||write(int fd, const void *buf, \
87 size_t nbyte); } 87 size_t nbyte); }
885 STD { int|linux_sys||open(const char *path, int flags, \ 885 STD { int|linux_sys||open(const char *path, int flags, \
89 linux_umode_t mode); } 89 linux_umode_t mode); }
906 NOARGS { int|sys||close(int fd); } 906 NOARGS { int|sys||close(int fd); }
917 STD { int|linux_sys||waitpid(int pid, int *status, \ 917 STD { int|linux_sys||waitpid(int pid, int *status, \
92 int options);} 92 int options);}
938 STD { int|linux_sys||creat(const char *path, linux_umode_t mode); } 938 STD { int|linux_sys||creat(const char *path, linux_umode_t mode); }
949 NOARGS { int|sys||link(const char *path, const char *link); } 949 NOARGS { int|sys||link(const char *path, const char *link); }
9510 STD { int|linux_sys||unlink(const char *path); } 9510 STD { int|linux_sys||unlink(const char *path); }
9611 NOARGS { int|sys||execve(const char *path, char **argp, \ 9611 NOARGS { int|sys||execve(const char *path, char **argp, \
97 char **envp); } 97 char **envp); }
9812 NOARGS { int|sys||chdir(const char *path); } 9812 NOARGS { int|sys||chdir(const char *path); }
9913 STD { int|linux_sys||time(linux_time_t *t); } 9913 STD { int|linux_sys||time(linux_time_t *t); }
10014 STD { int|linux_sys||mknod(const char *path, linux_umode_t mode, \ 10014 STD { int|linux_sys||mknod(const char *path, linux_umode_t mode, \
101 unsigned dev); } 101 unsigned dev); }
10215 NOARGS { int|sys||chmod(const char *path, int mode); } 10215 NOARGS { int|sys||chmod(const char *path, int mode); }
10316 NOARGS { int|sys||__posix_lchown(const char *path, uid_t uid, \ 10316 NOARGS { int|sys||__posix_lchown(const char *path, uid_t uid, \
104 gid_t gid); } 104 gid_t gid); }
10517 OBSOL break 10517 OBSOL break
10618 OBSOL ostat 10618 OBSOL ostat
10719 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ 10719 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \
108 int whence); } 108 int whence); }
10920 NOARGS { pid_t|sys||getpid(void); } 10920 NOARGS { pid_t|sys||getpid(void); }
11021 UNIMPL mount 11021 UNIMPL mount
11122 OBSOL umount 11122 OBSOL umount
11223 NOARGS { int|sys||setuid(uid_t uid); } 11223 NOARGS { int|sys||setuid(uid_t uid); }
11324 NOARGS { uid_t|sys||getuid(void); } 11324 NOARGS { uid_t|sys||getuid(void); }
11425 STD { int|linux_sys||stime(linux_time_t *t); } 11425 STD { int|linux_sys||stime(linux_time_t *t); }
11526 STD { int|linux_sys||ptrace(int request, int pid, \ 11526 STD { int|linux_sys||ptrace(int request, int pid, \
116 long addr, long data); } 116 long addr, long data); }
11727 STD { int|linux_sys||alarm(unsigned int secs); } 11727 STD { int|linux_sys||alarm(unsigned int secs); }
11828 OBSOL ofstat 11828 OBSOL ofstat
11929 STD { int|linux_sys||pause(void); } 11929 STD { int|linux_sys||pause(void); }
12030 STD { int|linux_sys||utime(const char *path, \ 12030 STD { int|linux_sys||utime(const char *path, \
121 struct linux_utimbuf *times); } 121 struct linux_utimbuf *times); }
12231 OBSOL stty 12231 OBSOL stty
12332 OBSOL gtty 12332 OBSOL gtty
12433 NOARGS { int|sys||access(const char *path, int flags); } 12433 NOARGS { int|sys||access(const char *path, int flags); }
12534 STD { int|linux_sys||nice(int incr); } 12534 STD { int|linux_sys||nice(int incr); }
12635 OBSOL ftime 12635 OBSOL ftime
12736 NOARGS { int|sys||sync(void); } 12736 NOARGS { int|sys||sync(void); }
12837 STD { int|linux_sys||kill(int pid, int signum); } 12837 STD { int|linux_sys||kill(int pid, int signum); }
12938 NOARGS { int|sys||__posix_rename(const char *from, \ 12938 NOARGS { int|sys||__posix_rename(const char *from, \
130 const char *to); } 130 const char *to); }
13139 NOARGS { int|sys||mkdir(const char *path, linux_umode_t mode); } 13139 NOARGS { int|sys||mkdir(const char *path, linux_umode_t mode); }
13240 NOARGS { int|sys||rmdir(const char *path); } 13240 NOARGS { int|sys||rmdir(const char *path); }
13341 NOARGS { int|sys||dup(int fd); } 13341 NOARGS { int|sys||dup(int fd); }
13442 STD { int|linux_sys||pipe(int *pfds); } 13442 STD { int|linux_sys||pipe(int *pfds); }
13543 STD { int|linux_sys||times(struct times *tms); } 13543 STD { int|linux_sys||times(struct times *tms); }
13644 OBSOL prof 13644 OBSOL prof
13745 STD { int|linux_sys||brk(char *nsize); } 13745 STD { int|linux_sys||brk(char *nsize); }
13846 NOARGS { int|sys||setgid(gid_t gid); } 13846 NOARGS { int|sys||setgid(gid_t gid); }
13947 NOARGS { gid_t|sys||getgid(void); } 13947 NOARGS { gid_t|sys||getgid(void); }
14048 STD { int|linux_sys||signal(int signum, \ 14048 STD { int|linux_sys||signal(int signum, \
141 linux_handler_t handler); } 141 linux_handler_t handler); }
14249 NOARGS { uid_t|sys||geteuid(void); } 14249 NOARGS { uid_t|sys||geteuid(void); }
14350 NOARGS { gid_t|sys||getegid(void); } 14350 NOARGS { gid_t|sys||getegid(void); }
14451 NOARGS { int|sys||acct(char *path); } 14451 NOARGS { int|sys||acct(char *path); }
14552 UNIMPL umount 14552 UNIMPL umount
14653 OBSOL lock 14653 OBSOL lock
14754 STD { int|linux_sys||ioctl(int fd, u_long com, \ 14754 STD { int|linux_sys||ioctl(int fd, u_long com, \
148 void *data); } 148 void *data); }
14955 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); } 14955 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); }
15056 OBSOL mpx 15056 OBSOL mpx
15157 NOARGS { int|sys||setpgid(int pid, int pgid); } 15157 NOARGS { int|sys||setpgid(int pid, int pgid); }
15258 OBSOL ulimit 15258 OBSOL ulimit
15359 STD { int|linux_sys||olduname(struct linux_old_utsname \ 15359 STD { int|linux_sys||olduname(struct linux_old_utsname \
154 *up); } 154 *up); }
15560 NOARGS { int|sys||umask(int newmask); } 15560 NOARGS { int|sys||umask(int newmask); }
15661 NOARGS { int|sys||chroot(char *path); } 15661 NOARGS { int|sys||chroot(char *path); }
15762 UNIMPL ustat 15762 UNIMPL ustat
15863 NOARGS { int|sys||dup2(int from, int to); } 15863 NOARGS { int|sys||dup2(int from, int to); }
15964 NOARGS { pid_t|sys||getppid(void); } 15964 NOARGS { pid_t|sys||getppid(void); }
16065 NOARGS { int|sys||getpgrp(void); } 16065 NOARGS { int|sys||getpgrp(void); }
16166 NOARGS { int|sys||setsid(void); } 16166 NOARGS { int|sys||setsid(void); }
16267 STD { int|linux_sys||sigaction(int signum, \ 16267 STD { int|linux_sys||sigaction(int signum, \
163 const struct linux_old_sigaction *nsa, \ 163 const struct linux_old_sigaction *nsa, \
164 struct linux_old_sigaction *osa); } 164 struct linux_old_sigaction *osa); }
16568 STD { int|linux_sys||siggetmask(void); } 16568 STD { int|linux_sys||siggetmask(void); }
16669 STD { int|linux_sys||sigsetmask(linux_old_sigset_t mask); } 16669 STD { int|linux_sys||sigsetmask(linux_old_sigset_t mask); }
16770 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); } 16770 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); }
16871 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); } 16871 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); }
16972 STD { int|linux_sys||sigsuspend(void *restart, \ 16972 STD { int|linux_sys||sigsuspend(void *restart, \
170 int oldmask, int mask); } 170 int oldmask, int mask); }
17173 STD { int|linux_sys||sigpending(linux_old_sigset_t *set); } 17173 STD { int|linux_sys||sigpending(linux_old_sigset_t *set); }
17274 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ 17274 NOARGS { int|compat_43_sys||sethostname(char *hostname, \
173 u_int len);} 173 u_int len);}
17475 STD { int|linux_sys||setrlimit(u_int which, \ 17475 STD { int|linux_sys||setrlimit(u_int which, \
175 struct orlimit *rlp); } 175 struct orlimit *rlp); }
17676 STD { int|linux_sys||getrlimit(u_int which, \ 17676 STD { int|linux_sys||getrlimit(u_int which, \
177 struct orlimit *rlp); } 177 struct orlimit *rlp); }
17877 NOARGS { int|compat_50_sys||getrusage(int who, \ 17877 NOARGS { int|compat_50_sys||getrusage(int who, \
179 struct rusage50 *rusage); } 179 struct rusage50 *rusage); }
18078 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \ 18078 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \
181 struct timezone *tzp); } 181 struct timezone *tzp); }
18279 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \ 18279 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \
183 struct timezone *tzp); } 183 struct timezone *tzp); }
18480 NOARGS { int|sys||getgroups(int gidsetsize, gid_t *gidset); } 18480 NOARGS { int|sys||getgroups(int gidsetsize, gid_t *gidset); }
18581 NOARGS { int|sys||setgroups(int gidsetsize, gid_t *gidset); } 18581 NOARGS { int|sys||setgroups(int gidsetsize, gid_t *gidset); }
18682 STD { int|linux_sys||select(int nfds, fd_set* readfds, \ 18682 STD { int|linux_sys||select(int nfds, fd_set* readfds, \
187 fd_set* writefds, fd_set* exceptfds, \ 187 fd_set* writefds, fd_set* exceptfds, \
188 struct timeval50 *timeout); } 188 struct timeval50 *timeout); }
18983 NOARGS { int|sys||symlink(const char *path, const char *to); } 18983 NOARGS { int|sys||symlink(const char *path, const char *to); }
19084 NOARGS { int|compat_43_sys||lstat(const char *path, \ 19084 NOARGS { int|compat_43_sys||lstat(const char *path, \
191 struct stat43 *up); } oolstat 191 struct stat43 *up); } oolstat
19285 NOARGS { ssize_t|sys||readlink(const char *path, char *buf, \ 19285 NOARGS { ssize_t|sys||readlink(const char *path, char *buf, \
193 int count); } 193 int count); }
194#ifdef EXEC_AOUT 194#ifdef EXEC_AOUT
19586 STD { int|linux_sys||uselib(const char *path); } 19586 STD { int|linux_sys||uselib(const char *path); }
196#else 196#else
19786 UNIMPL sys_uselib 19786 UNIMPL sys_uselib
198#endif 198#endif
19987 STD { int|linux_sys||swapon(char *name); } 19987 STD { int|linux_sys||swapon(char *name); }
20088 STD { int|linux_sys||reboot(int magic1, int magic2, \ 20088 STD { int|linux_sys||reboot(int magic1, int magic2, \
201 int cmd, void *arg); } 201 int cmd, void *arg); }
20289 STD { int|linux_sys||readdir(int fd, void *dent, \ 20289 STD { int|linux_sys||readdir(int fd, void *dent, \
203 unsigned int count); } 203 unsigned int count); }
20490 NOARGS { int|linux_sys||mmap(unsigned long addr, size_t len, \ 20490 NOARGS { int|linux_sys||mmap(unsigned long addr, size_t len, \
205 int prot, int flags, int fd, linux_off_t offset); } 205 int prot, int flags, int fd, linux_off_t offset); }
20691 NOARGS { int|sys||munmap(void *addr, size_t len); } 20691 NOARGS { int|sys||munmap(void *addr, size_t len); }
20792 NOARGS { int|compat_43_sys||truncate(const char *path, \ 20792 NOARGS { int|compat_43_sys||truncate(const char *path, \
208 long length); } 208 long length); }
20993 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } 20993 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); }
21094 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); } 21094 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); }
21195 NOARGS { int|sys||__posix_fchown(int fd, uid_t uid, \ 21195 NOARGS { int|sys||__posix_fchown(int fd, uid_t uid, \
212 gid_t gid); } 212 gid_t gid); }
21396 STD { int|linux_sys||getpriority(int which, int who); } 21396 STD { int|linux_sys||getpriority(int which, int who); }
21497 NOARGS { int|sys||setpriority(int which, int who, int prio); } 21497 NOARGS { int|sys||setpriority(int which, int who, int prio); }
21598 NOARGS { int|sys||profil(void *samples, u_int size, \ 21598 NOARGS { int|sys||profil(void *samples, u_int size, \
216 u_int offset, u_int scale); } 216 u_int offset, u_int scale); }
21799 STD { int|linux_sys||statfs(const char *path, \ 21799 STD { int|linux_sys||statfs(const char *path, \
218 struct linux_statfs *sp); } 218 struct linux_statfs *sp); }
219100 STD { int|linux_sys||fstatfs(int fd, \ 219100 STD { int|linux_sys||fstatfs(int fd, \
220 struct linux_statfs *sp); } 220 struct linux_statfs *sp); }
221101 UNIMPL ioperm 221101 UNIMPL ioperm
222102 STD { int|linux_sys||socketcall(int what, void *args); } 222102 STD { int|linux_sys||socketcall(int what, void *args); }
223103 UNIMPL syslog 223103 UNIMPL syslog
224104 NOARGS { int|compat_50_sys||setitimer(int which, \ 224104 NOARGS { int|compat_50_sys||setitimer(int which, \
225 struct itimerval50 *itv, \ 225 struct itimerval50 *itv, \
226 struct itimerval50 *oitv); } 226 struct itimerval50 *oitv); }
227105 NOARGS { int|compat_50_sys||getitimer(int which, \ 227105 NOARGS { int|compat_50_sys||getitimer(int which, \
228 struct itimerval50 *itv); } 228 struct itimerval50 *itv); }
229106 STD { int|linux_sys||stat(const char *path, \ 229106 STD { int|linux_sys||stat(const char *path, \
230 struct linux_stat *sp); } 230 struct linux_stat *sp); }
231107 STD { int|linux_sys||lstat(const char *path, \ 231107 STD { int|linux_sys||lstat(const char *path, \
232 struct linux_stat *sp); } 232 struct linux_stat *sp); }
233108 STD { int|linux_sys||fstat(int fd, struct linux_stat *sp); } 233108 STD { int|linux_sys||fstat(int fd, struct linux_stat *sp); }
234109 STD { int|linux_sys||uname(struct linux_utsname *up); } 234109 STD { int|linux_sys||uname(struct linux_utsname *up); }
235110 UNIMPL iopl 235110 UNIMPL iopl
236111 UNIMPL vhangup 236111 UNIMPL vhangup
237112 UNIMPL idle 237112 UNIMPL idle
238113 UNIMPL vm86old 238113 UNIMPL vm86old
239114 STD { int|linux_sys||wait4(int pid, int *status, \ 239114 STD { int|linux_sys||wait4(int pid, int *status, \
240 int options, struct rusage50 *rusage); } 240 int options, struct rusage50 *rusage); }
241115 STD { int|linux_sys||swapoff(const char *path); } 241115 STD { int|linux_sys||swapoff(const char *path); }
242116 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); } 242116 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); }
243117 STD { int|linux_sys||ipc(int what, int a1, int a2, int a3, \ 243117 STD { int|linux_sys||ipc(int what, int a1, int a2, int a3, \
244 void *ptr); } 244 void *ptr); }
245118 NOARGS { int|sys||fsync(int fd); } 245118 NOARGS { int|sys||fsync(int fd); }
246119 STD { int|linux_sys||sigreturn(struct linux_sigcontext *scp); } 246119 STD { int|linux_sys||sigreturn(struct linux_sigcontext *scp); }
247120 STD { int|linux_sys||clone(int flags, void *stack, \ 247120 STD { int|linux_sys||clone(int flags, void *stack, \
248 void *parent_tidptr, void *tls, void *child_tidptr); } 248 void *parent_tidptr, void *tls, void *child_tidptr); }
249121 STD { int|linux_sys||setdomainname(char *domainname, \ 249121 STD { int|linux_sys||setdomainname(char *domainname, \
250 int len); } 250 int len); }
251122 STD { int|linux_sys||new_uname(struct linux_utsname *up); } 251122 STD { int|linux_sys||new_uname(struct linux_utsname *up); }
252123 UNIMPL modify_ldt 252123 UNIMPL modify_ldt
253124 UNIMPL adjtimex 253124 UNIMPL adjtimex
254125 STD { int|linux_sys||mprotect(const void *start, \ 254125 STD { int|linux_sys||mprotect(const void *start, \
255 unsigned long len, int prot); } 255 unsigned long len, int prot); }
256126 STD { int|linux_sys||sigprocmask(int how, \ 256126 STD { int|linux_sys||sigprocmask(int how, \
257 const linux_old_sigset_t *set, \ 257 const linux_old_sigset_t *set, \
258 linux_old_sigset_t *oset); } 258 linux_old_sigset_t *oset); }
259127 UNIMPL create_module 259127 UNIMPL create_module
260128 UNIMPL init_module 260128 UNIMPL init_module
261129 UNIMPL delete_module 261129 UNIMPL delete_module
262130 UNIMPL get_kernel_syms 262130 UNIMPL get_kernel_syms
263131 UNIMPL quotactl 263131 UNIMPL quotactl
264132 NOARGS { pid_t|sys||getpgid(pid_t pid); } 264132 NOARGS { pid_t|sys||getpgid(pid_t pid); }
265133 NOARGS { int|sys||fchdir(int fd); } 265133 NOARGS { int|sys||fchdir(int fd); }
266134 UNIMPL bdflush 266134 UNIMPL bdflush
267135 UNIMPL sysfs 267135 UNIMPL sysfs
268136 STD { int|linux_sys||personality(unsigned long per); } 268136 STD { int|linux_sys||personality(unsigned long per); }
269137 UNIMPL afs_syscall 269137 UNIMPL afs_syscall
270138 STD { int|linux_sys||setfsuid(uid_t uid); } 270138 STD { int|linux_sys||setfsuid(uid_t uid); }
271139 STD { int|linux_sys||setfsgid(gid_t gid); } 271139 STD { int|linux_sys||setfsgid(gid_t gid); }
272140 STD { int|linux_sys||llseek(int fd, u_int32_t ohigh, \ 272140 STD { int|linux_sys||llseek(int fd, u_int32_t ohigh, \
273 u_int32_t olow, void *res, int whence); } 273 u_int32_t olow, void *res, int whence); }
274141 STD { int|linux_sys||getdents(int fd, \ 274141 STD { int|linux_sys||getdents(int fd, \
275 struct linux_dirent *dent, unsigned int count); } 275 struct linux_dirent *dent, unsigned int count); }
276142 STD { int|linux_sys||new_select(int nfds, fd_set *readfds, \ 276142 STD { int|linux_sys||new_select(int nfds, fd_set *readfds, \
277 fd_set *writefds, fd_set *exceptfds, \ 277 fd_set *writefds, fd_set *exceptfds, \
278 struct timeval50 *timeout); } 278 struct timeval50 *timeout); }
279143 NOARGS { int|sys||flock(int fd, int how); } 279143 NOARGS { int|sys||flock(int fd, int how); }
280144 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } 280144 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); }
281145 NOARGS { ssize_t|sys||readv(int fd, \ 281145 NOARGS { ssize_t|sys||readv(int fd, \
282 const struct iovec *iovp, int iovcnt); } 282 const struct iovec *iovp, int iovcnt); }
283146 NOARGS { ssize_t|sys||writev(int fd, \ 283146 NOARGS { ssize_t|sys||writev(int fd, \
284 const struct iovec *iovp, int iovcnt); } 284 const struct iovec *iovp, int iovcnt); }
285147 NOARGS { pid_t|sys||getsid(pid_t pid); } 285147 NOARGS { pid_t|sys||getsid(pid_t pid); }
286148 STD { int|linux_sys||fdatasync(int fd); } 286148 STD { int|linux_sys||fdatasync(int fd); }
287149 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); } 287149 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); }
288150 NOARGS { int|sys||mlock(void *addr, size_t len); } 288150 NOARGS { int|sys||mlock(void *addr, size_t len); }
289151 NOARGS { int|sys||munlock(void *addr, size_t len); } 289151 NOARGS { int|sys||munlock(void *addr, size_t len); }
290152 NOARGS { int|sys||mlockall(int flags); } 290152 NOARGS { int|sys||mlockall(int flags); }
291153 NOARGS { int|sys||munlockall(void); } 291153 NOARGS { int|sys||munlockall(void); }
292154 STD { int|linux_sys||sched_setparam(pid_t pid, \ 292154 STD { int|linux_sys||sched_setparam(pid_t pid, \
293 const struct linux_sched_param *sp); } 293 const struct linux_sched_param *sp); }
294155 STD { int|linux_sys||sched_getparam(pid_t pid, \ 294155 STD { int|linux_sys||sched_getparam(pid_t pid, \
295 struct linux_sched_param *sp); } 295 struct linux_sched_param *sp); }
296156 STD { int|linux_sys||sched_setscheduler(pid_t pid, \ 296156 STD { int|linux_sys||sched_setscheduler(pid_t pid, \
297 int policy, const struct linux_sched_param *sp); } 297 int policy, const struct linux_sched_param *sp); }
298157 STD { int|linux_sys||sched_getscheduler(pid_t pid); } 298157 STD { int|linux_sys||sched_getscheduler(pid_t pid); }
299158 STD { int|linux_sys||sched_yield(void); } 299158 STD { int|linux_sys||sched_yield(void); }
300159 STD { int|linux_sys||sched_get_priority_max(int policy); } 300159 STD { int|linux_sys||sched_get_priority_max(int policy); }
301160 STD { int|linux_sys||sched_get_priority_min(int policy); } 301160 STD { int|linux_sys||sched_get_priority_min(int policy); }
302161 UNIMPL sched_rr_get_interval 302161 UNIMPL sched_rr_get_interval
303162 STD { int|linux_sys||nanosleep( \ 303162 STD { int|linux_sys||nanosleep( \
304 const struct linux_timespec *rqtp, \ 304 const struct linux_timespec *rqtp, \
305 struct linux_timespec *rmtp); } 305 struct linux_timespec *rmtp); }
306163 STD { void *|linux_sys||mremap(void *old_address, \ 306163 STD { void *|linux_sys||mremap(void *old_address, \
307 size_t old_size, size_t new_size, u_long flags); } 307 size_t old_size, size_t new_size, u_long flags); }
308164 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \ 308164 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \
309 uid_t suid); } 309 uid_t suid); }
310165 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \ 310165 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \
311 uid_t *suid); } 311 uid_t *suid); }
312166 UNIMPL query_module 312166 UNIMPL query_module
313167 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ 313167 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \
314 int timeout); } 314 int timeout); }
315168 UNIMPL nfsservctl 315168 UNIMPL nfsservctl
316169 STD { int|linux_sys||setresgid(gid_t rgid, gid_t egid, \ 316169 STD { int|linux_sys||setresgid(gid_t rgid, gid_t egid, \
317 gid_t sgid); } 317 gid_t sgid); }
318170 STD { int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \ 318170 STD { int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \
319 gid_t *sgid); } 319 gid_t *sgid); }
320171 UNIMPL prctl 320171 UNIMPL prctl
321172 STD { int|linux_sys||rt_sigreturn( \ 321172 STD { int|linux_sys||rt_sigreturn( \
322 struct linux_rt_sigframe *sfp); } 322 struct linux_rt_sigframe *sfp); }
323173 STD { int|linux_sys||rt_sigaction(int signum, \ 323173 STD { int|linux_sys||rt_sigaction(int signum, \
324 const struct linux_sigaction *nsa, \ 324 const struct linux_sigaction *nsa, \
325 struct linux_sigaction *osa, \ 325 struct linux_sigaction *osa, \
326 size_t sigsetsize); } 326 size_t sigsetsize); }
327174 STD { int|linux_sys||rt_sigprocmask(int how, \ 327174 STD { int|linux_sys||rt_sigprocmask(int how, \
328 const linux_sigset_t *set, \ 328 const linux_sigset_t *set, \
329 linux_sigset_t *oset, \ 329 linux_sigset_t *oset, \
330 size_t sigsetsize); } 330 size_t sigsetsize); }
331175 STD { int|linux_sys||rt_sigpending( \ 331175 STD { int|linux_sys||rt_sigpending( \
332 linux_sigset_t *set, \ 332 linux_sigset_t *set, \
333 size_t sigsetsize); } 333 size_t sigsetsize); }
334176 STD { int|linux_sys||rt_sigtimedwait( \ 334176 STD { int|linux_sys||rt_sigtimedwait( \
335 const linux_sigset_t *set, \ 335 const linux_sigset_t *set, \
336 linux_siginfo_t *info, \ 336 linux_siginfo_t *info, \
337 const struct linux_timespec *timeout); } 337 const struct linux_timespec *timeout); }
338177 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \ 338177 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \
339 linux_siginfo_t *uinfo); } 339 linux_siginfo_t *uinfo); }
340178 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \ 340178 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \
341 size_t sigsetsize); } 341 size_t sigsetsize); }
342179 STD { int|linux_sys||pread(int fd, char *buf, \ 342179 STD { int|linux_sys||pread(int fd, char *buf, \
343 size_t nbyte, off_t offset); } 343 size_t nbyte, off_t offset); }
344180 STD { int|linux_sys||pwrite(int fd, char *buf, \ 344180 STD { int|linux_sys||pwrite(int fd, char *buf, \
345 size_t nbyte, off_t offset); } 345 size_t nbyte, off_t offset); }
346181 NOARGS { int|sys||__posix_chown(const char *path, uid_t uid, \ 346181 NOARGS { int|sys||__posix_chown(const char *path, uid_t uid, \
347 gid_t gid); } 347 gid_t gid); }
348182 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } 348182 NOARGS { int|sys||__getcwd(char *bufp, size_t length); }
349183 UNIMPL capget 349183 UNIMPL capget
350184 UNIMPL capset 350184 UNIMPL capset
351185 STD { int|linux_sys||sigaltstack( \ 351185 STD { int|linux_sys||sigaltstack( \
352 const struct linux_sigaltstack *ss, \ 352 const struct linux_sigaltstack *ss, \
353 struct linux_sigaltstack *oss); } 353 struct linux_sigaltstack *oss); }
354186 UNIMPL sendfile 354186 UNIMPL sendfile
355187 UNIMPL getpmsg 355187 UNIMPL getpmsg
356188 UNIMPL putpmsg 356188 UNIMPL putpmsg
357189 NOARGS { int|sys|14|vfork(void); } 357189 NOARGS { int|sys|14|vfork(void); }
358190 STD { int|linux_sys||ugetrlimit(int which, \ 358190 STD { int|linux_sys||ugetrlimit(int which, \
359 struct rlimit *rlp); } 359 struct rlimit *rlp); }
360191 UNIMPL /* unused */ 360191 UNIMPL /* unused */
361#define linux_sys_mmap2_args linux_sys_mmap_args 361#define linux_sys_mmap2_args linux_sys_mmap_args
362192 NOARGS { linux_off_t|linux_sys||mmap2(unsigned long addr, \ 362192 NOARGS { linux_off_t|linux_sys||mmap2(unsigned long addr, \
363 size_t len, int prot, int flags, int fd, \ 363 size_t len, int prot, int flags, int fd, \
364 linux_off_t offset); } 364 linux_off_t offset); }
365193 STD { int|linux_sys||truncate64(const char *path, \ 365193 STD { int|linux_sys||truncate64(const char *path, \
366 off_t length); } 366 off_t length); }
367194 STD { int|linux_sys||ftruncate64(unsigned int fd, \ 367194 STD { int|linux_sys||ftruncate64(unsigned int fd, \
368 off_t length); } 368 off_t length); }
369195 STD { int|linux_sys||stat64(const char *path, \ 369195 STD { int|linux_sys||stat64(const char *path, \
370 struct linux_stat64 *sp); } 370 struct linux_stat64 *sp); }
371196 STD { int|linux_sys||lstat64(const char *path, \ 371196 STD { int|linux_sys||lstat64(const char *path, \
372 struct linux_stat64 *sp); } 372 struct linux_stat64 *sp); }
373197 STD { int|linux_sys||fstat64(int fd, \ 373197 STD { int|linux_sys||fstat64(int fd, \
374 struct linux_stat64 *sp); } 374 struct linux_stat64 *sp); }
375198 UNIMPL sys_pciconfig_read 375198 UNIMPL sys_pciconfig_read
376199 UNIMPL sys_pciconfig_write 376199 UNIMPL sys_pciconfig_write
377200 UNIMPL sys_pciconfig_iobase 377200 UNIMPL sys_pciconfig_iobase
378201 UNIMPL /* Unused (MacOnLinux project) */ 378201 UNIMPL /* Unused (MacOnLinux project) */
379202 STD { int|linux_sys||getdents64(int fd, \ 379202 STD { int|linux_sys||getdents64(int fd, \
380 struct linux_dirent64 *dent, unsigned int count); } 380 struct linux_dirent64 *dent, unsigned int count); }
381203 UNIMPL pivot_root 381203 UNIMPL pivot_root
382204 STD { int|linux_sys||fcntl64(int fd, int cmd, void *arg); } 382204 STD { int|linux_sys||fcntl64(int fd, int cmd, void *arg); }
383205 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } 383205 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); }
384206 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); } 384206 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); }
385207 NOARGS { pid_t|linux_sys||gettid(void); } 385207 NOARGS { pid_t|linux_sys||gettid(void); }
386208 STD { int|linux_sys||tkill(int tid, int sig); } 386208 STD { int|linux_sys||tkill(int tid, int sig); }
387209 STD { int|linux_sys||setxattr(char *path, char *name, \ 387209 STD { int|linux_sys||setxattr(char *path, char *name, \
388 void *value, size_t size, int flags); } 388 void *value, size_t size, int flags); }
389210 STD { int|linux_sys||lsetxattr(char *path, char *name, \ 389210 STD { int|linux_sys||lsetxattr(char *path, char *name, \
390 void *value, size_t size, int flags); } 390 void *value, size_t size, int flags); }
391211 STD { int|linux_sys||fsetxattr(int fd, char *name, \ 391211 STD { int|linux_sys||fsetxattr(int fd, char *name, \
392 void *value, size_t size, int flags); } 392 void *value, size_t size, int flags); }
393212 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \ 393212 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \
394 void *value, size_t size); } 394 void *value, size_t size); }
395213 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \ 395213 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \
396 void *value, size_t size); } 396 void *value, size_t size); }
397214 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \ 397214 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \
398 void *value, size_t size); } 398 void *value, size_t size); }
399215 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \ 399215 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \
400 size_t size); } 400 size_t size); }
401216 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \ 401216 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \
402 size_t size); } 402 size_t size); }
403217 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \ 403217 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \
404 size_t size); } 404 size_t size); }
405218 STD { int|linux_sys||removexattr(char *path, char *name); } 405218 STD { int|linux_sys||removexattr(char *path, char *name); }
406219 STD { int|linux_sys||lremovexattr(char *path, char *name); } 406219 STD { int|linux_sys||lremovexattr(char *path, char *name); }
407220 STD { int|linux_sys||fremovexattr(int fd, char *name); } 407220 STD { int|linux_sys||fremovexattr(int fd, char *name); }
408221 STD { int|linux_sys||futex(int *uaddr, int op, int val, \ 408221 STD { int|linux_sys||futex(int *uaddr, int op, int val, \
409 const struct linux_timespec *timeout, int *uaddr2, \ 409 const struct linux_timespec *timeout, int *uaddr2, \
410 int val3); } 410 int val3); }
411222 STD { int|linux_sys||sched_setaffinity(pid_t pid, \ 411222 STD { int|linux_sys||sched_setaffinity(pid_t pid, \
412 unsigned int len, unsigned long *mask); } 412 unsigned int len, unsigned long *mask); }
413223 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ 413223 STD { int|linux_sys||sched_getaffinity(pid_t pid, \
414 unsigned int len, unsigned long *mask); } 414 unsigned int len, unsigned long *mask); }
415224 UNIMPL /* unused */ 415224 UNIMPL /* unused */
416225 UNIMPL tuxcall 416225 UNIMPL tuxcall
417226 UNIMPL sendfile64 417226 UNIMPL sendfile64
418227 UNIMPL io_setup 418227 UNIMPL io_setup
419228 UNIMPL io_destroy 419228 UNIMPL io_destroy
420229 UNIMPL io_getevents 420229 UNIMPL io_getevents
421230 UNIMPL io_submit 421230 UNIMPL io_submit
422231 UNIMPL io_cancel 422231 UNIMPL io_cancel
423232 STD { int|linux_sys||set_tid_address(int *tid); } 423232 STD { int|linux_sys||set_tid_address(int *tid); }
424233 STD { int|linux_sys||fadvise64(int fd, off_t offset, \ 424233 STD { int|linux_sys||fadvise64(int fd, off_t offset, \
425 size_t len, int advice); } 425 size_t len, int advice); }
426234 STD { int|linux_sys||exit_group(int error_code); } 426234 STD { int|linux_sys||exit_group(int error_code); }
427235 UNIMPL lookup_dcookie 427235 UNIMPL lookup_dcookie
428236 UNIMPL epoll_create 428236 STD { int|linux_sys||epoll_create(int size); }
429237 UNIMPL epoll_ctl 429237 STD { int|linux_sys||epoll_ctl(int epfd, int op, int fd, \
430238 UNIMPL epoll_wait 430 struct linux_epoll_event *event); }
 431238 STD { int|linux_sys||epoll_wait(int epfd, \
 432 struct linux_epoll_event *events, int maxevents, \
 433 int timeout); }
431239 UNIMPL remap_file_pages 434239 UNIMPL remap_file_pages
432240 STD { int|linux_sys||timer_create(clockid_t clockid, \ 435240 STD { int|linux_sys||timer_create(clockid_t clockid, \
433 struct linux_sigevent *evp, timer_t *timerid); } 436 struct linux_sigevent *evp, timer_t *timerid); }
434241 STD { int|linux_sys||timer_settime(timer_t timerid, \ 437241 STD { int|linux_sys||timer_settime(timer_t timerid, \
435 int flags, const struct linux_itimerspec *tim, \ 438 int flags, const struct linux_itimerspec *tim, \
436 struct linux_itimerspec *otim); } 439 struct linux_itimerspec *otim); }
437242 STD { int|linux_sys||timer_gettime(timer_t timerid, \ 440242 STD { int|linux_sys||timer_gettime(timer_t timerid, \
438 struct linux_itimerspec *tim); } 441 struct linux_itimerspec *tim); }
439243 NOARGS { int|sys||timer_getoverrun(timer_t timerid); } 442243 NOARGS { int|sys||timer_getoverrun(timer_t timerid); }
440244 NOARGS { int|sys||timer_delete(timer_t timerid); } 443244 NOARGS { int|sys||timer_delete(timer_t timerid); }
441245 STD { int|linux_sys||clock_settime(clockid_t which, \ 444245 STD { int|linux_sys||clock_settime(clockid_t which, \
442 struct linux_timespec *tp); } 445 struct linux_timespec *tp); }
443246 STD { int|linux_sys||clock_gettime(clockid_t which, \ 446246 STD { int|linux_sys||clock_gettime(clockid_t which, \
444 struct linux_timespec *tp); } 447 struct linux_timespec *tp); }
445247 STD { int|linux_sys||clock_getres(clockid_t which, \ 448247 STD { int|linux_sys||clock_getres(clockid_t which, \
446 struct linux_timespec *tp); } 449 struct linux_timespec *tp); }
447248 STD { int|linux_sys||clock_nanosleep(clockid_t which, \ 450248 STD { int|linux_sys||clock_nanosleep(clockid_t which, \
448 int flags, struct linux_timespec *rqtp, \ 451 int flags, struct linux_timespec *rqtp, \
449 struct linux_timespec *rmtp); } 452 struct linux_timespec *rmtp); }
450249 UNIMPL swapcontext 453249 UNIMPL swapcontext
451250 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); } 454250 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); }
452251 NOARGS { int|compat_50_sys||utimes(const char *path, \ 455251 NOARGS { int|compat_50_sys||utimes(const char *path, \
453 const struct timeval50 *tptr); } 456 const struct timeval50 *tptr); }
454252 STD { int|linux_sys||statfs64(const char *path, \ 457252 STD { int|linux_sys||statfs64(const char *path, \
455 size_t sz, struct linux_statfs64 *sp); } 458 size_t sz, struct linux_statfs64 *sp); }
456253 STD { int|linux_sys||fstatfs64(int fd, \ 459253 STD { int|linux_sys||fstatfs64(int fd, \
457 size_t sz, struct linux_statfs64 *sp); } 460 size_t sz, struct linux_statfs64 *sp); }
458254 STD { int|linux_sys||fadvise64_64(int fd, off_t offset, \ 461254 STD { int|linux_sys||fadvise64_64(int fd, off_t offset, \
459 off_t len, int advice); } 462 off_t len, int advice); }
460255 UNIMPL rtas 463255 UNIMPL rtas
461256 UNIMPL /* reserved for sys_debug_setcontext */ 464256 UNIMPL /* reserved for sys_debug_setcontext */
462257 UNIMPL /* reserved for vserver */ 465257 UNIMPL /* reserved for vserver */
463258 UNIMPL /* reserved for new sys_remap_file_pages */ 466258 UNIMPL /* reserved for new sys_remap_file_pages */
464259 UNIMPL /* reserved for new sys_mbind */ 467259 UNIMPL /* reserved for new sys_mbind */
465260 UNIMPL /* reserved for new sys_get_mempolicy */ 468260 UNIMPL /* reserved for new sys_get_mempolicy */
466261 UNIMPL /* reserved for new sys_set_mempolicy */ 469261 UNIMPL /* reserved for new sys_set_mempolicy */
467262 UNIMPL mq_open 470262 UNIMPL mq_open
468263 UNIMPL mq_unlink 471263 UNIMPL mq_unlink
469264 UNIMPL mq_timedsend 472264 UNIMPL mq_timedsend
470265 UNIMPL mq_timedreceive 473265 UNIMPL mq_timedreceive
471266 UNIMPL mq_notify 474266 UNIMPL mq_notify
472267 UNIMPL mq_getsetattr 475267 UNIMPL mq_getsetattr
473268 UNIMPL kexec_load 476268 UNIMPL kexec_load
474269 UNIMPL add_key 477269 UNIMPL add_key
475270 UNIMPL request_key 478270 UNIMPL request_key
476271 UNIMPL keyctl 479271 UNIMPL keyctl
477272 UNIMPL waitid 480272 UNIMPL waitid
478273 UNIMPL ioprio_set 481273 UNIMPL ioprio_set
479274 UNIMPL ioprio_get 482274 UNIMPL ioprio_get
480275 UNIMPL inotify_init 483275 UNIMPL inotify_init
481276 UNIMPL inotify_add_watch 484276 UNIMPL inotify_add_watch
482277 UNIMPL inotify_rm_watch 485277 UNIMPL inotify_rm_watch
483278 UNIMPL spu_run 486278 UNIMPL spu_run
484279 UNIMPL spu_create 487279 UNIMPL spu_create
485280 STD { int|linux_sys||pselect6(int nfds, fd_set *readfds, \ 488280 STD { int|linux_sys||pselect6(int nfds, fd_set *readfds, \
486 fd_set *writefds, fd_set *exceptfds, \ 489 fd_set *writefds, fd_set *exceptfds, \
487 struct linux_timespec *timeout, \ 490 struct linux_timespec *timeout, \
488 linux_sized_sigset_t *ss); } 491 linux_sized_sigset_t *ss); }
489281 STD { int|linux_sys||ppoll(struct pollfd *fds, u_int nfds, \ 492281 STD { int|linux_sys||ppoll(struct pollfd *fds, u_int nfds, \
490 struct linux_timespec *timeout, \ 493 struct linux_timespec *timeout, \
491 linux_sigset_t *sigset); } 494 linux_sigset_t *sigset); }
492282 UNIMPL unshare 495282 UNIMPL unshare
493283 UNIMPL splice 496283 UNIMPL splice
494284 UNIMPL tee 497284 UNIMPL tee
495285 UNIMPL vmsplice 498285 UNIMPL vmsplice
496286 STD { int|linux_sys||openat(int fd, const char *path, \ 499286 STD { int|linux_sys||openat(int fd, const char *path, \
497 int flags, ... linux_umode_t mode); } 500 int flags, ... linux_umode_t mode); }
498287 NOARGS { int|sys||mkdirat(int fd, const char *path, \ 501287 NOARGS { int|sys||mkdirat(int fd, const char *path, \
499 linux_umode_t mode); } 502 linux_umode_t mode); }
500288 STD { int|linux_sys||mknodat(int fd, const char *path, \ 503288 STD { int|linux_sys||mknodat(int fd, const char *path, \
501 linux_umode_t mode, unsigned dev); } 504 linux_umode_t mode, unsigned dev); }
502289 STD { int|linux_sys||fchownat(int fd, const char *path, \ 505289 STD { int|linux_sys||fchownat(int fd, const char *path, \
503 uid_t owner, gid_t group, int flag); } 506 uid_t owner, gid_t group, int flag); }
504290 UNIMPL futimesat 507290 UNIMPL futimesat
505291 STD { int|linux_sys||fstatat64(int fd, const char *path, \ 508291 STD { int|linux_sys||fstatat64(int fd, const char *path, \
506 struct linux_stat64 *sp, int flag); } 509 struct linux_stat64 *sp, int flag); }
507292 STD { int|linux_sys||unlinkat(int fd, const char *path, \ 510292 STD { int|linux_sys||unlinkat(int fd, const char *path, \
508 int flag); } 511 int flag); }
509293 NOARGS { int|sys||renameat(int fromfd, const char *from, \ 512293 NOARGS { int|sys||renameat(int fromfd, const char *from, \
510 int tofd, const char *to); } 513 int tofd, const char *to); }
511294 STD { int|linux_sys||linkat(int fd1, const char *name1, \ 514294 STD { int|linux_sys||linkat(int fd1, const char *name1, \
512 int fd2, const char *name2, int flags); } 515 int fd2, const char *name2, int flags); }
513295 NOARGS { int|sys||symlinkat(const char *path1, int fd, \ 516295 NOARGS { int|sys||symlinkat(const char *path1, int fd, \
514 const char *path2); } 517 const char *path2); }
515296 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \ 518296 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \
516 char *buf, size_t bufsize); } 519 char *buf, size_t bufsize); }
517297 STD { int|linux_sys||fchmodat(int fd, const char *path, \ 520297 STD { int|linux_sys||fchmodat(int fd, const char *path, \
518 linux_umode_t mode); } 521 linux_umode_t mode); }
519298 STD { int|linux_sys||faccessat(int fd, const char *path, \ 522298 STD { int|linux_sys||faccessat(int fd, const char *path, \
520 int amode); } 523 int amode); }
521 ; 524 ;
522 ; The NetBSD native robust list calls have different 525 ; The NetBSD native robust list calls have different
523 ; argument names / types, but they are ABI-compatible 526 ; argument names / types, but they are ABI-compatible
524 ; with Linux. 527 ; with Linux.
525 ; 528 ;
526299 NOARGS { int|sys||__futex_set_robust_list(void *head, \ 529299 NOARGS { int|sys||__futex_set_robust_list(void *head, \
527 size_t len); } 530 size_t len); }
528300 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ 531300 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \
529 void **headp, size_t *lenp); } 532 void **headp, size_t *lenp); }
530301 UNIMPL move_pages 533301 UNIMPL move_pages
531302 UNIMPL getcpu 534302 UNIMPL getcpu
532303 UNIMPL epoll_wait 535303 STD { int|linux_sys||epoll_pwait(int epfd, \
 536 struct linux_epoll_event *events, int maxevents, \
 537 int timeout, const linux_sigset_t *sigmask); }
533304 STD { int|linux_sys||utimensat(int fd, const char *path, \ 538304 STD { int|linux_sys||utimensat(int fd, const char *path, \
534 struct linux_timespec *times, int flag); } 539 struct linux_timespec *times, int flag); }
535305 UNIMPL signalfd 540305 UNIMPL signalfd
536306 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ 541306 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \
537 int flags); } 542 int flags); }
538307 STD { int|linux_sys||eventfd(unsigned int initval); } 543307 STD { int|linux_sys||eventfd(unsigned int initval); }
539308 UNIMPL sync_file_range2 544308 UNIMPL sync_file_range2
540309 STD { int|linux_sys||fallocate(int fd, int mode, \ 545309 STD { int|linux_sys||fallocate(int fd, int mode, \
541 off_t offset, off_t len); } 546 off_t offset, off_t len); }
542310 UNIMPL subpage_prot 547310 UNIMPL subpage_prot
543311 STD { int|linux_sys||timerfd_settime(int fd, int flags, \ 548311 STD { int|linux_sys||timerfd_settime(int fd, int flags, \
544 const struct linux_itimerspec *tim, \ 549 const struct linux_itimerspec *tim, \
545 struct linux_itimerspec *otim); } 550 struct linux_itimerspec *otim); }
546312 STD { int|linux_sys||timerfd_gettime(int fd, \ 551312 STD { int|linux_sys||timerfd_gettime(int fd, \
547 struct linux_itimerspec *tim); } 552 struct linux_itimerspec *tim); }
548313 UNIMPL signalfd4 553313 UNIMPL signalfd4
549314 STD { int|linux_sys||eventfd2(unsigned int initval, \ 554314 STD { int|linux_sys||eventfd2(unsigned int initval, \
550 int flags); } 555 int flags); }
551315 UNIMPL epoll_create1 556315 STD { int|linux_sys||epoll_create1(int flags); }
552316 STD { int|linux_sys||dup3(int from, int to, int flags); } 557316 STD { int|linux_sys||dup3(int from, int to, int flags); }
553317 STD { int|linux_sys||pipe2(int *pfds, int flags); } 558317 STD { int|linux_sys||pipe2(int *pfds, int flags); }
554318 UNIMPL inotify_init1 559318 UNIMPL inotify_init1
555319 UNIMPL perf_event_open 560319 UNIMPL perf_event_open
556320 STD { int|linux_sys||preadv(int fd, \ 561320 STD { int|linux_sys||preadv(int fd, \
557 const struct iovec *iovp, int iovcnt, \ 562 const struct iovec *iovp, int iovcnt, \
558 unsigned long off_lo, unsigned long off_hi); } 563 unsigned long off_lo, unsigned long off_hi); }
559321 STD { int|linux_sys||pwritev(int fd, \ 564321 STD { int|linux_sys||pwritev(int fd, \
560 const struct iovcnt *iovp, int iovcnt, \ 565 const struct iovcnt *iovp, int iovcnt, \
561 unsigned long off_lo, unsigned long off_hi); } 566 unsigned long off_lo, unsigned long off_hi); }
562322 UNIMPL rt_tgsigqueueinfo 567322 UNIMPL rt_tgsigqueueinfo
563323 UNIMPL fanotify_init 568323 UNIMPL fanotify_init
564324 UNIMPL fanotify_mark 569324 UNIMPL fanotify_mark
565325 STD { int|linux_sys||prlimit64(pid_t pid, int which, \ 570325 STD { int|linux_sys||prlimit64(pid_t pid, int which, \
566 struct rlimit *new_rlp, struct rlimit *old_rlp); } 571 struct rlimit *new_rlp, struct rlimit *old_rlp); }
567326 UNIMPL socket 572326 UNIMPL socket
568327 UNIMPL bind 573327 UNIMPL bind
569328 UNIMPL connect 574328 UNIMPL connect
570329 UNIMPL listen 575329 UNIMPL listen
571330 UNIMPL accept 576330 UNIMPL accept
572331 UNIMPL getsockname 577331 UNIMPL getsockname
573332 UNIMPL getpeername 578332 UNIMPL getpeername
574333 UNIMPL socketpair 579333 UNIMPL socketpair
575334 UNIMPL send 580334 UNIMPL send
576335 UNIMPL sendto 581335 UNIMPL sendto
577336 UNIMPL recv 582336 UNIMPL recv
578337 UNIMPL recvfrom 583337 UNIMPL recvfrom
579338 UNIMPL shutdown 584338 UNIMPL shutdown
580339 UNIMPL setsockopt 585339 UNIMPL setsockopt
581340 UNIMPL getsockopt 586340 UNIMPL getsockopt
582341 UNIMPL sendmsg 587341 UNIMPL sendmsg
583342 UNIMPL recvmsg 588342 UNIMPL recvmsg
584343 STD { int|linux_sys||recvmmsg(int s, \ 589343 STD { int|linux_sys||recvmmsg(int s, \
585 struct linux_mmsghdr *msgvec, unsigned int vlen, \ 590 struct linux_mmsghdr *msgvec, unsigned int vlen, \
586 unsigned int flags, struct timespec *timeout); } 591 unsigned int flags, struct timespec *timeout); }
587344 STD { int|linux_sys||accept4(int s, \ 592344 STD { int|linux_sys||accept4(int s, \
588 struct osockaddr *name, \ 593 struct osockaddr *name, \
589 int *anamelen, int flags); } 594 int *anamelen, int flags); }
590345 UNIMPL name_to_handle_at 595345 UNIMPL name_to_handle_at
591346 UNIMPL open_by_handle_at 596346 UNIMPL open_by_handle_at
592347 UNIMPL clock_adjtime 597347 UNIMPL clock_adjtime
593348 UNIMPL syncfs 598348 UNIMPL syncfs
594349 STD { int|linux_sys||sendmmsg(int s, \ 599349 STD { int|linux_sys||sendmmsg(int s, \
595 struct linux_mmsghdr *msgvec, unsigned int vlen, \ 600 struct linux_mmsghdr *msgvec, unsigned int vlen, \
596 unsigned int flags); } 601 unsigned int flags); }
597350 UNIMPL setns 602350 UNIMPL setns
598351 UNIMPL process_vm_readv 603351 UNIMPL process_vm_readv
599352 UNIMPL process_vm_writev 604352 UNIMPL process_vm_writev
600353 UNIMPL finit_module 605353 UNIMPL finit_module
601354 UNIMPL kcmp 606354 UNIMPL kcmp
602355 UNIMPL sched_setattr 607355 UNIMPL sched_setattr
603356 UNIMPL sched_getattr 608356 UNIMPL sched_getattr
604357 UNIMPL renameat2 609357 UNIMPL renameat2
605358 UNIMPL seccomp 610358 UNIMPL seccomp
606359 NOARGS { ssize_t|sys||getrandom(void *buf, size_t buflen, \ 611359 NOARGS { ssize_t|sys||getrandom(void *buf, size_t buflen, \
607 unsigned int flags); } 612 unsigned int flags); }
608360 UNIMPL memfd_create 613360 UNIMPL memfd_create
609361 UNIMPL bpf 614361 UNIMPL bpf
610362 UNIMPL execveat 615362 UNIMPL execveat
611363 UNIMPL switch_endian 616363 UNIMPL switch_endian
612364 UNIMPL userfaultfd 617364 UNIMPL userfaultfd
613365 UNIMPL membarrier 618365 UNIMPL membarrier
614366 UNIMPL 619366 UNIMPL
615367 UNIMPL 620367 UNIMPL
616368 UNIMPL 621368 UNIMPL
617369 UNIMPL 622369 UNIMPL
618370 UNIMPL 623370 UNIMPL
619371 UNIMPL 624371 UNIMPL
620372 UNIMPL 625372 UNIMPL
621373 UNIMPL 626373 UNIMPL
622374 UNIMPL 627374 UNIMPL
623375 UNIMPL 628375 UNIMPL
624376 UNIMPL 629376 UNIMPL
625377 UNIMPL 630377 UNIMPL
626378 UNIMPL mlock2 631378 UNIMPL mlock2
627379 UNIMPL copy_file_range 632379 UNIMPL copy_file_range
628380 UNIMPL preadv2 633380 UNIMPL preadv2
629381 UNIMPL pwritev2 634381 UNIMPL pwritev2
630382 UNIMPL kexec_file_load 635382 UNIMPL kexec_file_load
 636383 UNIMPL
 637384 UNIMPL
 638385 UNIMPL
 639386 UNIMPL
 640387 UNIMPL
 641388 UNIMPL
 642389 UNIMPL
 643390 UNIMPL
 644391 UNIMPL
 645392 UNIMPL
 646393 UNIMPL
 647394 UNIMPL
 648395 UNIMPL
 649396 UNIMPL
 650397 UNIMPL
 651398 UNIMPL
 652399 UNIMPL
 653400 UNIMPL
 654401 UNIMPL
 655402 UNIMPL
 656403 UNIMPL
 657404 UNIMPL
 658405 UNIMPL
 659406 UNIMPL
 660407 UNIMPL
 661408 UNIMPL
 662409 UNIMPL
 663410 UNIMPL
 664411 UNIMPL
 665412 UNIMPL
 666413 UNIMPL
 667414 UNIMPL
 668415 UNIMPL
 669416 UNIMPL
 670417 UNIMPL
 671418 UNIMPL
 672419 UNIMPL
 673420 UNIMPL
 674421 UNIMPL
 675422 UNIMPL
 676423 UNIMPL
 677424 UNIMPL
 678425 UNIMPL
 679426 UNIMPL
 680427 UNIMPL
 681428 UNIMPL
 682429 UNIMPL
 683430 UNIMPL
 684431 UNIMPL
 685432 UNIMPL
 686433 UNIMPL
 687434 UNIMPL
 688435 UNIMPL
 689436 UNIMPL
 690437 UNIMPL
 691438 UNIMPL
 692439 UNIMPL
 693440 UNIMPL
 694441 STD { int|linux_sys||epoll_pwait2(int epfd, \
 695 struct linux_epoll_event *events, int maxevents, \
 696 const struct linux_timespec *timeout, \
 697 const linux_sigset_t *sigmask); }