add epoll syscallsdiff -r1.5 -r1.6 src/sys/compat/linux/arch/aarch64/syscalls.master
(christos)
--- 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 | |||
70 | 0 UNIMPL io_setup | 70 | 0 UNIMPL io_setup | |
71 | 1 UNIMPL io_destroy | 71 | 1 UNIMPL io_destroy | |
72 | 2 UNIMPL io_submit | 72 | 2 UNIMPL io_submit | |
73 | 3 UNIMPL io_cancel | 73 | 3 UNIMPL io_cancel | |
74 | 4 UNIMPL io_getevents | 74 | 4 UNIMPL io_getevents | |
75 | 5 STD { int|linux_sys||setxattr(char *path, char *name, \ | 75 | 5 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); } | |
77 | 6 STD { int|linux_sys||lsetxattr(char *path, char *name, \ | 77 | 6 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); } | |
79 | 7 STD { int|linux_sys||fsetxattr(int fd, char *name, \ | 79 | 7 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); } | |
81 | 8 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \ | 81 | 8 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \ | |
82 | void *value, size_t size); } | 82 | void *value, size_t size); } | |
83 | 9 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \ | 83 | 9 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \ | |
84 | void *value, size_t size); } | 84 | void *value, size_t size); } | |
85 | 10 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \ | 85 | 10 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \ | |
86 | void *value, size_t size); } | 86 | void *value, size_t size); } | |
87 | 11 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \ | 87 | 11 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \ | |
88 | size_t size); } | 88 | size_t size); } | |
89 | 12 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \ | 89 | 12 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \ | |
90 | size_t size); } | 90 | size_t size); } | |
91 | 13 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \ | 91 | 13 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \ | |
92 | size_t size); } | 92 | size_t size); } | |
93 | 14 STD { int|linux_sys||removexattr(char *path, char *name); } | 93 | 14 STD { int|linux_sys||removexattr(char *path, char *name); } | |
94 | 15 STD { int|linux_sys||lremovexattr(char *path, char *name); } | 94 | 15 STD { int|linux_sys||lremovexattr(char *path, char *name); } | |
95 | 16 STD { int|linux_sys||fremovexattr(int fd, char *name); } | 95 | 16 STD { int|linux_sys||fremovexattr(int fd, char *name); } | |
96 | 17 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } | 96 | 17 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } | |
97 | 18 UNIMPL lookup_dcookie | 97 | 18 UNIMPL lookup_dcookie | |
98 | 19 STD { int|linux_sys||eventfd2(unsigned int initval, \ | 98 | 19 STD { int|linux_sys||eventfd2(unsigned int initval, \ | |
99 | int flags); } | 99 | int flags); } | |
100 | 20 UNIMPL epoll_create1 | 100 | 20 STD { int|linux_sys||epoll_create1(int flags); } | |
101 | 21 UNIMPL epoll_ctl | 101 | 21 STD { int|linux_sys||epoll_ctl(int epfd, int op, int fd, \ | |
102 | 22 UNIMPL epoll_pwait | 102 | struct linux_epoll_event *event); } | |
103 | 22 STD { int|linux_sys||epoll_pwait(int epfd, \ | |||
104 | struct linux_epoll_event *events, int maxevents, \ | |||
105 | int timeout, const linux_sigset_t *sigmask); } | |||
103 | 23 NOARGS { int|sys||dup(int fd); } | 106 | 23 NOARGS { int|sys||dup(int fd); } | |
104 | 24 STD { int|linux_sys||dup3(int from, int to, int flags); } | 107 | 24 STD { int|linux_sys||dup3(int from, int to, int flags); } | |
105 | 25 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); } | 108 | 25 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); } | |
106 | 26 UNIMPL inotify_init1 | 109 | 26 UNIMPL inotify_init1 | |
107 | 27 UNIMPL inotify_add_watch | 110 | 27 UNIMPL inotify_add_watch | |
108 | 28 UNIMPL inotify_rm_watch | 111 | 28 UNIMPL inotify_rm_watch | |
109 | 29 STD { int|linux_sys||ioctl(int fd, u_long com, \ | 112 | 29 STD { int|linux_sys||ioctl(int fd, u_long com, \ | |
110 | void *data); } | 113 | void *data); } | |
111 | 30 UNIMPL ioprio_set | 114 | 30 UNIMPL ioprio_set | |
112 | 31 UNIMPL ioprio_get | 115 | 31 UNIMPL ioprio_get | |
113 | 32 NOARGS { int|sys||flock(int fd, int how); } | 116 | 32 NOARGS { int|sys||flock(int fd, int how); } | |
114 | 33 STD { int|linux_sys||mknodat(int fd, const char *path, \ | 117 | 33 STD { int|linux_sys||mknodat(int fd, const char *path, \ | |
115 | linux_umode_t mode, unsigned dev); } | 118 | linux_umode_t mode, unsigned dev); } | |
116 | 34 NOARGS { int|sys||mkdirat(int fd, const char *path, \ | 119 | 34 NOARGS { int|sys||mkdirat(int fd, const char *path, \ | |
117 | linux_umode_t mode); } | 120 | linux_umode_t mode); } | |
118 | 35 STD { int|linux_sys||unlinkat(int fd, const char *path, \ | 121 | 35 STD { int|linux_sys||unlinkat(int fd, const char *path, \ | |
119 | int flag); } | 122 | int flag); } | |
120 | 36 NOARGS { int|sys||symlinkat(const char *path1, int fd, \ | 123 | 36 NOARGS { int|sys||symlinkat(const char *path1, int fd, \ | |
121 | const char *path2); } | 124 | const char *path2); } | |
122 | 37 STD { int|linux_sys||linkat(int fd1, const char *name1, \ | 125 | 37 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); } | |
124 | 38 NOARGS { int|sys||renameat(int fromfd, const char *from, \ | 127 | 38 NOARGS { int|sys||renameat(int fromfd, const char *from, \ | |
125 | int tofd, const char *to); } | 128 | int tofd, const char *to); } | |
126 | 39 UNIMPL umount2 | 129 | 39 UNIMPL umount2 | |
127 | 40 UNIMPL mount | 130 | 40 UNIMPL mount | |
128 | 41 UNIMPL pivot_root | 131 | 41 UNIMPL pivot_root | |
129 | 42 UNIMPL nfsservctl | 132 | 42 UNIMPL nfsservctl | |
130 | 43 STD { int|linux_sys||statfs(const char *path, \ | 133 | 43 STD { int|linux_sys||statfs(const char *path, \ | |
131 | struct linux_statfs *sp); } | 134 | struct linux_statfs *sp); } | |
132 | 44 STD { int|linux_sys||fstatfs(int fd, \ | 135 | 44 STD { int|linux_sys||fstatfs(int fd, \ | |
133 | struct linux_statfs *sp); } | 136 | struct linux_statfs *sp); } | |
134 | 45 STD { int|linux_sys||truncate64(const char *path, \ | 137 | 45 STD { int|linux_sys||truncate64(const char *path, \ | |
135 | off_t length); } | 138 | off_t length); } | |
136 | 46 STD { int|linux_sys||ftruncate64(unsigned int fd, \ | 139 | 46 STD { int|linux_sys||ftruncate64(unsigned int fd, \ | |
137 | off_t length); } | 140 | off_t length); } | |
138 | 47 STD { int|linux_sys||fallocate(int fd, int mode, \ | 141 | 47 STD { int|linux_sys||fallocate(int fd, int mode, \ | |
139 | off_t offset, off_t len); } | 142 | off_t offset, off_t len); } | |
140 | 48 STD { int|linux_sys||faccessat(int fd, const char *path, \ | 143 | 48 STD { int|linux_sys||faccessat(int fd, const char *path, \ | |
141 | int amode); } | 144 | int amode); } | |
142 | 49 NOARGS { int|sys||chdir(const char *path); } | 145 | 49 NOARGS { int|sys||chdir(const char *path); } | |
143 | 50 NOARGS { int|sys||fchdir(int fd); } | 146 | 50 NOARGS { int|sys||fchdir(int fd); } | |
144 | 51 NOARGS { int|sys||chroot(char *path); } | 147 | 51 NOARGS { int|sys||chroot(char *path); } | |
145 | 52 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); } | 148 | 52 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); } | |
146 | 53 STD { int|linux_sys||fchmodat(int fd, const char *path, \ | 149 | 53 STD { int|linux_sys||fchmodat(int fd, const char *path, \ | |
147 | linux_umode_t mode); } | 150 | linux_umode_t mode); } | |
148 | 54 STD { int|linux_sys||fchownat(int fd, const char *path, \ | 151 | 54 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); } | |
150 | 55 NOARGS { int|sys||__posix_fchown(int fd, uid_t uid, \ | 153 | 55 NOARGS { int|sys||__posix_fchown(int fd, uid_t uid, \ | |
151 | gid_t gid); } | 154 | gid_t gid); } | |
152 | 56 STD { int|linux_sys||openat(int fd, const char *path, \ | 155 | 56 STD { int|linux_sys||openat(int fd, const char *path, \ | |
153 | int flags, ... linux_umode_t mode); } | 156 | int flags, ... linux_umode_t mode); } | |
154 | 57 NOARGS { int|sys||close(int fd); } | 157 | 57 NOARGS { int|sys||close(int fd); } | |
155 | 58 UNIMPL vhangup | 158 | 58 UNIMPL vhangup | |
156 | 59 STD { int|linux_sys||pipe2(int *pfds, int flags); } | 159 | 59 STD { int|linux_sys||pipe2(int *pfds, int flags); } | |
157 | 60 UNIMPL quotactl | 160 | 60 UNIMPL quotactl | |
158 | 61 STD { int|linux_sys||getdents64(int fd, \ | 161 | 61 STD { int|linux_sys||getdents64(int fd, \ | |
159 | struct linux_dirent64 *dent, unsigned int count); } | 162 | struct linux_dirent64 *dent, unsigned int count); } | |
160 | 62 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ | 163 | 62 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ | |
161 | int whence); } | 164 | int whence); } | |
162 | 63 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } | 165 | 63 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } | |
163 | 64 NOARGS { ssize_t|sys||write(int fd, const void *buf, \ | 166 | 64 NOARGS { ssize_t|sys||write(int fd, const void *buf, \ | |
164 | size_t nbyte); } | 167 | size_t nbyte); } | |
165 | 65 NOARGS { ssize_t|sys||readv(int fd, \ | 168 | 65 NOARGS { ssize_t|sys||readv(int fd, \ | |
166 | const struct iovec *iovp, int iovcnt); } | 169 | const struct iovec *iovp, int iovcnt); } | |
167 | 66 NOARGS { ssize_t|sys||writev(int fd, \ | 170 | 66 NOARGS { ssize_t|sys||writev(int fd, \ | |
168 | const struct iovec *iovp, int iovcnt); } | 171 | const struct iovec *iovp, int iovcnt); } | |
169 | 67 STD { int|linux_sys||pread(int fd, char *buf, \ | 172 | 67 STD { int|linux_sys||pread(int fd, char *buf, \ | |
170 | size_t nbyte, off_t offset); } | 173 | size_t nbyte, off_t offset); } | |
171 | 68 STD { int|linux_sys||pwrite(int fd, char *buf, \ | 174 | 68 STD { int|linux_sys||pwrite(int fd, char *buf, \ | |
172 | size_t nbyte, off_t offset); } | 175 | size_t nbyte, off_t offset); } | |
173 | 69 STD { int|linux_sys||preadv(int fd, \ | 176 | 69 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); } | |
176 | 70 STD { int|linux_sys||pwritev(int fd, \ | 179 | 70 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); } | |
179 | 71 UNIMPL sendfile | 182 | 71 UNIMPL sendfile | |
180 | 72 STD { int|linux_sys||pselect6(int nfds, fd_set *readfds, \ | 183 | 72 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); } | |
184 | 73 STD { int|linux_sys||ppoll(struct pollfd *fds, u_int nfds, \ | 187 | 73 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); } | |
187 | 74 UNIMPL signalfd4 | 190 | 74 UNIMPL signalfd4 | |
188 | 75 UNIMPL vmsplice | 191 | 75 UNIMPL vmsplice | |
189 | 76 UNIMPL splice | 192 | 76 UNIMPL splice | |
190 | 77 UNIMPL tee | 193 | 77 UNIMPL tee | |
191 | 78 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \ | 194 | 78 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \ | |
192 | char *buf, size_t bufsize); } | 195 | char *buf, size_t bufsize); } | |
193 | 79 STD { int|linux_sys||fstatat64(int fd, const char *path, \ | 196 | 79 STD { int|linux_sys||fstatat64(int fd, const char *path, \ | |
194 | struct linux_stat *sp, int flag); } | 197 | struct linux_stat *sp, int flag); } | |
195 | 80 STD { int|linux_sys||fstat64(int fd, \ | 198 | 80 STD { int|linux_sys||fstat64(int fd, \ | |
196 | struct linux_stat *sp); } | 199 | struct linux_stat *sp); } | |
197 | 81 NOARGS { int|sys||sync(void); } | 200 | 81 NOARGS { int|sys||sync(void); } | |
198 | 82 NOARGS { int|sys||fsync(int fd); } | 201 | 82 NOARGS { int|sys||fsync(int fd); } | |
199 | 83 STD { int|linux_sys||fdatasync(int fd); } | 202 | 83 STD { int|linux_sys||fdatasync(int fd); } | |
200 | 84 UNIMPL sync_file_range | 203 | 84 UNIMPL sync_file_range | |
201 | 85 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ | 204 | 85 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ | |
202 | int flags); } | 205 | int flags); } | |
203 | 86 STD { int|linux_sys||timerfd_settime(int fd, int flags, \ | 206 | 86 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); } | |
206 | 87 STD { int|linux_sys||timerfd_gettime(int fd, \ | 209 | 87 STD { int|linux_sys||timerfd_gettime(int fd, \ | |
207 | struct linux_itimerspec *tim); } | 210 | struct linux_itimerspec *tim); } | |
208 | 88 STD { int|linux_sys||utimensat(int fd, const char *path, \ | 211 | 88 STD { int|linux_sys||utimensat(int fd, const char *path, \ | |
209 | struct linux_timespec *times, int flag); } | 212 | struct linux_timespec *times, int flag); } | |
210 | 89 NOARGS { int|sys||acct(char *path); } | 213 | 89 NOARGS { int|sys||acct(char *path); } | |
211 | 90 UNIMPL capget | 214 | 90 UNIMPL capget | |
212 | 91 UNIMPL capset | 215 | 91 UNIMPL capset | |
213 | 92 STD { int|linux_sys||personality(unsigned long per); } | 216 | 92 STD { int|linux_sys||personality(unsigned long per); } | |
214 | 93 STD { int|linux_sys||exit(int rval); } | 217 | 93 STD { int|linux_sys||exit(int rval); } | |
215 | 94 STD { int|linux_sys||exit_group(int error_code); } | 218 | 94 STD { int|linux_sys||exit_group(int error_code); } | |
216 | 95 UNIMPL waitid | 219 | 95 UNIMPL waitid | |
217 | 96 STD { int|linux_sys||set_tid_address(int *tid); } | 220 | 96 STD { int|linux_sys||set_tid_address(int *tid); } | |
218 | 97 UNIMPL unshare | 221 | 97 UNIMPL unshare | |
219 | 98 STD { int|linux_sys||futex(int *uaddr, int op, int val, \ | 222 | 98 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 | ; | |
227 | 99 NOARGS { int|sys||__futex_set_robust_list(void *head, \ | 230 | 99 NOARGS { int|sys||__futex_set_robust_list(void *head, \ | |
228 | size_t len); } | 231 | size_t len); } | |
229 | 100 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ | 232 | 100 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ | |
230 | void **headp, size_t *lenp); } | 233 | void **headp, size_t *lenp); } | |
231 | 101 STD { int|linux_sys||nanosleep( \ | 234 | 101 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); } | |
234 | 102 NOARGS { int|compat_50_sys||getitimer(int which, \ | 237 | 102 NOARGS { int|compat_50_sys||getitimer(int which, \ | |
235 | struct itimerval50 *itv); } | 238 | struct itimerval50 *itv); } | |
236 | 103 NOARGS { int|compat_50_sys||setitimer(int which, \ | 239 | 103 NOARGS { int|compat_50_sys||setitimer(int which, \ | |
237 | struct itimerval50 *itv, \ | 240 | struct itimerval50 *itv, \ | |
238 | struct itimerval50 *oitv); } | 241 | struct itimerval50 *oitv); } | |
239 | 104 UNIMPL kexec_load | 242 | 104 UNIMPL kexec_load | |
240 | 105 UNIMPL init_module | 243 | 105 UNIMPL init_module | |
241 | 106 UNIMPL delete_module | 244 | 106 UNIMPL delete_module | |
242 | 107 STD { int|linux_sys||timer_create(clockid_t clockid, \ | 245 | 107 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); } | |
244 | 108 STD { int|linux_sys||timer_gettime(timer_t timerid, \ | 247 | 108 STD { int|linux_sys||timer_gettime(timer_t timerid, \ | |
245 | struct linux_itimerspec *tim); } | 248 | struct linux_itimerspec *tim); } | |
246 | 109 NOARGS { int|sys||timer_getoverrun(timer_t timerid); } | 249 | 109 NOARGS { int|sys||timer_getoverrun(timer_t timerid); } | |
247 | 110 STD { int|linux_sys||timer_settime(timer_t timerid, \ | 250 | 110 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); } | |
250 | 111 NOARGS { int|sys||timer_delete(timer_t timerid); } | 253 | 111 NOARGS { int|sys||timer_delete(timer_t timerid); } | |
251 | 112 STD { int|linux_sys||clock_settime(clockid_t which, \ | 254 | 112 STD { int|linux_sys||clock_settime(clockid_t which, \ | |
252 | struct linux_timespec *tp); } | 255 | struct linux_timespec *tp); } | |
253 | 113 STD { int|linux_sys||clock_gettime(clockid_t which, \ | 256 | 113 STD { int|linux_sys||clock_gettime(clockid_t which, \ | |
254 | struct linux_timespec *tp); } | 257 | struct linux_timespec *tp); } | |
255 | 114 STD { int|linux_sys||clock_getres(clockid_t which, \ | 258 | 114 STD { int|linux_sys||clock_getres(clockid_t which, \ | |
256 | struct linux_timespec *tp); } | 259 | struct linux_timespec *tp); } | |
257 | 115 STD { int|linux_sys||clock_nanosleep(clockid_t which, \ | 260 | 115 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); } | |
260 | 116 UNIMPL syslog | 263 | 116 UNIMPL syslog | |
261 | 117 STD { int|linux_sys||ptrace(long request, long pid, \ | 264 | 117 STD { int|linux_sys||ptrace(long request, long pid, \ | |
262 | long addr, long data); } | 265 | long addr, long data); } | |
263 | 118 STD { int|linux_sys||sched_setparam(pid_t pid, \ | 266 | 118 STD { int|linux_sys||sched_setparam(pid_t pid, \ | |
264 | const struct linux_sched_param *sp); } | 267 | const struct linux_sched_param *sp); } | |
265 | 119 STD { int|linux_sys||sched_setscheduler(pid_t pid, \ | 268 | 119 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); } | |
267 | 120 STD { int|linux_sys||sched_getscheduler(pid_t pid); } | 270 | 120 STD { int|linux_sys||sched_getscheduler(pid_t pid); } | |
268 | 121 STD { int|linux_sys||sched_getparam(pid_t pid, \ | 271 | 121 STD { int|linux_sys||sched_getparam(pid_t pid, \ | |
269 | struct linux_sched_param *sp); } | 272 | struct linux_sched_param *sp); } | |
270 | 122 STD { int|linux_sys||sched_setaffinity(pid_t pid, \ | 273 | 122 STD { int|linux_sys||sched_setaffinity(pid_t pid, \ | |
271 | unsigned int len, unsigned long *mask); } | 274 | unsigned int len, unsigned long *mask); } | |
272 | 123 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ | 275 | 123 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ | |
273 | unsigned int len, unsigned long *mask); } | 276 | unsigned int len, unsigned long *mask); } | |
274 | 124 STD { int|linux_sys||sched_yield(void); } | 277 | 124 STD { int|linux_sys||sched_yield(void); } | |
275 | 125 STD { int|linux_sys||sched_get_priority_max(int policy); } | 278 | 125 STD { int|linux_sys||sched_get_priority_max(int policy); } | |
276 | 126 STD { int|linux_sys||sched_get_priority_min(int policy); } | 279 | 126 STD { int|linux_sys||sched_get_priority_min(int policy); } | |
277 | 127 UNIMPL sys_sched_rr_get_interval | 280 | 127 UNIMPL sys_sched_rr_get_interval | |
278 | 128 UNIMPL restart_syscall | 281 | 128 UNIMPL restart_syscall | |
279 | 129 STD { int|linux_sys||kill(int pid, int signum); } | 282 | 129 STD { int|linux_sys||kill(int pid, int signum); } | |
280 | 130 STD { int|linux_sys||tkill(int tid, int sig); } | 283 | 130 STD { int|linux_sys||tkill(int tid, int sig); } | |
281 | 131 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); } | 284 | 131 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); } | |
282 | 132 STD { int|linux_sys||sigaltstack( \ | 285 | 132 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); } | |
285 | 133 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \ | 288 | 133 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \ | |
286 | size_t sigsetsize); } | 289 | size_t sigsetsize); } | |
287 | 134 STD { int|linux_sys||rt_sigaction(int signum, \ | 290 | 134 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); } | |
291 | 135 STD { int|linux_sys||rt_sigprocmask(int how, \ | 294 | 135 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); } | |
295 | 136 STD { int|linux_sys||rt_sigpending( \ | 298 | 136 STD { int|linux_sys||rt_sigpending( \ | |
296 | linux_sigset_t *set, \ | 299 | linux_sigset_t *set, \ | |
297 | size_t sigsetsize); } | 300 | size_t sigsetsize); } | |
298 | 137 STD { int|linux_sys||rt_sigtimedwait( \ | 301 | 137 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); } | |
302 | 138 UNIMPL rt_sigqueueinfo | 305 | 138 UNIMPL rt_sigqueueinfo | |
303 | 139 NOARGS { int|linux_sys||rt_sigreturn(void); } | 306 | 139 NOARGS { int|linux_sys||rt_sigreturn(void); } | |
304 | 140 NOARGS { int|sys||setpriority(int which, int who, int prio); } | 307 | 140 NOARGS { int|sys||setpriority(int which, int who, int prio); } | |
305 | 141 STD { int|linux_sys||getpriority(int which, int who); } | 308 | 141 STD { int|linux_sys||getpriority(int which, int who); } | |
306 | 142 STD { int|linux_sys||reboot(int magic1, int magic2, \ | 309 | 142 STD { int|linux_sys||reboot(int magic1, int magic2, \ | |
307 | int cmd, void *arg); } | 310 | int cmd, void *arg); } | |
308 | 143 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); } | 311 | 143 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); } | |
309 | 144 NOARGS { int|sys||setgid(gid_t gid); } | 312 | 144 NOARGS { int|sys||setgid(gid_t gid); } | |
310 | 145 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); } | 313 | 145 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); } | |
311 | 146 NOARGS { int|sys||setuid(uid_t uid); } | 314 | 146 NOARGS { int|sys||setuid(uid_t uid); } | |
312 | 147 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \ | 315 | 147 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \ | |
313 | uid_t suid); } | 316 | uid_t suid); } | |
314 | 148 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \ | 317 | 148 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \ | |
315 | uid_t *suid); } | 318 | uid_t *suid); } | |
316 | 149 STD { int|linux_sys||setresgid(gid_t rgid, gid_t egid, \ | 319 | 149 STD { int|linux_sys||setresgid(gid_t rgid, gid_t egid, \ | |
317 | gid_t sgid); } | 320 | gid_t sgid); } | |
318 | 150 STD { int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \ | 321 | 150 STD { int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \ | |
319 | gid_t *sgid); } | 322 | gid_t *sgid); } | |
320 | 151 STD { int|linux_sys||setfsuid(uid_t uid); } | 323 | 151 STD { int|linux_sys||setfsuid(uid_t uid); } | |
321 | 152 STD { int|linux_sys||setfsgid(gid_t gid); } | 324 | 152 STD { int|linux_sys||setfsgid(gid_t gid); } | |
322 | 153 STD { int|linux_sys||times(struct times *tms); } | 325 | 153 STD { int|linux_sys||times(struct times *tms); } | |
323 | 154 NOARGS { int|sys||setpgid(int pid, int pgid); } | 326 | 154 NOARGS { int|sys||setpgid(int pid, int pgid); } | |
324 | 155 NOARGS { pid_t|sys||getpgid(pid_t pid); } | 327 | 155 NOARGS { pid_t|sys||getpgid(pid_t pid); } | |
325 | 156 NOARGS { pid_t|sys||getsid(pid_t pid); } | 328 | 156 NOARGS { pid_t|sys||getsid(pid_t pid); } | |
326 | 157 NOARGS { int|sys||setsid(void); } | 329 | 157 NOARGS { int|sys||setsid(void); } | |
327 | 158 NOARGS { int|sys||getgroups(int gidsetsize, gid_t *gidset); } | 330 | 158 NOARGS { int|sys||getgroups(int gidsetsize, gid_t *gidset); } | |
328 | 159 NOARGS { int|sys||setgroups(int gidsetsize, gid_t *gidset); } | 331 | 159 NOARGS { int|sys||setgroups(int gidsetsize, gid_t *gidset); } | |
329 | 160 STD { int|linux_sys||uname(struct linux_utsname *up); } | 332 | 160 STD { int|linux_sys||uname(struct linux_utsname *up); } | |
330 | 161 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ | 333 | 161 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ | |
331 | u_int len);} | 334 | u_int len);} | |
332 | 162 STD { int|linux_sys||setdomainname(char *domainname, \ | 335 | 162 STD { int|linux_sys||setdomainname(char *domainname, \ | |
333 | int len); } | 336 | int len); } | |
334 | 163 STD { int|linux_sys||getrlimit(int which, \ | 337 | 163 STD { int|linux_sys||getrlimit(int which, \ | |
335 | struct rlimit *rlp); } | 338 | struct rlimit *rlp); } | |
336 | 164 STD { int|linux_sys||setrlimit(u_int which, \ | 339 | 164 STD { int|linux_sys||setrlimit(u_int which, \ | |
337 | struct rlimit *rlp); } | 340 | struct rlimit *rlp); } | |
338 | 165 NOARGS { int|compat_50_sys||getrusage(int who, \ | 341 | 165 NOARGS { int|compat_50_sys||getrusage(int who, \ | |
339 | struct rusage50 *rusage); } | 342 | struct rusage50 *rusage); } | |
340 | 166 NOARGS { int|sys||umask(int newmask); } | 343 | 166 NOARGS { int|sys||umask(int newmask); } | |
341 | 167 UNIMPL prctl | 344 | 167 UNIMPL prctl | |
342 | 168 UNIMPL getcpu | 345 | 168 UNIMPL getcpu | |
343 | 169 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \ | 346 | 169 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \ | |
344 | struct timezone *tzp); } | 347 | struct timezone *tzp); } | |
345 | 170 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \ | 348 | 170 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \ | |
346 | struct timezone *tzp); } | 349 | struct timezone *tzp); } | |
347 | 171 UNIMPL adjtimex | 350 | 171 UNIMPL adjtimex | |
348 | 172 STD { pid_t|sys||getpid(void); } | 351 | 172 STD { pid_t|sys||getpid(void); } | |
349 | 173 STD { pid_t|sys||getppid(void); } | 352 | 173 STD { pid_t|sys||getppid(void); } | |
350 | 174 NOARGS { uid_t|sys||getuid(void); } | 353 | 174 NOARGS { uid_t|sys||getuid(void); } | |
351 | 175 NOARGS { uid_t|sys||geteuid(void); } | 354 | 175 NOARGS { uid_t|sys||geteuid(void); } | |
352 | 176 NOARGS { gid_t|sys||getgid(void); } | 355 | 176 NOARGS { gid_t|sys||getgid(void); } | |
353 | 177 NOARGS { gid_t|sys||getegid(void); } | 356 | 177 NOARGS { gid_t|sys||getegid(void); } | |
354 | 178 STD { pid_t|linux_sys||gettid(void); } | 357 | 178 STD { pid_t|linux_sys||gettid(void); } | |
355 | 179 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); } | 358 | 179 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); } | |
356 | 180 UNIMPL mq_open | 359 | 180 UNIMPL mq_open | |
357 | 181 UNIMPL mq_unlink | 360 | 181 UNIMPL mq_unlink | |
358 | 182 UNIMPL mq_timedsend | 361 | 182 UNIMPL mq_timedsend | |
359 | 183 UNIMPL mq_timedreceive | 362 | 183 UNIMPL mq_timedreceive | |
360 | 184 UNIMPL mq_notify | 363 | 184 UNIMPL mq_notify | |
361 | 185 UNIMPL mq_getsetattr | 364 | 185 UNIMPL mq_getsetattr | |
362 | #ifdef SYSVMSG | 365 | #ifdef SYSVMSG | |
363 | 186 NOARGS { int|sys||msgget(key_t key, int msgflg); } | 366 | 186 NOARGS { int|sys||msgget(key_t key, int msgflg); } | |
364 | 187 NOARGS { int|linux_sys||msgctl(int msqid, int cmd, \ | 367 | 187 NOARGS { int|linux_sys||msgctl(int msqid, int cmd, \ | |
365 | struct linux_msqid_ds *buf); } | 368 | struct linux_msqid_ds *buf); } | |
366 | 188 NOARGS { ssize_t|sys||msgrcv(int msqid, void *msgp, \ | 369 | 188 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); } | |
368 | 189 NOARGS { int|sys||msgsnd(int msqid, void *msgp, size_t msgsz, \ | 371 | 189 NOARGS { int|sys||msgsnd(int msqid, void *msgp, size_t msgsz, \ | |
369 | int msgflg); } | 372 | int msgflg); } | |
370 | #else | 373 | #else | |
371 | 186 UNIMPL msgget | 374 | 186 UNIMPL msgget | |
372 | 187 UNIMPL msgctl | 375 | 187 UNIMPL msgctl | |
373 | 188 UNIMPL msgrcv | 376 | 188 UNIMPL msgrcv | |
374 | 189 UNIMPL msgsnd | 377 | 189 UNIMPL msgsnd | |
375 | #endif | 378 | #endif | |
376 | #ifdef SYSVSEM | 379 | #ifdef SYSVSEM | |
377 | 190 NOARGS { int|sys||semget(key_t key, int nsems, int semflg); } | 380 | 190 NOARGS { int|sys||semget(key_t key, int nsems, int semflg); } | |
378 | 191 STD { int|linux_sys||semctl(int semid, int semnum, \ | 381 | 191 STD { int|linux_sys||semctl(int semid, int semnum, \ | |
379 | int cmd, union linux_semun arg); } | 382 | int cmd, union linux_semun arg); } | |
380 | 192 UNIMPL semtimedop | 383 | 192 UNIMPL semtimedop | |
381 | 193 NOARGS { int|sys||semop(int semid, struct sembuf *sops, \ | 384 | 193 NOARGS { int|sys||semop(int semid, struct sembuf *sops, \ | |
382 | size_t nsops); } | 385 | size_t nsops); } | |
383 | #else | 386 | #else | |
384 | 190 UNIMPL semget | 387 | 190 UNIMPL semget | |
385 | 191 UNIMPL semctl | 388 | 191 UNIMPL semctl | |
386 | 192 UNIMPL semtimedop | 389 | 192 UNIMPL semtimedop | |
387 | 193 UNIMPL semop | 390 | 193 UNIMPL semop | |
388 | #endif | 391 | #endif | |
389 | #ifdef SYSVSEM | 392 | #ifdef SYSVSEM | |
390 | 194 NOARGS { int|linux_sys||shmget(key_t key, size_t size, \ | 393 | 194 NOARGS { int|linux_sys||shmget(key_t key, size_t size, \ | |
391 | int shmflg); } | 394 | int shmflg); } | |
392 | 195 NOARGS { int|linux_sys||shmctl(int shmid, int cmd, \ | 395 | 195 NOARGS { int|linux_sys||shmctl(int shmid, int cmd, \ | |
393 | struct linux_shmid_ds *buf); } | 396 | struct linux_shmid_ds *buf); } | |
394 | 196 NOARGS { int|sys||shmat(int shmid, void *shmaddr, int shmflg); } | 397 | 196 NOARGS { int|sys||shmat(int shmid, void *shmaddr, int shmflg); } | |
395 | 197 NOARGS { int|sys||shmdt(const void *shmaddr); } | 398 | 197 NOARGS { int|sys||shmdt(const void *shmaddr); } | |
396 | #else | 399 | #else | |
397 | 194 UNIMPL shmget | 400 | 194 UNIMPL shmget | |
398 | 195 UNIMPL shmctl | 401 | 195 UNIMPL shmctl | |
399 | 196 UNIMPL shmat | 402 | 196 UNIMPL shmat | |
400 | 197 UNIMPL shmdt | 403 | 197 UNIMPL shmdt | |
401 | #endif | 404 | #endif | |
402 | 198 STD { int|linux_sys||socket(int domain, \ | 405 | 198 STD { int|linux_sys||socket(int domain, \ | |
403 | int type, int protocol); } | 406 | int type, int protocol); } | |
404 | 199 STD { int|linux_sys||socketpair(int domain, int type, \ | 407 | 199 STD { int|linux_sys||socketpair(int domain, int type, \ | |
405 | int protocol, int *rsv); } | 408 | int protocol, int *rsv); } | |
406 | 200 STD { int|linux_sys||bind(int s, \ | 409 | 200 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); } | |
409 | 201 NOARGS { int|sys||listen(int s, int backlog); } | 412 | 201 NOARGS { int|sys||listen(int s, int backlog); } | |
410 | 202 STD { int|linux_sys||accept(int s, struct osockaddr *name, \ | 413 | 202 STD { int|linux_sys||accept(int s, struct osockaddr *name, \ | |
411 | int *anamelen); } oaccept | 414 | int *anamelen); } oaccept | |
412 | 203 STD { int|linux_sys||connect(int s, \ | 415 | 203 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); } | |
415 | 204 STD { int|linux_sys||getsockname(int fdec, void *asa, \ | 418 | 204 STD { int|linux_sys||getsockname(int fdec, void *asa, \ | |
416 | int *alen); } | 419 | int *alen); } | |
417 | 205 STD { int|linux_sys||getpeername(int fdes, \ | 420 | 205 STD { int|linux_sys||getpeername(int fdes, \ | |
418 | struct sockaddr *asa, unsigned int *alen); } | 421 | struct sockaddr *asa, unsigned int *alen); } | |
419 | 206 STD { ssize_t|linux_sys||sendto(int s, void *msg, int len, \ | 422 | 206 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); } | |
421 | 207 STD { ssize_t|linux_sys||recvfrom(int s, void *buf, \ | 424 | 207 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); } | |
424 | 208 STD { int|linux_sys||setsockopt(int s, int level, \ | 427 | 208 STD { int|linux_sys||setsockopt(int s, int level, \ | |
425 | int optname, void *optval, int optlen); } | 428 | int optname, void *optval, int optlen); } | |
426 | 209 STD { int|linux_sys||getsockopt(int s, int level, \ | 429 | 209 STD { int|linux_sys||getsockopt(int s, int level, \ | |
427 | int optname, void *optval, int *optlen); } | 430 | int optname, void *optval, int *optlen); } | |
428 | 210 NOARGS { int|sys||shutdown(int s, int how); } | 431 | 210 NOARGS { int|sys||shutdown(int s, int how); } | |
429 | 211 STD { int|linux_sys||sendmsg(int s, \ | 432 | 211 STD { int|linux_sys||sendmsg(int s, \ | |
430 | const struct linux_msghdr *msg, int flags); } | 433 | const struct linux_msghdr *msg, int flags); } | |
431 | 212 STD { ssize_t|linux_sys||recvmsg(int s, \ | 434 | 212 STD { ssize_t|linux_sys||recvmsg(int s, \ | |
432 | struct linux_msghdr *msg, int flags); } | 435 | struct linux_msghdr *msg, int flags); } | |
433 | 213 UNIMPL readahead | 436 | 213 UNIMPL readahead | |
434 | 214 STD { int|linux_sys||brk(char *nsize); } | 437 | 214 STD { int|linux_sys||brk(char *nsize); } | |
435 | 215 NOARGS { int|sys||munmap(void *addr, size_t len); } | 438 | 215 NOARGS { int|sys||munmap(void *addr, size_t len); } | |
436 | 216 STD { void *|linux_sys||mremap(void *old_address, \ | 439 | 216 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); } | |
438 | 217 UNIMPL add_key | 441 | 217 UNIMPL add_key | |
439 | 218 UNIMPL request_key | 442 | 218 UNIMPL request_key | |
440 | 219 UNIMPL keyctl | 443 | 219 UNIMPL keyctl | |
441 | 220 STD { int|linux_sys||clone(int flags, void *stack, \ | 444 | 220 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); } | |
443 | 221 NOARGS { int|sys||execve(const char *path, char **argp, \ | 446 | 221 NOARGS { int|sys||execve(const char *path, char **argp, \ | |
444 | char **envp); } | 447 | char **envp); } | |
445 | 222 NOARGS { linux_off_t|linux_sys||mmap(unsigned long addr, \ | 448 | 222 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); } | |
448 | 223 STD { int|linux_sys||fadvise64(int fd, off_t offset, \ | 451 | 223 STD { int|linux_sys||fadvise64(int fd, off_t offset, \ | |
449 | size_t len, int advice); } | 452 | size_t len, int advice); } | |
450 | 224 STD { int|linux_sys||swapon(char *name); } | 453 | 224 STD { int|linux_sys||swapon(char *name); } | |
451 | 225 STD { int|linux_sys||swapoff(const char *path); } | 454 | 225 STD { int|linux_sys||swapoff(const char *path); } | |
452 | 226 STD { int|linux_sys||mprotect(const void *start, \ | 455 | 226 STD { int|linux_sys||mprotect(const void *start, \ | |
453 | unsigned long len, int prot); } | 456 | unsigned long len, int prot); } | |
454 | 227 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } | 457 | 227 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } | |
455 | 228 NOARGS { int|sys||mlock(void *addr, size_t len); } | 458 | 228 NOARGS { int|sys||mlock(void *addr, size_t len); } | |
456 | 229 NOARGS { int|sys||munlock(void *addr, size_t len); } | 459 | 229 NOARGS { int|sys||munlock(void *addr, size_t len); } | |
457 | 230 NOARGS { int|sys||mlockall(int flags); } | 460 | 230 NOARGS { int|sys||mlockall(int flags); } | |
458 | 231 NOARGS { int|sys||munlockall(void); } | 461 | 231 NOARGS { int|sys||munlockall(void); } | |
459 | 232 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } | 462 | 232 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } | |
460 | 233 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); } | 463 | 233 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); } | |
461 | 234 UNIMPL remap_file_pages | 464 | 234 UNIMPL remap_file_pages | |
462 | 235 UNIMPL mbind | 465 | 235 UNIMPL mbind | |
463 | 236 UNIMPL get_mempolicy | 466 | 236 UNIMPL get_mempolicy | |
464 | 237 UNIMPL set_mempolicy | 467 | 237 UNIMPL set_mempolicy | |
465 | 238 UNIMPL migrate_pages | 468 | 238 UNIMPL migrate_pages | |
466 | 239 UNIMPL move_pages | 469 | 239 UNIMPL move_pages | |
467 | 240 UNIMPL rt_tgsigqueueinfo | 470 | 240 UNIMPL rt_tgsigqueueinfo | |
468 | 241 UNIMPL perf_event_open | 471 | 241 UNIMPL perf_event_open | |
469 | 242 STD { int|linux_sys||accept4(int s, \ | 472 | 242 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); } | |
472 | 243 STD { int|linux_sys||recvmmsg(int s, \ | 475 | 243 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); } | |
475 | 244 UNIMPL arch_specific_syscall | 478 | 244 UNIMPL arch_specific_syscall | |
476 | 245 UNIMPL | 479 | 245 UNIMPL | |
477 | 246 UNIMPL | 480 | 246 UNIMPL | |
478 | 247 UNIMPL | 481 | 247 UNIMPL | |
479 | 248 UNIMPL | 482 | 248 UNIMPL | |
480 | 249 UNIMPL | 483 | 249 UNIMPL | |
481 | 250 UNIMPL | 484 | 250 UNIMPL | |
482 | 251 UNIMPL | 485 | 251 UNIMPL | |
483 | 252 UNIMPL | 486 | 252 UNIMPL | |
484 | 253 UNIMPL | 487 | 253 UNIMPL | |
485 | 254 UNIMPL | 488 | 254 UNIMPL | |
486 | 255 UNIMPL | 489 | 255 UNIMPL | |
487 | 256 UNIMPL | 490 | 256 UNIMPL | |
488 | 257 UNIMPL | 491 | 257 UNIMPL | |
489 | 258 UNIMPL | 492 | 258 UNIMPL | |
490 | 259 UNIMPL | 493 | 259 UNIMPL | |
491 | 260 STD { int|linux_sys||wait4(int pid, int *status, \ | 494 | 260 STD { int|linux_sys||wait4(int pid, int *status, \ | |
492 | int options, struct rusage50 *rusage); } | 495 | int options, struct rusage50 *rusage); } | |
493 | 261 STD { int|linux_sys||prlimit64(pid_t pid, int which, \ | 496 | 261 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); } | |
495 | 262 UNIMPL fanotify_init | 498 | 262 UNIMPL fanotify_init | |
496 | 263 UNIMPL fanotify_mark | 499 | 263 UNIMPL fanotify_mark | |
497 | 264 UNIMPL name_to_handle_at | 500 | 264 UNIMPL name_to_handle_at | |
498 | 265 UNIMPL open_by_handle_at | 501 | 265 UNIMPL open_by_handle_at | |
499 | 266 UNIMPL clock_adjtime | 502 | 266 UNIMPL clock_adjtime | |
500 | 267 UNIMPL syncfs | 503 | 267 UNIMPL syncfs | |
501 | 268 UNIMPL setns | 504 | 268 UNIMPL setns | |
502 | 269 STD { int|linux_sys||sendmmsg(int s, \ | 505 | 269 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); } | |
505 | 270 UNIMPL process_vm_readv | 508 | 270 UNIMPL process_vm_readv | |
506 | 271 UNIMPL process_vm_writev | 509 | 271 UNIMPL process_vm_writev | |
507 | 272 UNIMPL kcmp | 510 | 272 UNIMPL kcmp | |
508 | 273 UNIMPL finit_module | 511 | 273 UNIMPL finit_module | |
509 | 274 UNIMPL sched_setattr | 512 | 274 UNIMPL sched_setattr | |
510 | 275 UNIMPL sched_getattr | 513 | 275 UNIMPL sched_getattr | |
511 | 276 UNIMPL renameat2 | 514 | 276 UNIMPL renameat2 | |
512 | 277 UNIMPL seccomp | 515 | 277 UNIMPL seccomp | |
513 | 278 NOARGS { ssize_t|sys||getrandom(void *buf, size_t buflen, \ | 516 | 278 NOARGS { ssize_t|sys||getrandom(void *buf, size_t buflen, \ | |
514 | unsigned int flags); } | 517 | unsigned int flags); } | |
515 | 279 STD { int|linux_sys||memfd_create(const char *name, \ | 518 | 279 STD { int|linux_sys||memfd_create(const char *name, \ | |
516 | unsigned int flags); } | 519 | unsigned int flags); } | |
517 | 280 UNIMPL bpf | 520 | 280 UNIMPL bpf | |
518 | 281 UNIMPL execveat | 521 | 281 UNIMPL execveat | |
519 | 282 UNIMPL userfaultfd | 522 | 282 UNIMPL userfaultfd | |
520 | 283 UNIMPL membarrier | 523 | 283 UNIMPL membarrier | |
521 | 284 UNIMPL mlock2 | 524 | 284 UNIMPL mlock2 | |
522 | 285 UNIMPL copy_file_range | 525 | 285 UNIMPL copy_file_range | |
523 | 286 UNIMPL preadv2 | 526 | 286 UNIMPL preadv2 | |
524 | 287 UNIMPL pwritev2 | 527 | 287 UNIMPL pwritev2 | |
525 | 288 UNIMPL pkey_mprotect | 528 | 288 UNIMPL pkey_mprotect | |
526 | 289 UNIMPL pkey_alloc | 529 | 289 UNIMPL pkey_alloc | |
527 | 290 UNIMPL pkey_free | 530 | 290 UNIMPL pkey_free | |
528 | 291 STD { int|linux_sys||statx(int fd, const char *path, \ | 531 | 291 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); } | |
531 | 292 UNIMPL io_pgetevents | 534 | 292 UNIMPL io_pgetevents | |
532 | 293 UNIMPL rseq | 535 | 293 UNIMPL rseq | |
533 | 294 UNIMPL kexec_file_load | 536 | 294 UNIMPL kexec_file_load | |
534 | 295 UNIMPL | 537 | 295 UNIMPL | |
535 | 296 UNIMPL | 538 | 296 UNIMPL | |
536 | 297 UNIMPL | 539 | 297 UNIMPL | |
537 | 298 UNIMPL | 540 | 298 UNIMPL | |
538 | 299 UNIMPL | 541 | 299 UNIMPL | |
539 | 300 UNIMPL | 542 | 300 UNIMPL | |
540 | 301 UNIMPL | 543 | 301 UNIMPL | |
541 | 302 UNIMPL | 544 | 302 UNIMPL | |
542 | 303 UNIMPL | 545 | 303 UNIMPL | |
543 | 304 UNIMPL | 546 | 304 UNIMPL | |
544 | 305 UNIMPL | 547 | 305 UNIMPL | |
545 | 306 UNIMPL | 548 | 306 UNIMPL | |
546 | 307 UNIMPL | 549 | 307 UNIMPL | |
547 | 308 UNIMPL | 550 | 308 UNIMPL | |
548 | 309 UNIMPL | 551 | 309 UNIMPL | |
549 | 310 UNIMPL | 552 | 310 UNIMPL | |
550 | 311 UNIMPL | 553 | 311 UNIMPL | |
551 | 312 UNIMPL | 554 | 312 UNIMPL | |
552 | 313 UNIMPL | 555 | 313 UNIMPL | |
553 | 314 UNIMPL | 556 | 314 UNIMPL | |
554 | 315 UNIMPL | 557 | 315 UNIMPL | |
555 | 316 UNIMPL | 558 | 316 UNIMPL | |
556 | 317 UNIMPL | 559 | 317 UNIMPL | |
557 | 318 UNIMPL | 560 | 318 UNIMPL | |
558 | 319 UNIMPL | 561 | 319 UNIMPL | |
559 | 320 UNIMPL | 562 | 320 UNIMPL | |
560 | 321 UNIMPL | 563 | 321 UNIMPL | |
561 | 322 UNIMPL | 564 | 322 UNIMPL | |
562 | 323 UNIMPL | 565 | 323 UNIMPL | |
563 | 324 UNIMPL | 566 | 324 UNIMPL | |
564 | 325 UNIMPL | 567 | 325 UNIMPL | |
565 | 326 UNIMPL | 568 | 326 UNIMPL | |
566 | 327 UNIMPL | 569 | 327 UNIMPL | |
567 | 328 UNIMPL | 570 | 328 UNIMPL | |
568 | 329 UNIMPL | 571 | 329 UNIMPL | |
569 | 330 UNIMPL | 572 | 330 UNIMPL | |
570 | 331 UNIMPL | 573 | 331 UNIMPL | |
571 | 332 UNIMPL | 574 | 332 UNIMPL | |
572 | 333 UNIMPL | 575 | 333 UNIMPL | |
573 | 334 UNIMPL | 576 | 334 UNIMPL | |
574 | 335 UNIMPL | 577 | 335 UNIMPL | |
575 | 336 UNIMPL | 578 | 336 UNIMPL | |
576 | 337 UNIMPL | 579 | 337 UNIMPL | |
577 | 338 UNIMPL | 580 | 338 UNIMPL | |
578 | 339 UNIMPL | 581 | 339 UNIMPL | |
579 | 340 UNIMPL | 582 | 340 UNIMPL | |
580 | 341 UNIMPL | 583 | 341 UNIMPL | |
581 | 342 UNIMPL | 584 | 342 UNIMPL | |
582 | 343 UNIMPL | 585 | 343 UNIMPL | |
583 | 344 UNIMPL | 586 | 344 UNIMPL | |
584 | 345 UNIMPL | 587 | 345 UNIMPL | |
585 | 346 UNIMPL | 588 | 346 UNIMPL | |
586 | 347 UNIMPL | 589 | 347 UNIMPL | |
587 | 348 UNIMPL | 590 | 348 UNIMPL | |
588 | 349 UNIMPL | 591 | 349 UNIMPL | |
589 | 350 UNIMPL | 592 | 350 UNIMPL | |
590 | 351 UNIMPL | 593 | 351 UNIMPL | |
591 | 352 UNIMPL | 594 | 352 UNIMPL | |
592 | 353 UNIMPL | 595 | 353 UNIMPL | |
593 | 354 UNIMPL | 596 | 354 UNIMPL | |
594 | 355 UNIMPL | 597 | 355 UNIMPL | |
595 | 356 UNIMPL | 598 | 356 UNIMPL | |
596 | 357 UNIMPL | 599 | 357 UNIMPL | |
597 | 358 UNIMPL | 600 | 358 UNIMPL | |
598 | 359 UNIMPL | 601 | 359 UNIMPL | |
599 | 360 UNIMPL | 602 | 360 UNIMPL | |
600 | 361 UNIMPL | 603 | 361 UNIMPL | |
601 | 362 UNIMPL | 604 | 362 UNIMPL | |
602 | 363 UNIMPL | 605 | 363 UNIMPL | |
603 | 364 UNIMPL | 606 | 364 UNIMPL | |
604 | 365 UNIMPL | 607 | 365 UNIMPL | |
605 | 366 UNIMPL | 608 | 366 UNIMPL | |
606 | 367 UNIMPL | 609 | 367 UNIMPL | |
607 | 368 UNIMPL | 610 | 368 UNIMPL | |
608 | 369 UNIMPL | 611 | 369 UNIMPL | |
609 | 370 UNIMPL | 612 | 370 UNIMPL | |
610 | 371 UNIMPL | 613 | 371 UNIMPL | |
611 | 372 UNIMPL | 614 | 372 UNIMPL | |
612 | 373 UNIMPL | 615 | 373 UNIMPL | |
613 | 374 UNIMPL | 616 | 374 UNIMPL | |
614 | 375 UNIMPL | 617 | 375 UNIMPL | |
615 | 376 UNIMPL | 618 | 376 UNIMPL | |
616 | 377 UNIMPL | 619 | 377 UNIMPL | |
617 | 378 UNIMPL | 620 | 378 UNIMPL | |
618 | 379 UNIMPL | 621 | 379 UNIMPL | |
619 | 380 UNIMPL | 622 | 380 UNIMPL | |
620 | 381 UNIMPL | 623 | 381 UNIMPL | |
621 | 382 UNIMPL | 624 | 382 UNIMPL | |
622 | 383 UNIMPL | 625 | 383 UNIMPL | |
623 | 384 UNIMPL | 626 | 384 UNIMPL | |
624 | 385 UNIMPL | 627 | 385 UNIMPL | |
625 | 386 UNIMPL | 628 | 386 UNIMPL | |
626 | 387 UNIMPL | 629 | 387 UNIMPL | |
627 | 388 UNIMPL | 630 | 388 UNIMPL | |
628 | 389 UNIMPL | 631 | 389 UNIMPL | |
629 | 390 UNIMPL | 632 | 390 UNIMPL | |
630 | 391 UNIMPL | 633 | 391 UNIMPL | |
631 | 392 UNIMPL | 634 | 392 UNIMPL | |
632 | 393 UNIMPL | 635 | 393 UNIMPL | |
633 | 394 UNIMPL | 636 | 394 UNIMPL | |
634 | 395 UNIMPL | 637 | 395 UNIMPL | |
635 | 396 UNIMPL | 638 | 396 UNIMPL | |
636 | 397 UNIMPL | 639 | 397 UNIMPL | |
637 | 398 UNIMPL | 640 | 398 UNIMPL | |
638 | 399 UNIMPL | 641 | 399 UNIMPL | |
639 | 400 UNIMPL | 642 | 400 UNIMPL | |
640 | 401 UNIMPL | 643 | 401 UNIMPL | |
641 | 402 UNIMPL | 644 | 402 UNIMPL | |
642 | 403 UNIMPL | 645 | 403 UNIMPL | |
643 | 404 UNIMPL | 646 | 404 UNIMPL | |
644 | 405 UNIMPL | 647 | 405 UNIMPL | |
645 | 406 UNIMPL | 648 | 406 UNIMPL | |
646 | 407 UNIMPL | 649 | 407 UNIMPL | |
647 | 408 UNIMPL | 650 | 408 UNIMPL | |
648 | 409 UNIMPL | 651 | 409 UNIMPL | |
649 | 410 UNIMPL | 652 | 410 UNIMPL | |
650 | 411 UNIMPL | 653 | 411 UNIMPL | |
651 | 412 UNIMPL | 654 | 412 UNIMPL | |
652 | 413 UNIMPL | 655 | 413 UNIMPL | |
653 | 414 UNIMPL | 656 | 414 UNIMPL | |
654 | 415 UNIMPL | 657 | 415 UNIMPL | |
655 | 416 UNIMPL | 658 | 416 UNIMPL | |
656 | 417 UNIMPL | 659 | 417 UNIMPL | |
657 | 418 UNIMPL | 660 | 418 UNIMPL | |
658 | 419 UNIMPL | 661 | 419 UNIMPL | |
659 | 420 UNIMPL | 662 | 420 UNIMPL | |
660 | 421 UNIMPL | 663 | 421 UNIMPL | |
661 | 422 UNIMPL | 664 | 422 UNIMPL | |
662 | 423 UNIMPL | 665 | 423 UNIMPL | |
663 | 424 UNIMPL pidfd_send_signal | 666 | 424 UNIMPL pidfd_send_signal | |
664 | 425 UNIMPL io_uring_setup | 667 | 425 UNIMPL io_uring_setup | |
665 | 426 UNIMPL io_uring_enter | 668 | 426 UNIMPL io_uring_enter | |
666 | 427 UNIMPL io_uring_register | 669 | 427 UNIMPL io_uring_register | |
667 | 428 UNIMPL open_tree | 670 | 428 UNIMPL open_tree | |
668 | 429 UNIMPL move_mount | 671 | 429 UNIMPL move_mount | |
669 | 430 UNIMPL fsopen | 672 | 430 UNIMPL fsopen | |
670 | 431 UNIMPL fsconfig | 673 | 431 UNIMPL fsconfig | |
671 | 432 UNIMPL fsmount | 674 | 432 UNIMPL fsmount | |
672 | 433 UNIMPL fspick | 675 | 433 UNIMPL fspick | |
673 | 434 UNIMPL pidfd_open | 676 | 434 UNIMPL pidfd_open | |
674 | 435 UNIMPL clone3 | 677 | 435 UNIMPL clone3 | |
675 | 436 UNIMPL | 678 | 436 UNIMPL | |
676 | 437 UNIMPL openat2 | 679 | 437 UNIMPL openat2 | |
677 | 438 UNIMPL pidfd_getfd | 680 | 438 UNIMPL pidfd_getfd | |
678 | 439 UNIMPL faccessat2 | 681 | 439 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. | |
681 | 440 STD { int|linux_sys||nosys(void); } | 684 | 440 STD { int|linux_sys||nosys(void); } | |
685 | 441 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); } |
--- 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 | |||
3 | sysnames="linux_syscalls.c" | 3 | sysnames="linux_syscalls.c" | |
4 | sysnumhdr="linux_syscall.h" | 4 | sysnumhdr="linux_syscall.h" | |
5 | syssw="linux_sysent.c" | 5 | syssw="linux_sysent.c" | |
6 | sysarghdr="linux_syscallargs.h" | 6 | sysarghdr="linux_syscallargs.h" | |
7 | compatopts="" | 7 | compatopts="" | |
8 | libcompatopts="" | 8 | libcompatopts="" | |
9 | 9 | |||
10 | switchname="linux_sysent" | 10 | switchname="linux_sysent" | |
11 | namesname="linux_syscallnames" | 11 | namesname="linux_syscallnames" | |
12 | constprefix="LINUX_SYS_" | 12 | constprefix="LINUX_SYS_" | |
13 | nsysent=512 | 13 | nsysent=1024 | |
14 | 14 | |||
15 | sys_nosys="linux_sys_nosys" | 15 | sys_nosys="linux_sys_nosys" |
--- 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 | |||
85 | 0 NOARGS { int|linux_sys||nosys(void); } syscall | 85 | 0 NOARGS { int|linux_sys||nosys(void); } syscall | |
86 | 1 STD { int|linux_sys||exit(int rval); } | 86 | 1 STD { int|linux_sys||exit(int rval); } | |
87 | 2 NOARGS { int|sys||fork(void); } | 87 | 2 NOARGS { int|sys||fork(void); } | |
88 | 3 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } | 88 | 3 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } | |
89 | 4 NOARGS { ssize_t|sys||write(int fd, const void *buf, \ | 89 | 4 NOARGS { ssize_t|sys||write(int fd, const void *buf, \ | |
90 | size_t nbyte); } | 90 | size_t nbyte); } | |
91 | 5 UNIMPL | 91 | 5 UNIMPL | |
92 | 6 NOARGS { int|sys||close(int fd); } | 92 | 6 NOARGS { int|sys||close(int fd); } | |
93 | 7 STD { int|linux_sys||osf1_wait4(int pid, int *status, \ | 93 | 7 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 | |
96 | 8 STD { int|linux_sys||creat(const char *path, linux_umode_t mode); } | 96 | 8 STD { int|linux_sys||creat(const char *path, linux_umode_t mode); } | |
97 | 9 NOARGS { int|sys||link(const char *path, const char *link); } | 97 | 9 NOARGS { int|sys||link(const char *path, const char *link); } | |
98 | 10 STD { int|linux_sys||unlink(const char *path); } | 98 | 10 STD { int|linux_sys||unlink(const char *path); } | |
99 | 11 UNIMPL | 99 | 11 UNIMPL | |
100 | 12 NOARGS { int|sys||chdir(const char *path); } | 100 | 12 NOARGS { int|sys||chdir(const char *path); } | |
101 | 13 NOARGS { int|sys||fchdir(int fd); } | 101 | 13 NOARGS { int|sys||fchdir(int fd); } | |
102 | 14 STD { int|linux_sys||mknod(const char *path, linux_umode_t mode, \ | 102 | 14 STD { int|linux_sys||mknod(const char *path, linux_umode_t mode, \ | |
103 | unsigned dev); } | 103 | unsigned dev); } | |
104 | 15 NOARGS { int|sys||chmod(const char *path, int mode); } | 104 | 15 NOARGS { int|sys||chmod(const char *path, int mode); } | |
105 | 16 NOARGS { int|sys||__posix_chown(const char *path, uid_t uid, \ | 105 | 16 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 | |
108 | 17 STD { int|linux_sys||brk(char *nsize); } | 108 | 17 STD { int|linux_sys||brk(char *nsize); } | |
109 | 18 UNIMPL | 109 | 18 UNIMPL | |
110 | 19 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ | 110 | 19 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ | |
111 | int whence); } | 111 | int whence); } | |
112 | 20 NOARGS { pid_t|sys||getpid_with_ppid(void); } | 112 | 20 NOARGS { pid_t|sys||getpid_with_ppid(void); } | |
113 | 21 STD { int|linux_sys||osf1_mount(int type, const char *path, \ | 113 | 21 STD { int|linux_sys||osf1_mount(int type, const char *path, \ | |
114 | int flags, void *data); } | 114 | int flags, void *data); } | |
115 | 22 UNIMPL umount | 115 | 22 UNIMPL umount | |
116 | 23 NOARGS { int|sys||setuid(uid_t uid); } | 116 | 23 NOARGS { int|sys||setuid(uid_t uid); } | |
117 | 24 NOARGS { uid_t|sys||getuid_with_euid(void); } | 117 | 24 NOARGS { uid_t|sys||getuid_with_euid(void); } | |
118 | 25 UNIMPL | 118 | 25 UNIMPL | |
119 | 26 STD { int|linux_sys||ptrace(long request, long pid, \ | 119 | 26 STD { int|linux_sys||ptrace(long request, long pid, \ | |
120 | long addr, long data); } | 120 | long addr, long data); } | |
121 | 27 UNIMPL | 121 | 27 UNIMPL | |
122 | 28 UNIMPL | 122 | 28 UNIMPL | |
123 | 29 UNIMPL | 123 | 29 UNIMPL | |
124 | 30 UNIMPL | 124 | 30 UNIMPL | |
125 | 31 UNIMPL | 125 | 31 UNIMPL | |
126 | 32 UNIMPL | 126 | 32 UNIMPL | |
127 | 33 NOARGS { int|sys||access(const char *path, int flags); } | 127 | 33 NOARGS { int|sys||access(const char *path, int flags); } | |
128 | 34 UNIMPL | 128 | 34 UNIMPL | |
129 | 35 UNIMPL | 129 | 35 UNIMPL | |
130 | 36 NOARGS { int|sys||sync(void); } | 130 | 36 NOARGS { int|sys||sync(void); } | |
131 | 37 STD { int|linux_sys||kill(int pid, int signum); } | 131 | 37 STD { int|linux_sys||kill(int pid, int signum); } | |
132 | 38 UNIMPL | 132 | 38 UNIMPL | |
133 | 39 NOARGS { int|sys||setpgid(int pid, int pgid); } | 133 | 39 NOARGS { int|sys||setpgid(int pid, int pgid); } | |
134 | 40 UNIMPL | 134 | 40 UNIMPL | |
135 | 41 NOARGS { int|sys||dup(int fd); } | 135 | 41 NOARGS { int|sys||dup(int fd); } | |
136 | 42 NOARGS { int|linux_sys||pipe(void); } | 136 | 42 NOARGS { int|linux_sys||pipe(void); } | |
137 | 43 STD { int|linux_sys||osf1_set_program_attributes( \ | 137 | 43 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); } | |
140 | 44 UNIMPL | 140 | 44 UNIMPL | |
141 | 45 STD { int|linux_sys||open(const char *path, int flags, \ | 141 | 45 STD { int|linux_sys||open(const char *path, int flags, \ | |
142 | linux_umode_t mode); } | 142 | linux_umode_t mode); } | |
143 | 46 UNIMPL | 143 | 46 UNIMPL | |
144 | 47 NOARGS { gid_t|sys||getgid_with_egid(void); } | 144 | 47 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 | |
147 | 48 NOARGS { int|compat_13_sys||sigprocmask(int how, \ | 147 | 48 NOARGS { int|compat_13_sys||sigprocmask(int how, \ | |
148 | sigset13_t mask); } | 148 | sigset13_t mask); } | |
149 | 49 UNIMPL | 149 | 49 UNIMPL | |
150 | 50 UNIMPL | 150 | 50 UNIMPL | |
151 | 51 NOARGS { int|sys||acct(const char *path); } | 151 | 51 NOARGS { int|sys||acct(const char *path); } | |
152 | 52 STD { int|linux_sys||sigpending(linux_old_sigset_t *set); } | 152 | 52 STD { int|linux_sys||sigpending(linux_old_sigset_t *set); } | |
153 | 53 UNIMPL | 153 | 53 UNIMPL | |
154 | 54 STD { int|linux_sys||ioctl(int fd, u_long com, \ | 154 | 54 STD { int|linux_sys||ioctl(int fd, u_long com, \ | |
155 | void *data); } | 155 | void *data); } | |
156 | 55 UNIMPL | 156 | 55 UNIMPL | |
157 | 56 UNIMPL | 157 | 56 UNIMPL | |
158 | 57 NOARGS { int|sys||symlink(const char *path, const char *to); } | 158 | 57 NOARGS { int|sys||symlink(const char *path, const char *to); } | |
159 | 58 NOARGS { ssize_t|sys||readlink(const char *path, char *buf, \ | 159 | 58 NOARGS { ssize_t|sys||readlink(const char *path, char *buf, \ | |
160 | int count); } | 160 | int count); } | |
161 | 59 NOARGS { int|sys||execve(const char *path, char **argp, \ | 161 | 59 NOARGS { int|sys||execve(const char *path, char **argp, \ | |
162 | char **envp); } | 162 | char **envp); } | |
163 | 60 NOARGS { mode_t|sys||umask(mode_t newmask); } | 163 | 60 NOARGS { mode_t|sys||umask(mode_t newmask); } | |
164 | 61 NOARGS { int|sys||chroot(const char *path); } | 164 | 61 NOARGS { int|sys||chroot(const char *path); } | |
165 | 62 UNIMPL | 165 | 62 UNIMPL | |
166 | 63 NOARGS { int|sys||getpgrp(void); } | 166 | 63 NOARGS { int|sys||getpgrp(void); } | |
167 | 64 NOARGS { int|compat_43_sys||getpagesize(void); } | 167 | 64 NOARGS { int|compat_43_sys||getpagesize(void); } | |
168 | 65 UNIMPL | 168 | 65 UNIMPL | |
169 | 66 NOARGS { int|sys|14|vfork(void); } | 169 | 66 NOARGS { int|sys|14|vfork(void); } | |
170 | 67 STD { int|linux_sys||stat(const char *path, \ | 170 | 67 STD { int|linux_sys||stat(const char *path, \ | |
171 | struct linux_stat *sp); } | 171 | struct linux_stat *sp); } | |
172 | 68 STD { int|linux_sys||lstat(const char *path, \ | 172 | 68 STD { int|linux_sys||lstat(const char *path, \ | |
173 | struct linux_stat *sp); } | 173 | struct linux_stat *sp); } | |
174 | 69 UNIMPL | 174 | 69 UNIMPL | |
175 | 70 UNIMPL | 175 | 70 UNIMPL | |
176 | ;71 ALIAS osf1_sys_mmap | 176 | ;71 ALIAS osf1_sys_mmap | |
177 | 71 NOARGS { int|linux_sys||mmap(unsigned long addr, size_t len, \ | 177 | 71 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); } | |
179 | 72 UNIMPL | 179 | 72 UNIMPL | |
180 | 73 NOARGS { int|sys||munmap(void *addr, size_t len); } | 180 | 73 NOARGS { int|sys||munmap(void *addr, size_t len); } | |
181 | 74 STD { int|linux_sys||mprotect(const void *start, \ | 181 | 74 STD { int|linux_sys||mprotect(const void *start, \ | |
182 | unsigned long len, int prot); } | 182 | unsigned long len, int prot); } | |
183 | 75 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); } | 183 | 75 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); } | |
184 | 76 UNIMPL vhangup | 184 | 76 UNIMPL vhangup | |
185 | 77 UNIMPL | 185 | 77 UNIMPL | |
186 | 78 UNIMPL | 186 | 78 UNIMPL | |
187 | 79 NOARGS { int|sys||getgroups(int gidsetsize, gid_t *gidset); } | 187 | 79 NOARGS { int|sys||getgroups(int gidsetsize, gid_t *gidset); } | |
188 | 80 NOARGS { int|sys||setgroups(int gidsetsize, const gid_t *gidset); } | 188 | 80 NOARGS { int|sys||setgroups(int gidsetsize, const gid_t *gidset); } | |
189 | 81 UNIMPL | 189 | 81 UNIMPL | |
190 | 82 UNIMPL setpgrp | 190 | 82 UNIMPL setpgrp | |
191 | 83 STD { int|linux_sys||osf1_setitimer(int which, \ | 191 | 83 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); } | |
194 | 84 UNIMPL | 194 | 84 UNIMPL | |
195 | 85 UNIMPL | 195 | 85 UNIMPL | |
196 | 86 UNIMPL osf1_sys_getitimer | 196 | 86 UNIMPL osf1_sys_getitimer | |
197 | 87 NOARGS { int|compat_43_sys||gethostname(char *hostname, \ | 197 | 87 NOARGS { int|compat_43_sys||gethostname(char *hostname, \ | |
198 | u_int len); } | 198 | u_int len); } | |
199 | 88 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ | 199 | 88 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ | |
200 | u_int len); } | 200 | u_int len); } | |
201 | 89 UNIMPL getdtablesize | 201 | 89 UNIMPL getdtablesize | |
202 | 90 NOARGS { int|sys||dup2(int from, int to); } | 202 | 90 NOARGS { int|sys||dup2(int from, int to); } | |
203 | 91 STD { int|linux_sys||fstat(int fd, struct linux_stat *sp); } | 203 | 91 STD { int|linux_sys||fstat(int fd, struct linux_stat *sp); } | |
204 | 92 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); } | 204 | 92 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); } | |
205 | 93 STD { int|linux_sys||osf1_select(u_int nd, fd_set *in, \ | 205 | 93 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); } | |
207 | 94 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ | 207 | 94 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ | |
208 | int timeout); } | 208 | int timeout); } | |
209 | 95 NOARGS { int|sys||fsync(int fd); } | 209 | 95 NOARGS { int|sys||fsync(int fd); } | |
210 | 96 NOARGS { int|sys||setpriority(int which, int who, int prio); } | 210 | 96 NOARGS { int|sys||setpriority(int which, int who, int prio); } | |
211 | 97 STD { int|linux_sys||socket(int domain, int type, \ | 211 | 97 STD { int|linux_sys||socket(int domain, int type, \ | |
212 | int protocol); } | 212 | int protocol); } | |
213 | 98 STD { int|linux_sys||connect(int s, \ | 213 | 98 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); } | |
216 | 99 STD { int|linux_sys||accept(int s, \ | 216 | 99 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 | |
219 | 100 STD { int|linux_sys||getpriority(int which, int who); } | 219 | 100 STD { int|linux_sys||getpriority(int which, int who); } | |
220 | 101 STD { int|linux_sys||send(int s, void *buf, int len, \ | 220 | 101 STD { int|linux_sys||send(int s, void *buf, int len, \ | |
221 | int flags); } | 221 | int flags); } | |
222 | 102 STD { int|linux_sys||recv(int s, void *buf, int len, \ | 222 | 102 STD { int|linux_sys||recv(int s, void *buf, int len, \ | |
223 | int flags); } | 223 | int flags); } | |
224 | 103 STD { int|linux_sys||sigreturn(struct linux_sigframe *sfp); } | 224 | 103 STD { int|linux_sys||sigreturn(struct linux_sigframe *sfp); } | |
225 | 104 STD { int|linux_sys||bind(int s, \ | 225 | 104 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); } | |
228 | 105 STD { int|linux_sys||setsockopt(int s, int level, \ | 228 | 105 STD { int|linux_sys||setsockopt(int s, int level, \ | |
229 | int optname, void *optval, int optlen); } | 229 | int optname, void *optval, int optlen); } | |
230 | 106 NOARGS { int|sys||listen(int s, int backlog); } | 230 | 106 NOARGS { int|sys||listen(int s, int backlog); } | |
231 | 107 UNIMPL | 231 | 107 UNIMPL | |
232 | 108 UNIMPL | 232 | 108 UNIMPL | |
233 | 109 UNIMPL | 233 | 109 UNIMPL | |
234 | 110 UNIMPL | 234 | 110 UNIMPL | |
235 | 235 | |||
236 | 111 STD { int|linux_sys||sigsuspend(void *restart, \ | 236 | 111 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 | |
239 | 112 NOARGS { int|compat_43_sys||sigstack(struct sigstack *nss, \ | 239 | 112 NOARGS { int|compat_43_sys||sigstack(struct sigstack *nss, \ | |
240 | struct sigstack *oss); } | 240 | struct sigstack *oss); } | |
241 | 113 STD { ssize_t|linux_sys||recvmsg(int s, \ | 241 | 113 STD { ssize_t|linux_sys||recvmsg(int s, \ | |
242 | struct linux_msghdr *msg, int flags); } | 242 | struct linux_msghdr *msg, int flags); } | |
243 | 114 STD { ssize_t|linux_sys||sendmsg(int s, \ | 243 | 114 STD { ssize_t|linux_sys||sendmsg(int s, \ | |
244 | const struct linux_msghdr *msg, int flags); } | 244 | const struct linux_msghdr *msg, int flags); } | |
245 | 115 UNIMPL | 245 | 115 UNIMPL | |
246 | 116 STD { int|linux_sys||osf1_gettimeofday(struct osf1_timeval *tv, \ | 246 | 116 STD { int|linux_sys||osf1_gettimeofday(struct osf1_timeval *tv, \ | |
247 | struct osf1_timezone *tzp); } | 247 | struct osf1_timezone *tzp); } | |
248 | 117 STD { int|linux_sys||osf1_getrusage(int who, \ | 248 | 117 STD { int|linux_sys||osf1_getrusage(int who, \ | |
249 | struct osf1_rusage *rusage); } | 249 | struct osf1_rusage *rusage); } | |
250 | 118 STD { int|linux_sys||getsockopt(int s, int level, \ | 250 | 118 STD { int|linux_sys||getsockopt(int s, int level, \ | |
251 | int optname, void *optval, int *optlen); } | 251 | int optname, void *optval, int *optlen); } | |
252 | 119 UNIMPL | 252 | 119 UNIMPL | |
253 | 120 NOARGS { ssize_t|sys||readv(int fd, const struct iovec *iovp, \ | 253 | 120 NOARGS { ssize_t|sys||readv(int fd, const struct iovec *iovp, \ | |
254 | int iovcnt); } | 254 | int iovcnt); } | |
255 | 121 NOARGS { ssize_t|sys||writev(int fd, const struct iovec *iovp, \ | 255 | 121 NOARGS { ssize_t|sys||writev(int fd, const struct iovec *iovp, \ | |
256 | int iovcnt); } | 256 | int iovcnt); } | |
257 | 122 STD { int|linux_sys||osf1_settimeofday(struct osf1_timeval *tv, \ | 257 | 122 STD { int|linux_sys||osf1_settimeofday(struct osf1_timeval *tv, \ | |
258 | struct osf1_timezone *tzp); } | 258 | struct osf1_timezone *tzp); } | |
259 | 123 NOARGS { int|sys||__posix_fchown(int fd, uid_t uid, \ | 259 | 123 NOARGS { int|sys||__posix_fchown(int fd, uid_t uid, \ | |
260 | gid_t gid); } | 260 | gid_t gid); } | |
261 | 124 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); } | 261 | 124 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); } | |
262 | 125 STD { int|linux_sys||recvfrom(int s, void *buf, int len, \ | 262 | 125 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); } | |
265 | 126 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); } | 265 | 126 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); } | |
266 | 127 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); } | 266 | 127 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); } | |
267 | 128 NOARGS { int|sys||__posix_rename(const char *from, const char *to); } | 267 | 128 NOARGS { int|sys||__posix_rename(const char *from, const char *to); } | |
268 | 129 NOARGS { int|compat_43_sys||truncate(const char *path, \ | 268 | 129 NOARGS { int|compat_43_sys||truncate(const char *path, \ | |
269 | long length); } | 269 | long length); } | |
270 | 130 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } | 270 | 130 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } | |
271 | 131 NOARGS { int|sys||flock(int fd, int how); } | 271 | 131 NOARGS { int|sys||flock(int fd, int how); } | |
272 | 132 NOARGS { int|sys||setgid(gid_t gid); } | 272 | 132 NOARGS { int|sys||setgid(gid_t gid); } | |
273 | 133 STD { int|linux_sys||sendto(int s, void *msg, int len, \ | 273 | 133 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); } | |
275 | 134 NOARGS { int|sys||shutdown(int s, int how); } | 275 | 134 NOARGS { int|sys||shutdown(int s, int how); } | |
276 | 135 STD { int|linux_sys||socketpair(int domain, int type, \ | 276 | 135 STD { int|linux_sys||socketpair(int domain, int type, \ | |
277 | int protocol, int *rsv); } | 277 | int protocol, int *rsv); } | |
278 | 136 NOARGS { int|sys||mkdir(const char *path, linux_umode_t mode); } | 278 | 136 NOARGS { int|sys||mkdir(const char *path, linux_umode_t mode); } | |
279 | 137 NOARGS { int|sys||rmdir(const char *path); } | 279 | 137 NOARGS { int|sys||rmdir(const char *path); } | |
280 | 138 STD { int|linux_sys||osf1_utimes(const char *path, \ | 280 | 138 STD { int|linux_sys||osf1_utimes(const char *path, \ | |
281 | const struct osf1_timeval *tptr); } | 281 | const struct osf1_timeval *tptr); } | |
282 | 139 UNIMPL | 282 | 139 UNIMPL | |
283 | 140 UNIMPL | 283 | 140 UNIMPL | |
284 | 141 STD { int|linux_sys||getpeername(int fdes, \ | 284 | 141 STD { int|linux_sys||getpeername(int fdes, \ | |
285 | void *asa, int *alen); } | 285 | void *asa, int *alen); } | |
286 | 142 UNIMPL | 286 | 142 UNIMPL | |
287 | 143 UNIMPL | 287 | 143 UNIMPL | |
288 | 144 STD { int|linux_sys||getrlimit(int which, \ | 288 | 144 STD { int|linux_sys||getrlimit(int which, \ | |
289 | struct orlimit *rlp); } | 289 | struct orlimit *rlp); } | |
290 | 145 STD { int|linux_sys||setrlimit(int which, \ | 290 | 145 STD { int|linux_sys||setrlimit(int which, \ | |
291 | const struct orlimit *rlp); } | 291 | const struct orlimit *rlp); } | |
292 | 146 UNIMPL | 292 | 146 UNIMPL | |
293 | 147 NOARGS { int|sys||setsid(void); } | 293 | 147 NOARGS { int|sys||setsid(void); } | |
294 | 148 UNIMPL quotactl | 294 | 148 UNIMPL quotactl | |
295 | 149 UNIMPL | 295 | 149 UNIMPL | |
296 | 150 STD { int|linux_sys||getsockname(int fdec, \ | 296 | 150 STD { int|linux_sys||getsockname(int fdec, \ | |
297 | void *asa, int *alen); } | 297 | void *asa, int *alen); } | |
298 | 151 UNIMPL | 298 | 151 UNIMPL | |
299 | 152 UNIMPL | 299 | 152 UNIMPL | |
300 | 153 UNIMPL | 300 | 153 UNIMPL | |
301 | 154 UNIMPL | 301 | 154 UNIMPL | |
302 | 155 UNIMPL | 302 | 155 UNIMPL | |
303 | ;156 ALIAS osf1_sys_sigaction | 303 | ;156 ALIAS osf1_sys_sigaction | |
304 | 156 STD { int|linux_sys||sigaction(int signum, \ | 304 | 156 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); } | |
307 | 157 UNIMPL | 307 | 157 UNIMPL | |
308 | 158 UNIMPL | 308 | 158 UNIMPL | |
309 | ;159 ALIAS osf1_sys_getdirentries | 309 | ;159 ALIAS osf1_sys_getdirentries | |
310 | 159 NOARGS { int|compat_43_sys||getdirentries(int fd, char *buf, \ | 310 | 159 NOARGS { int|compat_43_sys||getdirentries(int fd, char *buf, \ | |
311 | u_int count, long *basep); } | 311 | u_int count, long *basep); } | |
312 | 160 STD { int|linux_sys||osf1_statfs(const char *path, \ | 312 | 160 STD { int|linux_sys||osf1_statfs(const char *path, \ | |
313 | struct osf1_statfs *buf, int len); } | 313 | struct osf1_statfs *buf, int len); } | |
314 | 161 STD { int|linux_sys||osf1_fstatfs(int fd, \ | 314 | 161 STD { int|linux_sys||osf1_fstatfs(int fd, \ | |
315 | struct osf1_statfs *buf, int len); } | 315 | struct osf1_statfs *buf, int len); } | |
316 | 162 UNIMPL | 316 | 162 UNIMPL | |
317 | 163 UNIMPL | 317 | 163 UNIMPL | |
318 | 164 UNIMPL | 318 | 164 UNIMPL | |
319 | ;165 ALIAS osf1_sys_getdomainname | 319 | ;165 ALIAS osf1_sys_getdomainname | |
320 | 165 NOARGS { int|compat_09_sys||getdomainname(char *domainname, \ | 320 | 165 NOARGS { int|compat_09_sys||getdomainname(char *domainname, \ | |
321 | int len); } | 321 | int len); } | |
322 | 166 STD { int|linux_sys||setdomainname(char *domainname, \ | 322 | 166 STD { int|linux_sys||setdomainname(char *domainname, \ | |
323 | int len); } | 323 | int len); } | |
324 | 167 UNIMPL | 324 | 167 UNIMPL | |
325 | 168 UNIMPL | 325 | 168 UNIMPL | |
326 | 169 UNIMPL | 326 | 169 UNIMPL | |
327 | 170 UNIMPL | 327 | 170 UNIMPL | |
328 | 171 UNIMPL | 328 | 171 UNIMPL | |
329 | 172 UNIMPL | 329 | 172 UNIMPL | |
330 | 173 UNIMPL | 330 | 173 UNIMPL | |
331 | 174 UNIMPL | 331 | 174 UNIMPL | |
332 | 175 UNIMPL | 332 | 175 UNIMPL | |
333 | 176 UNIMPL | 333 | 176 UNIMPL | |
334 | 177 UNIMPL | 334 | 177 UNIMPL | |
335 | 178 UNIMPL | 335 | 178 UNIMPL | |
336 | 179 UNIMPL | 336 | 179 UNIMPL | |
337 | 180 UNIMPL | 337 | 180 UNIMPL | |
338 | 181 UNIMPL | 338 | 181 UNIMPL | |
339 | 182 UNIMPL | 339 | 182 UNIMPL | |
340 | 183 UNIMPL | 340 | 183 UNIMPL | |
341 | 184 UNIMPL | 341 | 184 UNIMPL | |
342 | 185 UNIMPL | 342 | 185 UNIMPL | |
343 | 186 UNIMPL | 343 | 186 UNIMPL | |
344 | 187 UNIMPL | 344 | 187 UNIMPL | |
345 | 188 UNIMPL | 345 | 188 UNIMPL | |
346 | 189 UNIMPL | 346 | 189 UNIMPL | |
347 | 190 UNIMPL | 347 | 190 UNIMPL | |
348 | ; XXX: Dunno | 348 | ; XXX: Dunno | |
349 | 191 STD { int|linux_sys||ugetrlimit(int which, \ | 349 | 191 STD { int|linux_sys||ugetrlimit(int which, \ | |
350 | struct rlimit *rlp); } | 350 | struct rlimit *rlp); } | |
351 | 192 UNIMPL mmap2 | 351 | 192 UNIMPL mmap2 | |
352 | 193 UNIMPL | 352 | 193 UNIMPL | |
353 | 194 UNIMPL | 353 | 194 UNIMPL | |
354 | 195 UNIMPL | 354 | 195 UNIMPL | |
355 | 196 UNIMPL | 355 | 196 UNIMPL | |
356 | 197 UNIMPL | 356 | 197 UNIMPL | |
357 | 198 UNIMPL | 357 | 198 UNIMPL | |
358 | 199 UNIMPL osf1_sys_swapon | 358 | 199 UNIMPL osf1_sys_swapon | |
359 | #ifdef SYSVMSG | 359 | #ifdef SYSVMSG | |
360 | 200 NOARGS { int|linux_sys||msgctl(int msqid, int cmd, \ | 360 | 200 NOARGS { int|linux_sys||msgctl(int msqid, int cmd, \ | |
361 | struct linux_msqid_ds *buf); } | 361 | struct linux_msqid_ds *buf); } | |
362 | 201 NOARGS { int|sys||msgget(key_t key, int msgflg); } | 362 | 201 NOARGS { int|sys||msgget(key_t key, int msgflg); } | |
363 | 202 NOARGS { ssize_t|sys||msgrcv(int msqid, void *msgp, \ | 363 | 202 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); } | |
365 | 203 NOARGS { int|sys||msgsnd(int msqid, void *msgp, size_t msgsz, \ | 365 | 203 NOARGS { int|sys||msgsnd(int msqid, void *msgp, size_t msgsz, \ | |
366 | int msgflg); } | 366 | int msgflg); } | |
367 | #else | 367 | #else | |
368 | 200 UNIMPL msgctl | 368 | 200 UNIMPL msgctl | |
369 | 201 UNIMPL msgget | 369 | 201 UNIMPL msgget | |
370 | 202 UNIMPL msgrcv | 370 | 202 UNIMPL msgrcv | |
371 | 203 UNIMPL msgsnd | 371 | 203 UNIMPL msgsnd | |
372 | #endif | 372 | #endif | |
373 | #ifdef SYSVSEM | 373 | #ifdef SYSVSEM | |
374 | 204 NOARGS { int|linux_sys||semctl(int semid, int semnum, \ | 374 | 204 NOARGS { int|linux_sys||semctl(int semid, int semnum, \ | |
375 | int cmd, union linux_semun arg); } | 375 | int cmd, union linux_semun arg); } | |
376 | 205 NOARGS { int|sys||semget(key_t key, int nsems, int semflg); } | 376 | 205 NOARGS { int|sys||semget(key_t key, int nsems, int semflg); } | |
377 | 206 NOARGS { int|sys||semop(int semid, struct sembuf *sops, \ | 377 | 206 NOARGS { int|sys||semop(int semid, struct sembuf *sops, \ | |
378 | size_t nsops); } | 378 | size_t nsops); } | |
379 | #else | 379 | #else | |
380 | 204 UNIMPL semctl | 380 | 204 UNIMPL semctl | |
381 | 205 UNIMPL semget | 381 | 205 UNIMPL semget | |
382 | 206 UNIMPL semop | 382 | 206 UNIMPL semop | |
383 | #endif | 383 | #endif | |
384 | ;207 ALIAS osf1_sys_utsname | 384 | ;207 ALIAS osf1_sys_utsname | |
385 | 207 STD { int|linux_sys||olduname(struct linux_old_utsname *up); } | 385 | 207 STD { int|linux_sys||olduname(struct linux_old_utsname *up); } | |
386 | 208 NOARGS { int|sys||__posix_lchown(const char *path, uid_t uid, \ | 386 | 208 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 | |
389 | 209 NOARGS { int|linux_sys||shmat(int shmid, void *shmaddr, \ | 389 | 209 NOARGS { int|linux_sys||shmat(int shmid, void *shmaddr, \ | |
390 | int shmflg, u_long *raddr); } | 390 | int shmflg, u_long *raddr); } | |
391 | 210 NOARGS { int|linux_sys||shmctl(int shmid, int cmd, \ | 391 | 210 NOARGS { int|linux_sys||shmctl(int shmid, int cmd, \ | |
392 | struct linux_shmid_ds *buf); } | 392 | struct linux_shmid_ds *buf); } | |
393 | 211 NOARGS { int|sys||shmdt(const void *shmaddr); } | 393 | 211 NOARGS { int|sys||shmdt(const void *shmaddr); } | |
394 | 212 NOARGS { int|linux_sys||shmget(key_t key, size_t size, int shmflg); } | 394 | 212 NOARGS { int|linux_sys||shmget(key_t key, size_t size, int shmflg); } | |
395 | #else | 395 | #else | |
396 | 209 UNIMPL shmat | 396 | 209 UNIMPL shmat | |
397 | 210 UNIMPL shmctl | 397 | 210 UNIMPL shmctl | |
398 | 211 UNIMPL shmdt | 398 | 211 UNIMPL shmdt | |
399 | 212 UNIMPL shmget | 399 | 212 UNIMPL shmget | |
400 | #endif | 400 | #endif | |
401 | 213 UNIMPL | 401 | 213 UNIMPL | |
402 | 214 UNIMPL | 402 | 214 UNIMPL | |
403 | 215 UNIMPL | 403 | 215 UNIMPL | |
404 | 216 UNIMPL | 404 | 216 UNIMPL | |
405 | 217 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } | 405 | 217 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } | |
406 | 218 UNIMPL | 406 | 218 UNIMPL | |
407 | 219 UNIMPL | 407 | 219 UNIMPL | |
408 | 220 UNIMPL | 408 | 220 UNIMPL | |
409 | 221 UNIMPL | 409 | 221 UNIMPL | |
410 | 222 UNIMPL | 410 | 222 UNIMPL | |
411 | 223 UNIMPL | 411 | 223 UNIMPL | |
412 | 224 UNIMPL | 412 | 224 UNIMPL | |
413 | 225 UNIMPL | 413 | 225 UNIMPL | |
414 | 226 UNIMPL | 414 | 226 UNIMPL | |
415 | 227 UNIMPL | 415 | 227 UNIMPL | |
416 | 228 UNIMPL | 416 | 228 UNIMPL | |
417 | 229 UNIMPL | 417 | 229 UNIMPL | |
418 | 230 UNIMPL | 418 | 230 UNIMPL | |
419 | 231 UNIMPL | 419 | 231 UNIMPL | |
420 | 232 UNIMPL | 420 | 232 UNIMPL | |
421 | 233 NOARGS { pid_t|sys||getpgid(pid_t pid); } | 421 | 233 NOARGS { pid_t|sys||getpgid(pid_t pid); } | |
422 | 234 NOARGS { pid_t|sys||getsid(pid_t pid); } | 422 | 234 NOARGS { pid_t|sys||getsid(pid_t pid); } | |
423 | 235 UNIMPL sigaltstack | 423 | 235 UNIMPL sigaltstack | |
424 | 236 UNIMPL | 424 | 236 UNIMPL | |
425 | 237 UNIMPL | 425 | 237 UNIMPL | |
426 | 238 UNIMPL | 426 | 238 UNIMPL | |
427 | 239 UNIMPL | 427 | 239 UNIMPL | |
428 | 240 UNIMPL | 428 | 240 UNIMPL | |
429 | 241 STD { int|linux_sys||osf1_sysinfo(int cmd, char *buf, long len); } | 429 | 241 STD { int|linux_sys||osf1_sysinfo(int cmd, char *buf, long len); } | |
430 | 242 UNIMPL | 430 | 242 UNIMPL | |
431 | 243 UNIMPL | 431 | 243 UNIMPL | |
432 | 244 UNIMPL osf1_sys_proplist_syscall | 432 | 244 UNIMPL osf1_sys_proplist_syscall | |
433 | 245 UNIMPL | 433 | 245 UNIMPL | |
434 | 246 UNIMPL | 434 | 246 UNIMPL | |
435 | 247 UNIMPL | 435 | 247 UNIMPL | |
436 | 248 UNIMPL | 436 | 248 UNIMPL | |
437 | 249 UNIMPL | 437 | 249 UNIMPL | |
438 | 250 UNIMPL | 438 | 250 UNIMPL | |
439 | 251 STD { int|linux_sys||osf1_usleep_thread( \ | 439 | 251 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); } | |
442 | 252 UNIMPL | 442 | 252 UNIMPL | |
443 | 253 UNIMPL | 443 | 253 UNIMPL | |
444 | 254 UNIMPL | 444 | 254 UNIMPL | |
445 | 255 UNIMPL sysfs | 445 | 255 UNIMPL sysfs | |
446 | 256 STD { int|linux_sys||osf1_getsysinfo(u_long op, void *buffer, \ | 446 | 256 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); } | |
448 | 257 STD { int|linux_sys||osf1_setsysinfo(u_long op, void *buffer, \ | 448 | 257 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); } | |
450 | 258 UNIMPL | 450 | 258 UNIMPL | |
451 | 259 UNIMPL | 451 | 259 UNIMPL | |
452 | 260 UNIMPL | 452 | 260 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. | |
455 | 261 STD { int|linux_sys||fdatasync(int fd); } | 455 | 261 STD { int|linux_sys||fdatasync(int fd); } | |
456 | 262 UNIMPL | 456 | 262 UNIMPL | |
457 | 263 UNIMPL | 457 | 263 UNIMPL | |
458 | 264 UNIMPL | 458 | 264 UNIMPL | |
459 | 265 UNIMPL | 459 | 265 UNIMPL | |
460 | 266 UNIMPL | 460 | 266 UNIMPL | |
461 | 267 UNIMPL | 461 | 267 UNIMPL | |
462 | 268 UNIMPL | 462 | 268 UNIMPL | |
463 | 269 UNIMPL | 463 | 269 UNIMPL | |
464 | 270 UNIMPL | 464 | 270 UNIMPL | |
465 | 271 UNIMPL | 465 | 271 UNIMPL | |
466 | 272 UNIMPL | 466 | 272 UNIMPL | |
467 | 273 UNIMPL | 467 | 273 UNIMPL | |
468 | 274 UNIMPL | 468 | 274 UNIMPL | |
469 | 275 UNIMPL | 469 | 275 UNIMPL | |
470 | 276 UNIMPL | 470 | 276 UNIMPL | |
471 | 277 UNIMPL | 471 | 277 UNIMPL | |
472 | 278 UNIMPL | 472 | 278 UNIMPL | |
473 | 279 UNIMPL | 473 | 279 UNIMPL | |
474 | 280 UNIMPL | 474 | 280 UNIMPL | |
475 | 281 UNIMPL | 475 | 281 UNIMPL | |
476 | 282 UNIMPL | 476 | 282 UNIMPL | |
477 | 283 UNIMPL | 477 | 283 UNIMPL | |
478 | 284 UNIMPL | 478 | 284 UNIMPL | |
479 | 285 UNIMPL | 479 | 285 UNIMPL | |
480 | 286 UNIMPL | 480 | 286 UNIMPL | |
481 | 287 UNIMPL | 481 | 287 UNIMPL | |
482 | 288 UNIMPL | 482 | 288 UNIMPL | |
483 | 289 UNIMPL | 483 | 289 UNIMPL | |
484 | 290 UNIMPL | 484 | 290 UNIMPL | |
485 | 291 UNIMPL | 485 | 291 UNIMPL | |
486 | 292 UNIMPL | 486 | 292 UNIMPL | |
487 | 293 UNIMPL | 487 | 293 UNIMPL | |
488 | 294 UNIMPL | 488 | 294 UNIMPL | |
489 | 295 UNIMPL | 489 | 295 UNIMPL | |
490 | 296 UNIMPL | 490 | 296 UNIMPL | |
491 | 297 UNIMPL | 491 | 297 UNIMPL | |
492 | 298 UNIMPL | 492 | 298 UNIMPL | |
493 | 299 UNIMPL | 493 | 299 UNIMPL | |
494 | 300 UNIMPL bdflush | 494 | 300 UNIMPL bdflush | |
495 | 301 UNIMPL sethae | 495 | 301 UNIMPL sethae | |
496 | 302 UNIMPL mount | 496 | 302 UNIMPL mount | |
497 | 303 UNIMPL old_adjtimex | 497 | 303 UNIMPL old_adjtimex | |
498 | 304 STD { int|linux_sys||swapoff(const char *path); } | 498 | 304 STD { int|linux_sys||swapoff(const char *path); } | |
499 | 305 STD { int|linux_sys||getdents(int fd, \ | 499 | 305 STD { int|linux_sys||getdents(int fd, \ | |
500 | struct linux_dirent *dent, unsigned int count); } | 500 | struct linux_dirent *dent, unsigned int count); } | |
501 | 306 UNIMPL alpha_create_module | 501 | 306 UNIMPL alpha_create_module | |
502 | 307 UNIMPL init_module | 502 | 307 UNIMPL init_module | |
503 | 308 UNIMPL delete_module | 503 | 308 UNIMPL delete_module | |
504 | 309 UNIMPL get_kernel_syms | 504 | 309 UNIMPL get_kernel_syms | |
505 | 310 UNIMPL syslog | 505 | 310 UNIMPL syslog | |
506 | 311 STD { int|linux_sys||reboot(int magic1, int magic2, \ | 506 | 311 STD { int|linux_sys||reboot(int magic1, int magic2, \ | |
507 | int cmd, void *arg); } | 507 | int cmd, void *arg); } | |
508 | 312 STD { int|linux_sys||clone(int flags, void *stack, \ | 508 | 312 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 | |
511 | 313 STD { int|linux_sys||uselib(const char *path); } | 511 | 313 STD { int|linux_sys||uselib(const char *path); } | |
512 | #else | 512 | #else | |
513 | 313 UNIMPL sys_uselib | 513 | 313 UNIMPL sys_uselib | |
514 | #endif | 514 | #endif | |
515 | 314 NOARGS { int|sys||mlock(const void *addr, size_t len); } | 515 | 314 NOARGS { int|sys||mlock(const void *addr, size_t len); } | |
516 | 315 NOARGS { int|sys||munlock(const void *addr, size_t len); } | 516 | 315 NOARGS { int|sys||munlock(const void *addr, size_t len); } | |
517 | 316 NOARGS { int|sys||mlockall(int flags); } | 517 | 316 NOARGS { int|sys||mlockall(int flags); } | |
518 | 317 NOARGS { int|sys||munlockall(void); } | 518 | 317 NOARGS { int|sys||munlockall(void); } | |
519 | 318 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); } | 519 | 318 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); } | |
520 | 319 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); } | 520 | 319 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); } | |
521 | 320 UNIMPL idle | 521 | 320 UNIMPL idle | |
522 | 321 UNIMPL oldumount | 522 | 321 UNIMPL oldumount | |
523 | 322 STD { int|linux_sys||swapon(const char *name); } | 523 | 322 STD { int|linux_sys||swapon(const char *name); } | |
524 | 323 STD { int|linux_sys||times(struct times *tms); } | 524 | 323 STD { int|linux_sys||times(struct times *tms); } | |
525 | 324 STD { int|linux_sys||personality(unsigned long per); } | 525 | 324 STD { int|linux_sys||personality(unsigned long per); } | |
526 | 325 STD { int|linux_sys||setfsuid(uid_t uid); } | 526 | 325 STD { int|linux_sys||setfsuid(uid_t uid); } | |
527 | 326 STD { int|linux_sys||setfsgid(gid_t gid); } | 527 | 326 STD { int|linux_sys||setfsgid(gid_t gid); } | |
528 | 327 UNIMPL ustat | 528 | 327 UNIMPL ustat | |
529 | 328 STD { int|linux_sys||statfs(const char *path, \ | 529 | 328 STD { int|linux_sys||statfs(const char *path, \ | |
530 | struct linux_statfs *sp); } | 530 | struct linux_statfs *sp); } | |
531 | 329 STD { int|linux_sys||fstatfs(int fd, \ | 531 | 329 STD { int|linux_sys||fstatfs(int fd, \ | |
532 | struct linux_statfs *sp); } | 532 | struct linux_statfs *sp); } | |
533 | 330 STD { int|linux_sys||sched_setparam(pid_t pid, \ | 533 | 330 STD { int|linux_sys||sched_setparam(pid_t pid, \ | |
534 | const struct linux_sched_param *sp); } | 534 | const struct linux_sched_param *sp); } | |
535 | 331 STD { int|linux_sys||sched_getparam(pid_t pid, \ | 535 | 331 STD { int|linux_sys||sched_getparam(pid_t pid, \ | |
536 | struct linux_sched_param *sp); } | 536 | struct linux_sched_param *sp); } | |
537 | 332 STD { int|linux_sys||sched_setscheduler(pid_t pid, \ | 537 | 332 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); } | |
539 | 333 STD { int|linux_sys||sched_getscheduler(pid_t pid); } | 539 | 333 STD { int|linux_sys||sched_getscheduler(pid_t pid); } | |
540 | 334 STD { int|linux_sys||sched_yield(void); } | 540 | 334 STD { int|linux_sys||sched_yield(void); } | |
541 | 335 STD { int|linux_sys||sched_get_priority_max(int policy); } | 541 | 335 STD { int|linux_sys||sched_get_priority_max(int policy); } | |
542 | 336 STD { int|linux_sys||sched_get_priority_min(int policy); } | 542 | 336 STD { int|linux_sys||sched_get_priority_min(int policy); } | |
543 | 337 UNIMPL sched_rr_get_interval | 543 | 337 UNIMPL sched_rr_get_interval | |
544 | 338 UNIMPL afs_syscall | 544 | 338 UNIMPL afs_syscall | |
545 | 339 STD { int|linux_sys||uname(struct linux_utsname *up); } | 545 | 339 STD { int|linux_sys||uname(struct linux_utsname *up); } | |
546 | 340 STD { int|linux_sys||nanosleep( \ | 546 | 340 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); } | |
549 | 341 STD { void *|linux_sys||mremap(void *old_address, \ | 549 | 341 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); } | |
551 | 342 UNIMPL nfsservctl | 551 | 342 UNIMPL nfsservctl | |
552 | 343 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \ | 552 | 343 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \ | |
553 | uid_t suid); } | 553 | uid_t suid); } | |
554 | 344 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \ | 554 | 344 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \ | |
555 | uid_t *suid); } | 555 | uid_t *suid); } | |
556 | 345 UNIMPL pciconfig_read | 556 | 345 UNIMPL pciconfig_read | |
557 | 346 UNIMPL pciconfig_write | 557 | 346 UNIMPL pciconfig_write | |
558 | 347 UNIMPL query_module | 558 | 347 UNIMPL query_module | |
559 | 348 UNIMPL prctl | 559 | 348 UNIMPL prctl | |
560 | 349 STD { int|linux_sys||pread(int fd, char *buf, \ | 560 | 349 STD { int|linux_sys||pread(int fd, char *buf, \ | |
561 | size_t nbyte, off_t offset); } | 561 | size_t nbyte, off_t offset); } | |
562 | 350 STD { int|linux_sys||pwrite(int fd, char *buf, \ | 562 | 350 STD { int|linux_sys||pwrite(int fd, char *buf, \ | |
563 | size_t nbyte, off_t offset); } | 563 | size_t nbyte, off_t offset); } | |
564 | 351 STD { int|linux_sys||rt_sigreturn( \ | 564 | 351 STD { int|linux_sys||rt_sigreturn( \ | |
565 | struct linux_rt_sigframe *sfp); } | 565 | struct linux_rt_sigframe *sfp); } | |
566 | 352 STD { int|linux_sys||rt_sigaction(int signum, \ | 566 | 352 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); } | |
570 | 353 STD { int|linux_sys||rt_sigprocmask(int how, \ | 570 | 353 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); } | |
574 | 354 STD { int|linux_sys||rt_sigpending( \ | 574 | 354 STD { int|linux_sys||rt_sigpending( \ | |
575 | linux_sigset_t *set, \ | 575 | linux_sigset_t *set, \ | |
576 | size_t sigsetsize); } | 576 | size_t sigsetsize); } | |
577 | 355 STD { int|linux_sys||rt_sigtimedwait( \ | 577 | 355 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); } | |
581 | 356 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \ | 581 | 356 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \ | |
582 | linux_siginfo_t *uinfo); } | 582 | linux_siginfo_t *uinfo); } | |
583 | 357 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \ | 583 | 357 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \ | |
584 | size_t sigsetsize); } | 584 | size_t sigsetsize); } | |
585 | 358 STD { int|linux_sys||select(int nfds, fd_set *readfds, \ | 585 | 358 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); } | |
588 | 359 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \ | 588 | 359 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \ | |
589 | struct timezone *tzp); } | 589 | struct timezone *tzp); } | |
590 | 360 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \ | 590 | 360 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \ | |
591 | struct timezone *tzp); } | 591 | struct timezone *tzp); } | |
592 | 361 NOARGS { int|compat_50_sys||getitimer(int which, \ | 592 | 361 NOARGS { int|compat_50_sys||getitimer(int which, \ | |
593 | struct itimerval50 *itv); } | 593 | struct itimerval50 *itv); } | |
594 | 362 NOARGS { int|compat_50_sys||setitimer(int which, \ | 594 | 362 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); } | |
597 | 363 NOARGS { int|compat_50_sys||utimes(const char *path, \ | 597 | 363 NOARGS { int|compat_50_sys||utimes(const char *path, \ | |
598 | const struct timeval50 *tptr); } | 598 | const struct timeval50 *tptr); } | |
599 | 364 NOARGS { int|compat_50_sys||getrusage(int who, \ | 599 | 364 NOARGS { int|compat_50_sys||getrusage(int who, \ | |
600 | struct rusage50 *rusage); } | 600 | struct rusage50 *rusage); } | |
601 | 365 STD { int|linux_sys||wait4(int pid, int *status, \ | 601 | 365 STD { int|linux_sys||wait4(int pid, int *status, \ | |
602 | int options, struct rusage50 *rusage); } | 602 | int options, struct rusage50 *rusage); } | |
603 | 366 UNIMPL adjtimex | 603 | 366 UNIMPL adjtimex | |
604 | 367 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } | 604 | 367 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } | |
605 | 368 UNIMPL capget | 605 | 368 UNIMPL capget | |
606 | 369 UNIMPL capset | 606 | 369 UNIMPL capset | |
607 | 370 UNIMPL sendfile | 607 | 370 UNIMPL sendfile | |
608 | 371 UNIMPL setresgid | 608 | 371 UNIMPL setresgid | |
609 | 372 UNIMPL getresgid | 609 | 372 UNIMPL getresgid | |
610 | 373 UNIMPL sys_dipc | 610 | 373 UNIMPL sys_dipc | |
611 | 374 UNIMPL pivot_root | 611 | 374 UNIMPL pivot_root | |
612 | 375 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } | 612 | 375 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } | |
613 | 376 UNIMPL pciconfig_iobase | 613 | 376 UNIMPL pciconfig_iobase | |
614 | 377 STD { int|linux_sys||getdents64(int fd, \ | 614 | 377 STD { int|linux_sys||getdents64(int fd, \ | |
615 | struct linux_dirent64 *dent, unsigned int count); } | 615 | struct linux_dirent64 *dent, unsigned int count); } | |
616 | 378 NOARGS { pid_t|linux_sys||gettid(void); } | 616 | 378 NOARGS { pid_t|linux_sys||gettid(void); } | |
617 | 379 UNIMPL readahead | 617 | 379 UNIMPL readahead | |
618 | 380 UNIMPL /* unused */ | 618 | 380 UNIMPL /* unused */ | |
619 | 381 STD { int|linux_sys||tkill(int tid, int sig); } | 619 | 381 STD { int|linux_sys||tkill(int tid, int sig); } | |
620 | 382 STD { int|linux_sys||setxattr(char *path, char *name, \ | 620 | 382 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); } | |
622 | 383 STD { int|linux_sys||lsetxattr(char *path, char *name, \ | 622 | 383 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); } | |
624 | 384 STD { int|linux_sys||fsetxattr(int fd, char *name, \ | 624 | 384 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); } | |
626 | 385 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \ | 626 | 385 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \ | |
627 | void *value, size_t size); } | 627 | void *value, size_t size); } | |
628 | 386 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \ | 628 | 386 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \ | |
629 | void *value, size_t size); } | 629 | void *value, size_t size); } | |
630 | 387 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \ | 630 | 387 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \ | |
631 | void *value, size_t size); } | 631 | void *value, size_t size); } | |
632 | 388 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \ | 632 | 388 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \ | |
633 | size_t size); } | 633 | size_t size); } | |
634 | 389 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \ | 634 | 389 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \ | |
635 | size_t size); } | 635 | size_t size); } | |
636 | 390 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \ | 636 | 390 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \ | |
637 | size_t size); } | 637 | size_t size); } | |
638 | 391 STD { int|linux_sys||removexattr(char *path, char *name); } | 638 | 391 STD { int|linux_sys||removexattr(char *path, char *name); } | |
639 | 392 STD { int|linux_sys||lremovexattr(char *path, char *name); } | 639 | 392 STD { int|linux_sys||lremovexattr(char *path, char *name); } | |
640 | 393 STD { int|linux_sys||fremovexattr(int fd, char *name); } | 640 | 393 STD { int|linux_sys||fremovexattr(int fd, char *name); } | |
641 | 394 STD { int|linux_sys||futex(int *uaddr, int op, int val, \ | 641 | 394 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); } | |
644 | 395 STD { int|linux_sys||sched_setaffinity(pid_t pid, \ | 644 | 395 STD { int|linux_sys||sched_setaffinity(pid_t pid, \ | |
645 | unsigned int len, unsigned long *mask); } | 645 | unsigned int len, unsigned long *mask); } | |
646 | 396 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ | 646 | 396 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ | |
647 | unsigned int len, unsigned long *mask); } | 647 | unsigned int len, unsigned long *mask); } | |
648 | 397 UNIMPL tuxcall | 648 | 397 UNIMPL tuxcall | |
649 | 398 UNIMPL io_setup | 649 | 398 UNIMPL io_setup | |
650 | 399 UNIMPL io_destroy | 650 | 399 UNIMPL io_destroy | |
651 | 400 UNIMPL io_getevents | 651 | 400 UNIMPL io_getevents | |
652 | 401 UNIMPL io_submit | 652 | 401 UNIMPL io_submit | |
653 | 402 UNIMPL io_cancel | 653 | 402 UNIMPL io_cancel | |
654 | 403 UNIMPL /* unused */ | 654 | 403 UNIMPL /* unused */ | |
655 | 404 UNIMPL /* unused */ | 655 | 404 UNIMPL /* unused */ | |
656 | 405 STD { int|linux_sys||exit_group(int error_code); } | 656 | 405 STD { int|linux_sys||exit_group(int error_code); } | |
657 | 406 UNIMPL lookup_dcookie | 657 | 406 UNIMPL lookup_dcookie | |
658 | 407 UNIMPL sys_epoll_create | 658 | 407 STD { int|linux_sys||epoll_create(int size); } | |
659 | 408 UNIMPL sys_epoll_ctl | 659 | 408 STD { int|linux_sys||epoll_ctl(int epfd, int op, int fd, \ | |
660 | 409 UNIMPL sys_epoll_wait | 660 | struct linux_epoll_event *event); } | |
661 | 409 STD { int|linux_sys||epoll_wait(int epfd, \ | |||
662 | struct linux_epoll_event *events, int maxevents, \ | |||
663 | int timeout); } | |||
661 | 410 UNIMPL remap_file_pages | 664 | 410 UNIMPL remap_file_pages | |
662 | 411 STD { int|linux_sys||set_tid_address(int *tid); } | 665 | 411 STD { int|linux_sys||set_tid_address(int *tid); } | |
663 | 412 UNIMPL restart_syscall | 666 | 412 UNIMPL restart_syscall | |
664 | 413 STD { int|linux_sys||fadvise64(int fd, off_t offset, \ | 667 | 413 STD { int|linux_sys||fadvise64(int fd, off_t offset, \ | |
665 | size_t len, int advice); } | 668 | size_t len, int advice); } | |
666 | 414 STD { int|linux_sys||timer_create(clockid_t clockid, \ | 669 | 414 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); } | |
668 | 415 STD { int|linux_sys||timer_settime(timer_t timerid, \ | 671 | 415 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); } | |
671 | 416 STD { int|linux_sys||timer_gettime(timer_t timerid, \ | 674 | 416 STD { int|linux_sys||timer_gettime(timer_t timerid, \ | |
672 | struct linux_itimerspec *tim); } | 675 | struct linux_itimerspec *tim); } | |
673 | 417 NOARGS { int|sys||timer_getoverrun(timer_t timerid); } | 676 | 417 NOARGS { int|sys||timer_getoverrun(timer_t timerid); } | |
674 | 418 NOARGS { int|sys||timer_delete(timer_t timerid); } | 677 | 418 NOARGS { int|sys||timer_delete(timer_t timerid); } | |
675 | 419 STD { int|linux_sys||clock_settime(clockid_t which, \ | 678 | 419 STD { int|linux_sys||clock_settime(clockid_t which, \ | |
676 | struct linux_timespec *tp); } | 679 | struct linux_timespec *tp); } | |
677 | 420 STD { int|linux_sys||clock_gettime(clockid_t which, \ | 680 | 420 STD { int|linux_sys||clock_gettime(clockid_t which, \ | |
678 | struct linux_timespec *tp); } | 681 | struct linux_timespec *tp); } | |
679 | 421 STD { int|linux_sys||clock_getres(clockid_t which, \ | 682 | 421 STD { int|linux_sys||clock_getres(clockid_t which, \ | |
680 | struct linux_timespec *tp); } | 683 | struct linux_timespec *tp); } | |
681 | 422 STD { int|linux_sys||clock_nanosleep(clockid_t which, \ | 684 | 422 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); } | |
684 | 423 UNIMPL semtimedop | 687 | 423 UNIMPL semtimedop | |
685 | 424 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); } | 688 | 424 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); } | |
686 | 425 STD { int|linux_sys||stat64(const char *path, \ | 689 | 425 STD { int|linux_sys||stat64(const char *path, \ | |
687 | struct linux_stat64 *sp); } | 690 | struct linux_stat64 *sp); } | |
688 | 426 STD { int|linux_sys||lstat64(const char *path, \ | 691 | 426 STD { int|linux_sys||lstat64(const char *path, \ | |
689 | struct linux_stat64 *sp); } | 692 | struct linux_stat64 *sp); } | |
690 | 427 STD { int|linux_sys||fstat64(int fd, \ | 693 | 427 STD { int|linux_sys||fstat64(int fd, \ | |
691 | struct linux_stat64 *sp); } | 694 | struct linux_stat64 *sp); } | |
692 | 428 UNIMPL vserver | 695 | 428 UNIMPL vserver | |
693 | 429 UNIMPL mbind | 696 | 429 UNIMPL mbind | |
694 | 430 UNIMPL get_mempolicy | 697 | 430 UNIMPL get_mempolicy | |
695 | 431 UNIMPL set_mempolicy | 698 | 431 UNIMPL set_mempolicy | |
696 | 432 UNIMPL mq_open | 699 | 432 UNIMPL mq_open | |
697 | 433 UNIMPL mq_unlink | 700 | 433 UNIMPL mq_unlink | |
698 | 434 UNIMPL mq_timedsend | 701 | 434 UNIMPL mq_timedsend | |
699 | 435 UNIMPL mq_timedreceive | 702 | 435 UNIMPL mq_timedreceive | |
700 | 436 UNIMPL mq_notify | 703 | 436 UNIMPL mq_notify | |
701 | 437 UNIMPL mq_getsetattr | 704 | 437 UNIMPL mq_getsetattr | |
702 | 438 UNIMPL waitid | 705 | 438 UNIMPL waitid | |
703 | 439 UNIMPL add_key | 706 | 439 UNIMPL add_key | |
704 | 440 UNIMPL request_key | 707 | 440 UNIMPL request_key | |
705 | 441 UNIMPL keyctl | 708 | 441 UNIMPL keyctl | |
706 | 442 UNIMPL ioprio_set | 709 | 442 UNIMPL ioprio_set | |
707 | 443 UNIMPL ioprio_get | 710 | 443 UNIMPL ioprio_get | |
708 | 444 UNIMPL inotify_init | 711 | 444 UNIMPL inotify_init | |
709 | 445 UNIMPL inotify_add_watch | 712 | 445 UNIMPL inotify_add_watch | |
710 | 446 UNIMPL inotify_rm_watch | 713 | 446 UNIMPL inotify_rm_watch | |
711 | 447 UNIMPL fdatasync | 714 | 447 UNIMPL fdatasync | |
712 | 448 UNIMPL kexec_load | 715 | 448 UNIMPL kexec_load | |
713 | 449 UNIMPL migrate_pages | 716 | 449 UNIMPL migrate_pages | |
714 | 450 STD { int|linux_sys||openat(int fd, const char *path, \ | 717 | 450 STD { int|linux_sys||openat(int fd, const char *path, \ | |
715 | int flags, ... linux_umode_t mode); } | 718 | int flags, ... linux_umode_t mode); } | |
716 | 451 NOARGS { int|sys||mkdirat(int fd, const char *path, \ | 719 | 451 NOARGS { int|sys||mkdirat(int fd, const char *path, \ | |
717 | linux_umode_t mode); } | 720 | linux_umode_t mode); } | |
718 | 452 STD { int|linux_sys||mknodat(int fd, const char *path, \ | 721 | 452 STD { int|linux_sys||mknodat(int fd, const char *path, \ | |
719 | linux_umode_t mode, unsigned dev); } | 722 | linux_umode_t mode, unsigned dev); } | |
720 | 453 STD { int|linux_sys||fchownat(int fd, const char *path, \ | 723 | 453 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); } | |
722 | 454 UNIMPL futimesat | 725 | 454 UNIMPL futimesat | |
723 | 455 STD { int|linux_sys||fstatat64(int fd, const char *path, \ | 726 | 455 STD { int|linux_sys||fstatat64(int fd, const char *path, \ | |
724 | struct linux_stat64 *sp, int flag); } | 727 | struct linux_stat64 *sp, int flag); } | |
725 | 456 STD { int|linux_sys||unlinkat(int fd, const char *path, \ | 728 | 456 STD { int|linux_sys||unlinkat(int fd, const char *path, \ | |
726 | int flag); } | 729 | int flag); } | |
727 | 457 NOARGS { int|sys||renameat(int fromfd, const char *from, \ | 730 | 457 NOARGS { int|sys||renameat(int fromfd, const char *from, \ | |
728 | int tofd, const char *to); } | 731 | int tofd, const char *to); } | |
729 | 458 STD { int|linux_sys||linkat(int fd1, const char *name1, \ | 732 | 458 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); } | |
731 | 459 NOARGS { int|sys||symlinkat(const char *path1, int fd, \ | 734 | 459 NOARGS { int|sys||symlinkat(const char *path1, int fd, \ | |
732 | const char *path2); } | 735 | const char *path2); } | |
733 | 460 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \ | 736 | 460 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \ | |
734 | char *buf, size_t bufsize); } | 737 | char *buf, size_t bufsize); } | |
735 | 461 STD { int|linux_sys||fchmodat(int fd, const char *path, \ | 738 | 461 STD { int|linux_sys||fchmodat(int fd, const char *path, \ | |
736 | linux_umode_t mode); } | 739 | linux_umode_t mode); } | |
737 | 462 STD { int|linux_sys||faccessat(int fd, const char *path, \ | 740 | 462 STD { int|linux_sys||faccessat(int fd, const char *path, \ | |
738 | int amode); } | 741 | int amode); } | |
739 | 463 STD { int|linux_sys||pselect6(int nfds, fd_set *readfds, \ | 742 | 463 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); } | |
743 | 464 STD { int|linux_sys||ppoll(struct pollfd *fds, u_int nfds, \ | 746 | 464 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); } | |
746 | 465 UNIMPL unshare | 749 | 465 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 | ; | |
752 | 466 NOARGS { int|sys||__futex_set_robust_list(void *head, \ | 755 | 466 NOARGS { int|sys||__futex_set_robust_list(void *head, \ | |
753 | size_t len); } | 756 | size_t len); } | |
754 | 467 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ | 757 | 467 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ | |
755 | void **headp, size_t *lenp); } | 758 | void **headp, size_t *lenp); } | |
756 | 468 UNIMPL splice | 759 | 468 UNIMPL splice | |
757 | 469 UNIMPL sync_file_range | 760 | 469 UNIMPL sync_file_range | |
758 | 470 UNIMPL tee | 761 | 470 UNIMPL tee | |
759 | 471 UNIMPL vmsplice | 762 | 471 UNIMPL vmsplice | |
760 | 472 UNIMPL move_pages | 763 | 472 UNIMPL move_pages | |
761 | 473 UNIMPL getcpu | 764 | 473 UNIMPL getcpu | |
762 | 474 UNIMPL epoll_wait | 765 | 474 STD { int|linux_sys||epoll_pwait(int epfd, \ | |
766 | struct linux_epoll_event *events, int maxevents, \ | |||
767 | int timeout, const linux_sigset_t *sigmask); } | |||
763 | 475 STD { int|linux_sys||utimensat(int fd, const char *path, \ | 768 | 475 STD { int|linux_sys||utimensat(int fd, const char *path, \ | |
764 | struct linux_timespec *times, int flag); } | 769 | struct linux_timespec *times, int flag); } | |
765 | 476 UNIMPL signalfd | 770 | 476 UNIMPL signalfd | |
766 | 477 UNIMPL timerfd | 771 | 477 UNIMPL timerfd | |
767 | 478 STD { int|linux_sys||eventfd(unsigned int initval); } | 772 | 478 STD { int|linux_sys||eventfd(unsigned int initval); } | |
768 | 479 STD { int|linux_sys||recvmmsg(int s, \ | 773 | 479 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); } | |
771 | 480 STD { int|linux_sys||fallocate(int fd, int mode, \ | 776 | 480 STD { int|linux_sys||fallocate(int fd, int mode, \ | |
772 | off_t offset, off_t len); } | 777 | off_t offset, off_t len); } | |
773 | 481 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ | 778 | 481 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ | |
774 | int flags); } | 779 | int flags); } | |
775 | 482 STD { int|linux_sys||timerfd_settime(int fd, int flags, \ | 780 | 482 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); } | |
778 | 483 STD { int|linux_sys||timerfd_gettime(int fd, \ | 783 | 483 STD { int|linux_sys||timerfd_gettime(int fd, \ | |
779 | struct linux_itimerspec *tim); } | 784 | struct linux_itimerspec *tim); } | |
780 | 484 UNIMPL signalfd4 | 785 | 484 UNIMPL signalfd4 | |
781 | 485 STD { int|linux_sys||eventfd2(unsigned int initval, \ | 786 | 485 STD { int|linux_sys||eventfd2(unsigned int initval, \ | |
782 | int flags); } | 787 | int flags); } | |
783 | 486 UNIMPL epoll_create1 | 788 | 486 STD { int|linux_sys||epoll_create1(int flags); } | |
784 | 487 STD { int|linux_sys||dup3(int from, int to, int flags); } | 789 | 487 STD { int|linux_sys||dup3(int from, int to, int flags); } | |
785 | 488 STD { int|linux_sys||pipe2(int *pfds, int flags); } | 790 | 488 STD { int|linux_sys||pipe2(int *pfds, int flags); } | |
786 | 489 UNIMPL inotify_init1 | 791 | 489 UNIMPL inotify_init1 | |
787 | 490 STD { int|linux_sys||preadv(int fd, \ | 792 | 490 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); } | |
790 | 491 STD { int|linux_sys||pwritev(int fd, \ | 795 | 491 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); } | |
793 | 492 UNIMPL rt_tgsigqueueinfo | 798 | 492 UNIMPL rt_tgsigqueueinfo | |
794 | 493 UNIMPL perf_counter_open | 799 | 493 UNIMPL perf_counter_open | |
795 | 494 UNIMPL fanotify_init | 800 | 494 UNIMPL fanotify_init | |
796 | 495 UNIMPL fanotify_mark | 801 | 495 UNIMPL fanotify_mark | |
797 | 496 STD { int|linux_sys||prlimit64(pid_t pid, int which, \ | 802 | 496 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); } | |
799 | 497 UNIMPL name_to_handle_at | 804 | 497 UNIMPL name_to_handle_at | |
800 | 498 UNIMPL open_by_handle_at | 805 | 498 UNIMPL open_by_handle_at | |
801 | 499 UNIMPL clock_adjtime | 806 | 499 UNIMPL clock_adjtime | |
802 | 500 UNIMPL syncfs | 807 | 500 UNIMPL syncfs | |
803 | 501 UNIMPL setns | 808 | 501 UNIMPL setns | |
804 | 502 STD { int|linux_sys||accept4(int s, \ | 809 | 502 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); } | |
807 | 503 STD { int|linux_sys||sendmmsg(int s, \ | 812 | 503 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); } | |
810 | 504 UNIMPL process_vm_readv | 815 | 504 UNIMPL process_vm_readv | |
811 | 505 UNIMPL process_vm_writev | 816 | 505 UNIMPL process_vm_writev | |
812 | 506 UNIMPL kcmp | 817 | 506 UNIMPL kcmp | |
813 | 507 UNIMPL finit_module | 818 | 507 UNIMPL finit_module | |
814 | 508 UNIMPL sched_setattr | 819 | 508 UNIMPL sched_setattr | |
815 | 509 UNIMPL sched_getattr | 820 | 509 UNIMPL sched_getattr | |
816 | 510 UNIMPL renameat2 | 821 | 510 UNIMPL renameat2 | |
822 | 511 UNIMPL | |||
823 | 512 UNIMPL | |||
824 | 513 UNIMPL | |||
825 | 514 UNIMPL | |||
826 | 515 UNIMPL | |||
827 | 516 UNIMPL | |||
828 | 517 UNIMPL | |||
829 | 518 UNIMPL | |||
830 | 519 UNIMPL | |||
831 | 520 UNIMPL | |||
832 | 521 UNIMPL | |||
833 | 522 UNIMPL | |||
834 | 523 UNIMPL | |||
835 | 524 UNIMPL | |||
836 | 525 UNIMPL | |||
837 | 526 UNIMPL | |||
838 | 527 UNIMPL | |||
839 | 528 UNIMPL | |||
840 | 529 UNIMPL | |||
841 | 530 UNIMPL | |||
842 | 531 UNIMPL | |||
843 | 532 UNIMPL | |||
844 | 533 UNIMPL | |||
845 | 534 UNIMPL | |||
846 | 535 UNIMPL | |||
847 | 536 UNIMPL | |||
848 | 537 UNIMPL | |||
849 | 538 UNIMPL | |||
850 | 539 UNIMPL | |||
851 | 540 UNIMPL | |||
852 | 541 UNIMPL | |||
853 | 542 UNIMPL | |||
854 | 543 UNIMPL | |||
855 | 544 UNIMPL | |||
856 | 545 UNIMPL | |||
857 | 546 UNIMPL | |||
858 | 547 UNIMPL | |||
859 | 548 UNIMPL | |||
860 | 549 UNIMPL | |||
861 | 550 UNIMPL | |||
862 | 551 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); } |
--- 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. | |
56 | 0 NOARGS { int|linux_sys||nosys(void); } | 56 | 0 NOARGS { int|linux_sys||nosys(void); } | |
57 | 1 STD { int|linux_sys||exit(int rval); } | 57 | 1 STD { int|linux_sys||exit(int rval); } | |
58 | 2 NOARGS { int|sys||fork(void); } | 58 | 2 NOARGS { int|sys||fork(void); } | |
59 | 3 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } | 59 | 3 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } | |
60 | 4 NOARGS { ssize_t|sys||write(int fd, const void *buf, \ | 60 | 4 NOARGS { ssize_t|sys||write(int fd, const void *buf, \ | |
61 | size_t nbyte); } | 61 | size_t nbyte); } | |
62 | 5 STD { int|linux_sys||open(const char *path, int flags, \ | 62 | 5 STD { int|linux_sys||open(const char *path, int flags, \ | |
63 | linux_umode_t mode); } | 63 | linux_umode_t mode); } | |
64 | 6 NOARGS { int|sys||close(int fd); } | 64 | 6 NOARGS { int|sys||close(int fd); } | |
65 | 7 STD { int|linux_sys||waitpid(int pid, int *status, \ | 65 | 7 STD { int|linux_sys||waitpid(int pid, int *status, \ | |
66 | int options);} | 66 | int options);} | |
67 | 8 STD { int|linux_sys||creat(const char *path, linux_umode_t mode); } | 67 | 8 STD { int|linux_sys||creat(const char *path, linux_umode_t mode); } | |
68 | 9 NOARGS { int|sys||link(const char *path, const char *link); } | 68 | 9 NOARGS { int|sys||link(const char *path, const char *link); } | |
69 | 10 STD { int|linux_sys||unlink(const char *path); } | 69 | 10 STD { int|linux_sys||unlink(const char *path); } | |
70 | 11 NOARGS { int|sys||execve(const char *path, char **argp, \ | 70 | 11 NOARGS { int|sys||execve(const char *path, char **argp, \ | |
71 | char **envp); } | 71 | char **envp); } | |
72 | 12 NOARGS { int|sys||chdir(const char *path); } | 72 | 12 NOARGS { int|sys||chdir(const char *path); } | |
73 | 13 STD { int|linux_sys||time(linux_time_t *t); } | 73 | 13 STD { int|linux_sys||time(linux_time_t *t); } | |
74 | 14 STD { int|linux_sys||mknod(const char *path, linux_umode_t mode, \ | 74 | 14 STD { int|linux_sys||mknod(const char *path, linux_umode_t mode, \ | |
75 | unsigned dev); } | 75 | unsigned dev); } | |
76 | 15 NOARGS { int|sys||chmod(const char *path, int mode); } | 76 | 15 NOARGS { int|sys||chmod(const char *path, int mode); } | |
77 | 16 STD { int|linux_sys||lchown16(const char *path, \ | 77 | 16 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); } | |
79 | 17 OBSOL break | 79 | 17 OBSOL break | |
80 | 18 OBSOL ostat | 80 | 18 OBSOL ostat | |
81 | 19 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ | 81 | 19 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ | |
82 | int whence); } | 82 | int whence); } | |
83 | 20 NOARGS { pid_t|sys||getpid(void); } | 83 | 20 NOARGS { pid_t|sys||getpid(void); } | |
84 | 21 UNIMPL mount | 84 | 21 UNIMPL mount | |
85 | 22 OBSOL umount | 85 | 22 OBSOL umount | |
86 | 23 NOARGS { int|sys||setuid(uid_t uid); } | 86 | 23 NOARGS { int|sys||setuid(uid_t uid); } | |
87 | 24 NOARGS { uid_t|sys||getuid(void); } | 87 | 24 NOARGS { uid_t|sys||getuid(void); } | |
88 | 25 STD { int|linux_sys||stime(linux_time_t *t); } | 88 | 25 STD { int|linux_sys||stime(linux_time_t *t); } | |
89 | 26 STD { int|linux_sys||ptrace(int request, int pid, \ | 89 | 26 STD { int|linux_sys||ptrace(int request, int pid, \ | |
90 | int addr, int data); } | 90 | int addr, int data); } | |
91 | 27 STD { int|linux_sys||alarm(unsigned int secs); } | 91 | 27 STD { int|linux_sys||alarm(unsigned int secs); } | |
92 | 28 OBSOL ofstat | 92 | 28 OBSOL ofstat | |
93 | 29 STD { int|linux_sys||pause(void); } | 93 | 29 STD { int|linux_sys||pause(void); } | |
94 | 30 STD { int|linux_sys||utime(const char *path, \ | 94 | 30 STD { int|linux_sys||utime(const char *path, \ | |
95 | struct linux_utimbuf *times); } | 95 | struct linux_utimbuf *times); } | |
96 | 31 OBSOL stty | 96 | 31 OBSOL stty | |
97 | 32 OBSOL gtty | 97 | 32 OBSOL gtty | |
98 | 33 NOARGS { int|sys||access(const char *path, int flags); } | 98 | 33 NOARGS { int|sys||access(const char *path, int flags); } | |
99 | 34 STD { int|linux_sys||nice(int incr); } | 99 | 34 STD { int|linux_sys||nice(int incr); } | |
100 | 35 OBSOL ftime | 100 | 35 OBSOL ftime | |
101 | 36 NOARGS { int|sys||sync(void); } | 101 | 36 NOARGS { int|sys||sync(void); } | |
102 | 37 STD { int|linux_sys||kill(int pid, int signum); } | 102 | 37 STD { int|linux_sys||kill(int pid, int signum); } | |
103 | 38 NOARGS { int|sys||__posix_rename(const char *from, \ | 103 | 38 NOARGS { int|sys||__posix_rename(const char *from, \ | |
104 | const char *to); } | 104 | const char *to); } | |
105 | 39 NOARGS { int|sys||mkdir(const char *path, linux_umode_t mode); } | 105 | 39 NOARGS { int|sys||mkdir(const char *path, linux_umode_t mode); } | |
106 | 40 NOARGS { int|sys||rmdir(const char *path); } | 106 | 40 NOARGS { int|sys||rmdir(const char *path); } | |
107 | 41 NOARGS { int|sys||dup(int fd); } | 107 | 41 NOARGS { int|sys||dup(int fd); } | |
108 | 42 STD { int|linux_sys||pipe(int *pfds); } | 108 | 42 STD { int|linux_sys||pipe(int *pfds); } | |
109 | 43 STD { int|linux_sys||times(struct times *tms); } | 109 | 43 STD { int|linux_sys||times(struct times *tms); } | |
110 | 44 OBSOL prof | 110 | 44 OBSOL prof | |
111 | 45 STD { int|linux_sys||brk(char *nsize); } | 111 | 45 STD { int|linux_sys||brk(char *nsize); } | |
112 | 46 NOARGS { int|sys||setgid(gid_t gid); } | 112 | 46 NOARGS { int|sys||setgid(gid_t gid); } | |
113 | 47 NOARGS { gid_t|sys||getgid(void); } | 113 | 47 NOARGS { gid_t|sys||getgid(void); } | |
114 | 48 STD { int|linux_sys||signal(int signum, \ | 114 | 48 STD { int|linux_sys||signal(int signum, \ | |
115 | linux_handler_t handler); } | 115 | linux_handler_t handler); } | |
116 | 49 NOARGS { uid_t|sys||geteuid(void); } | 116 | 49 NOARGS { uid_t|sys||geteuid(void); } | |
117 | 50 NOARGS { gid_t|sys||getegid(void); } | 117 | 50 NOARGS { gid_t|sys||getegid(void); } | |
118 | 51 NOARGS { int|sys||acct(char *path); } | 118 | 51 NOARGS { int|sys||acct(char *path); } | |
119 | 52 UNIMPL umount | 119 | 52 UNIMPL umount | |
120 | 53 OBSOL lock | 120 | 53 OBSOL lock | |
121 | 54 STD { int|linux_sys||ioctl(int fd, u_long com, \ | 121 | 54 STD { int|linux_sys||ioctl(int fd, u_long com, \ | |
122 | void *data); } | 122 | void *data); } | |
123 | 55 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); } | 123 | 55 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); } | |
124 | 56 OBSOL mpx | 124 | 56 OBSOL mpx | |
125 | 57 NOARGS { int|sys||setpgid(int pid, int pgid); } | 125 | 57 NOARGS { int|sys||setpgid(int pid, int pgid); } | |
126 | 58 OBSOL ulimit | 126 | 58 OBSOL ulimit | |
127 | 59 STD { int|linux_sys||oldolduname( \ | 127 | 59 STD { int|linux_sys||oldolduname( \ | |
128 | struct linux_oldold_utsname *up); } | 128 | struct linux_oldold_utsname *up); } | |
129 | 60 NOARGS { int|sys||umask(int newmask); } | 129 | 60 NOARGS { int|sys||umask(int newmask); } | |
130 | 61 NOARGS { int|sys||chroot(char *path); } | 130 | 61 NOARGS { int|sys||chroot(char *path); } | |
131 | 62 UNIMPL ustat | 131 | 62 UNIMPL ustat | |
132 | 63 NOARGS { int|sys||dup2(int from, int to); } | 132 | 63 NOARGS { int|sys||dup2(int from, int to); } | |
133 | 64 NOARGS { pid_t|sys||getppid(void); } | 133 | 64 NOARGS { pid_t|sys||getppid(void); } | |
134 | 65 NOARGS { int|sys||getpgrp(void); } | 134 | 65 NOARGS { int|sys||getpgrp(void); } | |
135 | 66 NOARGS { int|sys||setsid(void); } | 135 | 66 NOARGS { int|sys||setsid(void); } | |
136 | 67 STD { int|linux_sys||sigaction(int signum, \ | 136 | 67 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); } | |
139 | 68 STD { int|linux_sys||siggetmask(void); } | 139 | 68 STD { int|linux_sys||siggetmask(void); } | |
140 | 69 STD { int|linux_sys||sigsetmask(linux_old_sigset_t mask); } | 140 | 69 STD { int|linux_sys||sigsetmask(linux_old_sigset_t mask); } | |
141 | 70 STD { int|linux_sys||setreuid16(linux_uid16_t ruid, \ | 141 | 70 STD { int|linux_sys||setreuid16(linux_uid16_t ruid, \ | |
142 | linux_uid16_t euid); } | 142 | linux_uid16_t euid); } | |
143 | 71 STD { int|linux_sys||setregid16(linux_gid16_t rgid, \ | 143 | 71 STD { int|linux_sys||setregid16(linux_gid16_t rgid, \ | |
144 | linux_gid16_t egid); } | 144 | linux_gid16_t egid); } | |
145 | 72 STD { int|linux_sys||sigsuspend(void *restart, \ | 145 | 72 STD { int|linux_sys||sigsuspend(void *restart, \ | |
146 | int oldmask, int mask); } | 146 | int oldmask, int mask); } | |
147 | 73 STD { int|linux_sys||sigpending(linux_old_sigset_t *set); } | 147 | 73 STD { int|linux_sys||sigpending(linux_old_sigset_t *set); } | |
148 | 74 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ | 148 | 74 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ | |
149 | u_int len);} | 149 | u_int len);} | |
150 | 75 STD { int|linux_sys||setrlimit(u_int which, \ | 150 | 75 STD { int|linux_sys||setrlimit(u_int which, \ | |
151 | struct orlimit *rlp); } | 151 | struct orlimit *rlp); } | |
152 | 76 STD { int|linux_sys||getrlimit(u_int which, \ | 152 | 76 STD { int|linux_sys||getrlimit(u_int which, \ | |
153 | struct orlimit *rlp); } | 153 | struct orlimit *rlp); } | |
154 | 77 NOARGS { int|compat_50_sys||getrusage(int who, struct rusage50 *rusage); } | 154 | 77 NOARGS { int|compat_50_sys||getrusage(int who, struct rusage50 *rusage); } | |
155 | 78 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \ | 155 | 78 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \ | |
156 | struct timezone *tzp); } | 156 | struct timezone *tzp); } | |
157 | 79 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \ | 157 | 79 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \ | |
158 | struct timezone *tzp); } | 158 | struct timezone *tzp); } | |
159 | 80 STD { int|linux_sys||getgroups16(int gidsetsize, \ | 159 | 80 STD { int|linux_sys||getgroups16(int gidsetsize, \ | |
160 | linux_gid16_t *gidset); } | 160 | linux_gid16_t *gidset); } | |
161 | 81 STD { int|linux_sys||setgroups16(int gidsetsize, \ | 161 | 81 STD { int|linux_sys||setgroups16(int gidsetsize, \ | |
162 | linux_gid16_t *gidset); } | 162 | linux_gid16_t *gidset); } | |
163 | 82 STD { int|linux_sys||oldselect(struct linux_oldselect *lsp); } | 163 | 82 STD { int|linux_sys||oldselect(struct linux_oldselect *lsp); } | |
164 | 83 NOARGS { int|sys||symlink(const char *path, const char *link); } | 164 | 83 NOARGS { int|sys||symlink(const char *path, const char *link); } | |
165 | 84 NOARGS { int|compat_43_sys||lstat(const char *path, \ | 165 | 84 NOARGS { int|compat_43_sys||lstat(const char *path, \ | |
166 | struct stat43 *ub); } oolstat | 166 | struct stat43 *ub); } oolstat | |
167 | 85 NOARGS { ssize_t|sys||readlink(const char *path, char *buf, \ | 167 | 85 NOARGS { ssize_t|sys||readlink(const char *path, char *buf, \ | |
168 | int count); } | 168 | int count); } | |
169 | #ifdef EXEC_AOUT | 169 | #ifdef EXEC_AOUT | |
170 | 86 STD { int|linux_sys||uselib(const char *path); } | 170 | 86 STD { int|linux_sys||uselib(const char *path); } | |
171 | #else | 171 | #else | |
172 | 86 EXCL uselib | 172 | 86 EXCL uselib | |
173 | #endif | 173 | #endif | |
174 | 87 STD { int|linux_sys||swapon(char *name); } | 174 | 87 STD { int|linux_sys||swapon(char *name); } | |
175 | 88 STD { int|linux_sys||reboot(int magic1, int magic2, \ | 175 | 88 STD { int|linux_sys||reboot(int magic1, int magic2, \ | |
176 | int cmd, void *arg); } | 176 | int cmd, void *arg); } | |
177 | 89 STD { int|linux_sys||readdir(int fd, void *dent, \ | 177 | 89 STD { int|linux_sys||readdir(int fd, void *dent, \ | |
178 | unsigned int count); } | 178 | unsigned int count); } | |
179 | 90 STD { int|linux_sys||old_mmap(struct linux_oldmmap *lmp); } | 179 | 90 STD { int|linux_sys||old_mmap(struct linux_oldmmap *lmp); } | |
180 | 91 NOARGS { int|sys||munmap(void *addr, size_t len); } | 180 | 91 NOARGS { int|sys||munmap(void *addr, size_t len); } | |
181 | 92 NOARGS { int|compat_43_sys||truncate(const char *path, \ | 181 | 92 NOARGS { int|compat_43_sys||truncate(const char *path, \ | |
182 | long length); } | 182 | long length); } | |
183 | 93 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } | 183 | 93 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } | |
184 | 94 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); } | 184 | 94 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); } | |
185 | 95 STD { int|linux_sys||fchown16(int fd, linux_uid16_t uid, \ | 185 | 95 STD { int|linux_sys||fchown16(int fd, linux_uid16_t uid, \ | |
186 | linux_gid16_t gid); } | 186 | linux_gid16_t gid); } | |
187 | 96 STD { int|linux_sys||getpriority(int which, int who); } | 187 | 96 STD { int|linux_sys||getpriority(int which, int who); } | |
188 | 97 NOARGS { int|sys||setpriority(int which, int who, int prio); } | 188 | 97 NOARGS { int|sys||setpriority(int which, int who, int prio); } | |
189 | 98 NOARGS { int|sys||profil(void *samples, u_int size, \ | 189 | 98 NOARGS { int|sys||profil(void *samples, u_int size, \ | |
190 | u_int offset, u_int scale); } | 190 | u_int offset, u_int scale); } | |
191 | 99 STD { int|linux_sys||statfs(const char *path, \ | 191 | 99 STD { int|linux_sys||statfs(const char *path, \ | |
192 | struct linux_statfs *sp); } | 192 | struct linux_statfs *sp); } | |
193 | 100 STD { int|linux_sys||fstatfs(int fd, \ | 193 | 100 STD { int|linux_sys||fstatfs(int fd, \ | |
194 | struct linux_statfs *sp); } | 194 | struct linux_statfs *sp); } | |
195 | 101 UNIMPL | 195 | 101 UNIMPL | |
196 | 102 STD { int|linux_sys||socketcall(int what, void *args); } | 196 | 102 STD { int|linux_sys||socketcall(int what, void *args); } | |
197 | 103 UNIMPL syslog | 197 | 103 UNIMPL syslog | |
198 | 104 NOARGS { int|compat_50_sys||setitimer(int which, \ | 198 | 104 NOARGS { int|compat_50_sys||setitimer(int which, \ | |
199 | struct itimerval50 *itv, \ | 199 | struct itimerval50 *itv, \ | |
200 | struct itimerval50 *oitv); } | 200 | struct itimerval50 *oitv); } | |
201 | 105 NOARGS { int|compat_50_sys||getitimer(int which, \ | 201 | 105 NOARGS { int|compat_50_sys||getitimer(int which, \ | |
202 | struct itimerval50 *itv); } | 202 | struct itimerval50 *itv); } | |
203 | 106 STD { int|linux_sys||stat(const char *path, \ | 203 | 106 STD { int|linux_sys||stat(const char *path, \ | |
204 | struct linux_stat *sp); } | 204 | struct linux_stat *sp); } | |
205 | 107 STD { int|linux_sys||lstat(const char *path, \ | 205 | 107 STD { int|linux_sys||lstat(const char *path, \ | |
206 | struct linux_stat *sp); } | 206 | struct linux_stat *sp); } | |
207 | 108 STD { int|linux_sys||fstat(int fd, struct linux_stat *sp); } | 207 | 108 STD { int|linux_sys||fstat(int fd, struct linux_stat *sp); } | |
208 | 109 STD { int|linux_sys||olduname(struct linux_oldutsname *up); } | 208 | 109 STD { int|linux_sys||olduname(struct linux_oldutsname *up); } | |
209 | 110 UNIMPL | 209 | 110 UNIMPL | |
210 | 111 UNIMPL vhangup | 210 | 111 UNIMPL vhangup | |
211 | 112 UNIMPL idle | 211 | 112 UNIMPL idle | |
212 | 113 UNIMPL syscall | 212 | 113 UNIMPL syscall | |
213 | 114 STD { int|linux_sys||wait4(int pid, int *status, \ | 213 | 114 STD { int|linux_sys||wait4(int pid, int *status, \ | |
214 | int options, struct rusage50 *rusage); } | 214 | int options, struct rusage50 *rusage); } | |
215 | 115 STD { int|linux_sys||swapoff(const char *path); } | 215 | 115 STD { int|linux_sys||swapoff(const char *path); } | |
216 | 116 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); } | 216 | 116 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); } | |
217 | 117 STD { int|linux_sys||ipc(int what, int a1, int a2, int a3, \ | 217 | 117 STD { int|linux_sys||ipc(int what, int a1, int a2, int a3, \ | |
218 | void *ptr); } | 218 | void *ptr); } | |
219 | 118 NOARGS { int|sys||fsync(int fd); } | 219 | 118 NOARGS { int|sys||fsync(int fd); } | |
220 | 119 STD { int|linux_sys||sigreturn(struct linux_sigcontext *scp); } | 220 | 119 STD { int|linux_sys||sigreturn(struct linux_sigcontext *scp); } | |
221 | 120 STD { int|linux_sys||clone(int flags, void *stack, \ | 221 | 120 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); } | |
223 | 121 STD { int|linux_sys||setdomainname(char *domainname, \ | 223 | 121 STD { int|linux_sys||setdomainname(char *domainname, \ | |
224 | int len); } | 224 | int len); } | |
225 | 122 STD { int|linux_sys||uname(struct linux_utsname *up); } | 225 | 122 STD { int|linux_sys||uname(struct linux_utsname *up); } | |
226 | 123 UNIMPL modify_ldt | 226 | 123 UNIMPL modify_ldt | |
227 | 124 UNIMPL adjtimex | 227 | 124 UNIMPL adjtimex | |
228 | 125 STD { int|linux_sys||mprotect(const void *start, \ | 228 | 125 STD { int|linux_sys||mprotect(const void *start, \ | |
229 | unsigned long len, int prot); } | 229 | unsigned long len, int prot); } | |
230 | 126 STD { int|linux_sys||sigprocmask(int how, \ | 230 | 126 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); } | |
233 | 127 UNIMPL create_module | 233 | 127 UNIMPL create_module | |
234 | 128 UNIMPL init_module | 234 | 128 UNIMPL init_module | |
235 | 129 UNIMPL delete_module | 235 | 129 UNIMPL delete_module | |
236 | 130 UNIMPL get_kernel_syms | 236 | 130 UNIMPL get_kernel_syms | |
237 | 131 UNIMPL quotactl | 237 | 131 UNIMPL quotactl | |
238 | 132 NOARGS { pid_t|sys||getpgid(pid_t pid); } | 238 | 132 NOARGS { pid_t|sys||getpgid(pid_t pid); } | |
239 | 133 NOARGS { int|sys||fchdir(int fd); } | 239 | 133 NOARGS { int|sys||fchdir(int fd); } | |
240 | 134 UNIMPL bdflush | 240 | 134 UNIMPL bdflush | |
241 | 135 UNIMPL sysfs | 241 | 135 UNIMPL sysfs | |
242 | 136 STD { int|linux_sys||personality(unsigned long per); } | 242 | 136 STD { int|linux_sys||personality(unsigned long per); } | |
243 | 137 UNIMPL afs_syscall | 243 | 137 UNIMPL afs_syscall | |
244 | 138 STD { int|linux_sys||setfsuid(uid_t uid); } | 244 | 138 STD { int|linux_sys||setfsuid(uid_t uid); } | |
245 | 139 STD { int|linux_sys||setfsgid(gid_t gid); } | 245 | 139 STD { int|linux_sys||setfsgid(gid_t gid); } | |
246 | 140 STD { int|linux_sys||llseek(int fd, u_int32_t ohigh, \ | 246 | 140 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); } | |
248 | 141 STD { int|linux_sys||getdents(int fd, \ | 248 | 141 STD { int|linux_sys||getdents(int fd, \ | |
249 | struct linux_dirent *dent, unsigned int count); } | 249 | struct linux_dirent *dent, unsigned int count); } | |
250 | 142 STD { int|linux_sys||select(int nfds, fd_set *readfds, \ | 250 | 142 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); } | |
253 | 143 NOARGS { int|sys||flock(int fd, int how); } | 253 | 143 NOARGS { int|sys||flock(int fd, int how); } | |
254 | 144 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } | 254 | 144 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } | |
255 | 145 NOARGS { ssize_t|sys||readv(int fd, \ | 255 | 145 NOARGS { ssize_t|sys||readv(int fd, \ | |
256 | const struct iovec *iovp, int iovcnt); } | 256 | const struct iovec *iovp, int iovcnt); } | |
257 | 146 NOARGS { ssize_t|sys||writev(int fd, \ | 257 | 146 NOARGS { ssize_t|sys||writev(int fd, \ | |
258 | const struct iovec *iovp, int iovcnt); } | 258 | const struct iovec *iovp, int iovcnt); } | |
259 | 147 NOARGS { pid_t|sys||getsid(pid_t pid); } | 259 | 147 NOARGS { pid_t|sys||getsid(pid_t pid); } | |
260 | 148 STD { int|linux_sys||fdatasync(int fd); } | 260 | 148 STD { int|linux_sys||fdatasync(int fd); } | |
261 | 149 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); } | 261 | 149 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); } | |
262 | 150 NOARGS { int|sys||mlock(void *addr, size_t len); } | 262 | 150 NOARGS { int|sys||mlock(void *addr, size_t len); } | |
263 | 151 NOARGS { int|sys||munlock(void *addr, size_t len); } | 263 | 151 NOARGS { int|sys||munlock(void *addr, size_t len); } | |
264 | 152 NOARGS { int|sys||mlockall(int flags); } | 264 | 152 NOARGS { int|sys||mlockall(int flags); } | |
265 | 153 NOARGS { int|sys||munlockall(void); } | 265 | 153 NOARGS { int|sys||munlockall(void); } | |
266 | 154 STD { int|linux_sys||sched_setparam(pid_t pid, \ | 266 | 154 STD { int|linux_sys||sched_setparam(pid_t pid, \ | |
267 | const struct linux_sched_param *sp); } | 267 | const struct linux_sched_param *sp); } | |
268 | 155 STD { int|linux_sys||sched_getparam(pid_t pid, \ | 268 | 155 STD { int|linux_sys||sched_getparam(pid_t pid, \ | |
269 | struct linux_sched_param *sp); } | 269 | struct linux_sched_param *sp); } | |
270 | 156 STD { int|linux_sys||sched_setscheduler(pid_t pid, \ | 270 | 156 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); } | |
272 | 157 STD { int|linux_sys||sched_getscheduler(pid_t pid); } | 272 | 157 STD { int|linux_sys||sched_getscheduler(pid_t pid); } | |
273 | 158 STD { int|linux_sys||sched_yield(void); } | 273 | 158 STD { int|linux_sys||sched_yield(void); } | |
274 | 159 STD { int|linux_sys||sched_get_priority_max(int policy); } | 274 | 159 STD { int|linux_sys||sched_get_priority_max(int policy); } | |
275 | 160 STD { int|linux_sys||sched_get_priority_min(int policy); } | 275 | 160 STD { int|linux_sys||sched_get_priority_min(int policy); } | |
276 | 161 UNIMPL sched_rr_get_interval | 276 | 161 UNIMPL sched_rr_get_interval | |
277 | 162 STD { int|linux_sys||nanosleep( \ | 277 | 162 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); } | |
280 | 163 STD { void *|linux_sys||mremap(void *old_address, \ | 280 | 163 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); } | |
282 | 164 STD { int|linux_sys||setresuid16(linux_uid16_t ruid, \ | 282 | 164 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); } | |
284 | 165 STD { int|linux_sys||getresuid16(linux_uid16_t *ruid, \ | 284 | 165 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); } | |
286 | 166 UNIMPL | 286 | 166 UNIMPL | |
287 | 167 UNIMPL query_module | 287 | 167 UNIMPL query_module | |
288 | 168 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ | 288 | 168 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ | |
289 | int timeout); } | 289 | int timeout); } | |
290 | 169 UNIMPL nfsservctl | 290 | 169 UNIMPL nfsservctl | |
291 | 170 STD { int|linux_sys||setresgid16(linux_gid16_t rgid, \ | 291 | 170 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); } | |
293 | 171 STD { int|linux_sys||getresgid16(linux_gid16_t *rgid, \ | 293 | 171 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); } | |
295 | 172 UNIMPL prctl | 295 | 172 UNIMPL prctl | |
296 | 173 UNIMPL rt_sigreturn | 296 | 173 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); } | |
299 | 174 STD { int|linux_sys||rt_sigaction(int signum, \ | 299 | 174 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); } | |
303 | 175 STD { int|linux_sys||rt_sigprocmask(int how, \ | 303 | 175 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); } | |
307 | 176 STD { int|linux_sys||rt_sigpending( \ | 307 | 176 STD { int|linux_sys||rt_sigpending( \ | |
308 | linux_sigset_t *set, \ | 308 | linux_sigset_t *set, \ | |
309 | size_t sigsetsize); } | 309 | size_t sigsetsize); } | |
310 | 177 STD { int|linux_sys||rt_sigtimedwait( \ | 310 | 177 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); } | |
314 | 178 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \ | 314 | 178 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \ | |
315 | linux_siginfo_t *uinfo); } | 315 | linux_siginfo_t *uinfo); } | |
316 | 179 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \ | 316 | 179 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \ | |
317 | size_t sigsetsize); } | 317 | size_t sigsetsize); } | |
318 | 180 STD { int|linux_sys||pread(int fd, char *buf, \ | 318 | 180 STD { int|linux_sys||pread(int fd, char *buf, \ | |
319 | size_t nbyte, off_t offset); } | 319 | size_t nbyte, off_t offset); } | |
320 | 181 STD { int|linux_sys||pwrite(int fd, char *buf, \ | 320 | 181 STD { int|linux_sys||pwrite(int fd, char *buf, \ | |
321 | size_t nbyte, off_t offset); } | 321 | size_t nbyte, off_t offset); } | |
322 | 182 STD { int|linux_sys||chown16(const char *path, \ | 322 | 182 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); } | |
324 | 183 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } | 324 | 183 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } | |
325 | 184 UNIMPL capget | 325 | 184 UNIMPL capget | |
326 | 185 UNIMPL capset | 326 | 185 UNIMPL capset | |
327 | 186 STD { int|linux_sys||sigaltstack( \ | 327 | 186 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); } | |
330 | 187 UNIMPL sendfile | 330 | 187 UNIMPL sendfile | |
331 | 188 UNIMPL getpmsg | 331 | 188 UNIMPL getpmsg | |
332 | 189 UNIMPL putpmsg | 332 | 189 UNIMPL putpmsg | |
333 | 190 NOARGS vfork { int|sys|14|vfork(void); } | 333 | 190 NOARGS vfork { int|sys|14|vfork(void); } | |
334 | 191 STD { int|linux_sys||ugetrlimit(int which, \ | 334 | 191 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 | |
337 | 192 NOARGS { linux_off_t|linux_sys||mmap2(unsigned long addr, \ | 337 | 192 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); } | |
340 | 193 STD { int|linux_sys||truncate64(const char *path, \ | 340 | 193 STD { int|linux_sys||truncate64(const char *path, \ | |
341 | off_t length); } | 341 | off_t length); } | |
342 | 194 STD { int|linux_sys||ftruncate64(unsigned int fd, \ | 342 | 194 STD { int|linux_sys||ftruncate64(unsigned int fd, \ | |
343 | off_t length); } | 343 | off_t length); } | |
344 | 195 STD { int|linux_sys||stat64(const char *path, \ | 344 | 195 STD { int|linux_sys||stat64(const char *path, \ | |
345 | struct linux_stat64 *sp); } | 345 | struct linux_stat64 *sp); } | |
346 | 196 STD { int|linux_sys||lstat64(const char *path, \ | 346 | 196 STD { int|linux_sys||lstat64(const char *path, \ | |
347 | struct linux_stat64 *sp); } | 347 | struct linux_stat64 *sp); } | |
348 | 197 STD { int|linux_sys||fstat64(int fd, \ | 348 | 197 STD { int|linux_sys||fstat64(int fd, \ | |
349 | struct linux_stat64 *sp); } | 349 | struct linux_stat64 *sp); } | |
350 | 198 NOARGS { int|sys||__posix_lchown(const char *path, uid_t uid, \ | 350 | 198 NOARGS { int|sys||__posix_lchown(const char *path, uid_t uid, \ | |
351 | gid_t gid); } | 351 | gid_t gid); } | |
352 | 199 NOARGS getuid32 { uid_t|sys||getuid(void); } | 352 | 199 NOARGS getuid32 { uid_t|sys||getuid(void); } | |
353 | 200 NOARGS getgid32 { gid_t|sys||getgid(void); } | 353 | 200 NOARGS getgid32 { gid_t|sys||getgid(void); } | |
354 | 201 NOARGS geteuid32 { uid_t|sys||geteuid(void); } | 354 | 201 NOARGS geteuid32 { uid_t|sys||geteuid(void); } | |
355 | 202 NOARGS getegid32 { gid_t|sys||getegid(void); } | 355 | 202 NOARGS getegid32 { gid_t|sys||getegid(void); } | |
356 | 203 NOARGS setreuid32 { int|sys||setreuid(uid_t ruid, \ | 356 | 203 NOARGS setreuid32 { int|sys||setreuid(uid_t ruid, \ | |
357 | uid_t euid); } | 357 | uid_t euid); } | |
358 | 204 NOARGS setregid32 { int|sys||setregid(gid_t rgid, \ | 358 | 204 NOARGS setregid32 { int|sys||setregid(gid_t rgid, \ | |
359 | gid_t egid); } | 359 | gid_t egid); } | |
360 | 205 NOARGS getgroups32 { int|sys||getgroups(int gidsetsize, \ | 360 | 205 NOARGS getgroups32 { int|sys||getgroups(int gidsetsize, \ | |
361 | gid_t *gidset); } | 361 | gid_t *gidset); } | |
362 | 206 NOARGS setgroups32 { int|sys||setgroups(int gidsetsize, \ | 362 | 206 NOARGS setgroups32 { int|sys||setgroups(int gidsetsize, \ | |
363 | gid_t *gidset); } | 363 | gid_t *gidset); } | |
364 | 207 NOARGS fchown32 { int|sys||__posix_fchown(int fd, uid_t uid, \ | 364 | 207 NOARGS fchown32 { int|sys||__posix_fchown(int fd, uid_t uid, \ | |
365 | gid_t gid); } | 365 | gid_t gid); } | |
366 | 208 STD setresuid32 { int|linux_sys||setresuid(uid_t ruid, \ | 366 | 208 STD setresuid32 { int|linux_sys||setresuid(uid_t ruid, \ | |
367 | uid_t euid, uid_t suid); } | 367 | uid_t euid, uid_t suid); } | |
368 | 209 STD getresuid32 { int|linux_sys||getresuid(uid_t *ruid, \ | 368 | 209 STD getresuid32 { int|linux_sys||getresuid(uid_t *ruid, \ | |
369 | uid_t *euid, uid_t *suid); } | 369 | uid_t *euid, uid_t *suid); } | |
370 | 210 STD setresgid32 { int|linux_sys||setresgid(gid_t rgid, \ | 370 | 210 STD setresgid32 { int|linux_sys||setresgid(gid_t rgid, \ | |
371 | gid_t egid, gid_t sgid); } | 371 | gid_t egid, gid_t sgid); } | |
372 | 211 STD getresgid32 { int|linux_sys||getresgid(gid_t *rgid, \ | 372 | 211 STD getresgid32 { int|linux_sys||getresgid(gid_t *rgid, \ | |
373 | gid_t *egid, gid_t *sgid); } | 373 | gid_t *egid, gid_t *sgid); } | |
374 | 212 NOARGS chown32 { int|sys||__posix_chown(const char *path, \ | 374 | 212 NOARGS chown32 { int|sys||__posix_chown(const char *path, \ | |
375 | uid_t uid, gid_t gid); } | 375 | uid_t uid, gid_t gid); } | |
376 | 213 NOARGS setuid32 { int|sys||setuid(uid_t uid); } | 376 | 213 NOARGS setuid32 { int|sys||setuid(uid_t uid); } | |
377 | 214 NOARGS setgid32 { int|sys||setgid(gid_t gid); } | 377 | 214 NOARGS setgid32 { int|sys||setgid(gid_t gid); } | |
378 | 215 NOARGS setfsuid32 { int|linux_sys||setfsuid(uid_t uid); } | 378 | 215 NOARGS setfsuid32 { int|linux_sys||setfsuid(uid_t uid); } | |
379 | 216 NOARGS setfsgid32 { int|linux_sys||setfsgid(gid_t gid); } | 379 | 216 NOARGS setfsgid32 { int|linux_sys||setfsgid(gid_t gid); } | |
380 | 217 STD { int|linux_sys||getdents64(int fd, \ | 380 | 217 STD { int|linux_sys||getdents64(int fd, \ | |
381 | struct linux_dirent64 *dent, unsigned int count); } | 381 | struct linux_dirent64 *dent, unsigned int count); } | |
382 | 218 UNIMPL pivot_root | 382 | 218 UNIMPL pivot_root | |
383 | 219 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } | 383 | 219 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } | |
384 | 220 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); } | 384 | 220 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); } | |
385 | 221 STD { int|linux_sys||fcntl64(int fd, int cmd, void *arg); } | 385 | 221 STD { int|linux_sys||fcntl64(int fd, int cmd, void *arg); } | |
386 | 222 UNIMPL /* for tux */ | 386 | 222 UNIMPL /* for tux */ | |
387 | 223 UNIMPL /* unused */ | 387 | 223 UNIMPL /* unused */ | |
388 | 224 NOARGS { pid_t|linux_sys||gettid(void); } | 388 | 224 NOARGS { pid_t|linux_sys||gettid(void); } | |
389 | 225 UNIMPL readahead | 389 | 225 UNIMPL readahead | |
390 | 226 STD { int|linux_sys||setxattr(char *path, char *name, \ | 390 | 226 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); } | |
392 | 227 STD { int|linux_sys||lsetxattr(char *path, char *name, \ | 392 | 227 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); } | |
394 | 228 STD { int|linux_sys||fsetxattr(int fd, char *name, \ | 394 | 228 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); } | |
396 | 229 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \ | 396 | 229 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \ | |
397 | void *value, size_t size); } | 397 | void *value, size_t size); } | |
398 | 230 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \ | 398 | 230 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \ | |
399 | void *value, size_t size); } | 399 | void *value, size_t size); } | |
400 | 231 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \ | 400 | 231 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \ | |
401 | void *value, size_t size); } | 401 | void *value, size_t size); } | |
402 | 232 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \ | 402 | 232 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \ | |
403 | size_t size); } | 403 | size_t size); } | |
404 | 233 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \ | 404 | 233 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \ | |
405 | size_t size); } | 405 | size_t size); } | |
406 | 234 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \ | 406 | 234 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \ | |
407 | size_t size); } | 407 | size_t size); } | |
408 | 235 STD { int|linux_sys||removexattr(char *path, char *name); } | 408 | 235 STD { int|linux_sys||removexattr(char *path, char *name); } | |
409 | 236 STD { int|linux_sys||lremovexattr(char *path, char *name); } | 409 | 236 STD { int|linux_sys||lremovexattr(char *path, char *name); } | |
410 | 237 STD { int|linux_sys||fremovexattr(int fd, char *name); } | 410 | 237 STD { int|linux_sys||fremovexattr(int fd, char *name); } | |
411 | 238 STD { int|linux_sys||tkill(int tid, int sig); } | 411 | 238 STD { int|linux_sys||tkill(int tid, int sig); } | |
412 | 239 UNIMPL sendfile64 | 412 | 239 UNIMPL sendfile64 | |
413 | 240 STD { int|linux_sys||futex(int *uaddr, int op, int val, \ | 413 | 240 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); } | |
416 | 241 STD { int|linux_sys||sched_setaffinity(pid_t pid, \ | 416 | 241 STD { int|linux_sys||sched_setaffinity(pid_t pid, \ | |
417 | unsigned int len, unsigned long *mask); } | 417 | unsigned int len, unsigned long *mask); } | |
418 | 242 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ | 418 | 242 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ | |
419 | unsigned int len, unsigned long *mask); } | 419 | unsigned int len, unsigned long *mask); } | |
420 | 243 UNIMPL io_setup | 420 | 243 UNIMPL io_setup | |
421 | 244 UNIMPL io_destroy | 421 | 244 UNIMPL io_destroy | |
422 | 245 UNIMPL io_getevents | 422 | 245 UNIMPL io_getevents | |
423 | 246 UNIMPL io_submit | 423 | 246 UNIMPL io_submit | |
424 | 247 UNIMPL io_cancel | 424 | 247 UNIMPL io_cancel | |
425 | 248 STD { int|linux_sys||exit_group(int error_code); } | 425 | 248 STD { int|linux_sys||exit_group(int error_code); } | |
426 | 249 UNIMPL lookup_dcookie | 426 | 249 UNIMPL lookup_dcookie | |
427 | 250 UNIMPL epoll_create | 427 | 250 STD { int|linux_sys||epoll_create(int size); } | |
428 | 251 UNIMPL epoll_ctl | 428 | 251 STD { int|linux_sys||epoll_ctl(int epfd, int op, int fd, \ | |
429 | 252 UNIMPL epoll_wait | 429 | struct linux_epoll_event *event); } | |
430 | 252 STD { int|linux_sys||epoll_wait(int epfd, \ | |||
431 | struct linux_epoll_event *events, int maxevents, \ | |||
432 | int timeout); } | |||
430 | 253 UNIMPL remap_file_pages | 433 | 253 UNIMPL remap_file_pages | |
431 | 254 UNIMPL set_thread_area | 434 | 254 UNIMPL set_thread_area | |
432 | 255 UNIMPL get_thread_area | 435 | 255 UNIMPL get_thread_area | |
433 | 256 STD { int|linux_sys||set_tid_address(int *tid); } | 436 | 256 STD { int|linux_sys||set_tid_address(int *tid); } | |
434 | 257 STD { int|linux_sys||timer_create(clockid_t clockid, \ | 437 | 257 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); } | |
436 | 258 STD { int|linux_sys||timer_settime(timer_t timerid, \ | 439 | 258 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); } | |
439 | 259 STD { int|linux_sys||timer_gettime(timer_t timerid, \ | 442 | 259 STD { int|linux_sys||timer_gettime(timer_t timerid, \ | |
440 | struct linux_itimerspec *tim); } | 443 | struct linux_itimerspec *tim); } | |
441 | 260 NOARGS { int|sys||timer_getoverrun(timer_t timerid); } | 444 | 260 NOARGS { int|sys||timer_getoverrun(timer_t timerid); } | |
442 | 261 NOARGS { int|sys||timer_delete(timer_t timerid); } | 445 | 261 NOARGS { int|sys||timer_delete(timer_t timerid); } | |
443 | 262 STD { int|linux_sys||clock_settime(clockid_t which, \ | 446 | 262 STD { int|linux_sys||clock_settime(clockid_t which, \ | |
444 | struct linux_timespec *tp); } | 447 | struct linux_timespec *tp); } | |
445 | 263 STD { int|linux_sys||clock_gettime(clockid_t which, \ | 448 | 263 STD { int|linux_sys||clock_gettime(clockid_t which, \ | |
446 | struct linux_timespec *tp); } | 449 | struct linux_timespec *tp); } | |
447 | 264 STD { int|linux_sys||clock_getres(clockid_t which, \ | 450 | 264 STD { int|linux_sys||clock_getres(clockid_t which, \ | |
448 | struct linux_timespec *tp); } | 451 | struct linux_timespec *tp); } | |
449 | 265 STD { int|linux_sys||clock_nanosleep(clockid_t which, \ | 452 | 265 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); } | |
452 | 266 STD { int|linux_sys||statfs64(const char *path, \ | 455 | 266 STD { int|linux_sys||statfs64(const char *path, \ | |
453 | size_t sz, struct linux_statfs64 *sp); } | 456 | size_t sz, struct linux_statfs64 *sp); } | |
454 | 267 STD { int|linux_sys||fstatfs64(int fd, \ | 457 | 267 STD { int|linux_sys||fstatfs64(int fd, \ | |
455 | size_t sz, struct linux_statfs64 *sp); } | 458 | size_t sz, struct linux_statfs64 *sp); } | |
456 | 268 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); } | 459 | 268 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); } | |
457 | 269 NOARGS { int|compat_50_sys||utimes(const char *path, \ | 460 | 269 NOARGS { int|compat_50_sys||utimes(const char *path, \ | |
458 | const struct timeval50 *tptr); } | 461 | const struct timeval50 *tptr); } | |
459 | 270 STD { int|linux_sys||fadvise64_64(int fd, off_t offset, \ | 462 | 270 STD { int|linux_sys||fadvise64_64(int fd, off_t offset, \ | |
460 | off_t len, int advice); } | 463 | off_t len, int advice); } | |
461 | 271 UNIMPL pciconfig_iobase | 464 | 271 UNIMPL pciconfig_iobase | |
462 | 272 UNIMPL pciconfig_read | 465 | 272 UNIMPL pciconfig_read | |
463 | 273 UNIMPL pciconfig_write | 466 | 273 UNIMPL pciconfig_write | |
464 | 274 UNIMPL mq_open | 467 | 274 UNIMPL mq_open | |
465 | 275 UNIMPL mq_unlink | 468 | 275 UNIMPL mq_unlink | |
466 | 276 UNIMPL mq_timedsend | 469 | 276 UNIMPL mq_timedsend | |
467 | 277 UNIMPL mq_timedreceive | 470 | 277 UNIMPL mq_timedreceive | |
468 | 278 UNIMPL mq_notify | 471 | 278 UNIMPL mq_notify | |
469 | 279 UNIMPL mq_getsetattr | 472 | 279 UNIMPL mq_getsetattr | |
470 | 280 UNIMPL waitid | 473 | 280 UNIMPL waitid | |
471 | 281 UNIMPL socket | 474 | 281 UNIMPL socket | |
472 | 282 UNIMPL bind | 475 | 282 UNIMPL bind | |
473 | 283 UNIMPL connect | 476 | 283 UNIMPL connect | |
474 | 284 UNIMPL listen | 477 | 284 UNIMPL listen | |
475 | 285 UNIMPL accept | 478 | 285 UNIMPL accept | |
476 | 286 UNIMPL getsockname | 479 | 286 UNIMPL getsockname | |
477 | 287 UNIMPL getpeername | 480 | 287 UNIMPL getpeername | |
478 | 288 UNIMPL socketpair | 481 | 288 UNIMPL socketpair | |
479 | 289 UNIMPL send | 482 | 289 UNIMPL send | |
480 | 290 UNIMPL sendto | 483 | 290 UNIMPL sendto | |
481 | 291 UNIMPL recv | 484 | 291 UNIMPL recv | |
482 | 292 UNIMPL recvfrom | 485 | 292 UNIMPL recvfrom | |
483 | 293 UNIMPL shutdown | 486 | 293 UNIMPL shutdown | |
484 | 294 UNIMPL setsockopt | 487 | 294 UNIMPL setsockopt | |
485 | 295 UNIMPL getsockopt | 488 | 295 UNIMPL getsockopt | |
486 | 296 UNIMPL sendmsg | 489 | 296 UNIMPL sendmsg | |
487 | 297 UNIMPL recvmsg | 490 | 297 UNIMPL recvmsg | |
488 | 298 UNIMPL semop | 491 | 298 UNIMPL semop | |
489 | 299 UNIMPL semget | 492 | 299 UNIMPL semget | |
490 | 300 UNIMPL semctl | 493 | 300 UNIMPL semctl | |
491 | 301 UNIMPL msgsnd | 494 | 301 UNIMPL msgsnd | |
492 | 302 UNIMPL msgrcv | 495 | 302 UNIMPL msgrcv | |
493 | 303 UNIMPL msgget | 496 | 303 UNIMPL msgget | |
494 | 304 UNIMPL msgctl | 497 | 304 UNIMPL msgctl | |
495 | 305 UNIMPL shmat | 498 | 305 UNIMPL shmat | |
496 | 306 UNIMPL shmdt | 499 | 306 UNIMPL shmdt | |
497 | 307 UNIMPL shmget | 500 | 307 UNIMPL shmget | |
498 | 308 UNIMPL shmctl | 501 | 308 UNIMPL shmctl | |
499 | 309 UNIMPL add_key | 502 | 309 UNIMPL add_key | |
500 | 310 UNIMPL request_key | 503 | 310 UNIMPL request_key | |
501 | 311 UNIMPL keyctl | 504 | 311 UNIMPL keyctl | |
502 | 312 UNIMPL semtimedop | 505 | 312 UNIMPL semtimedop | |
503 | 313 UNIMPL vserver | 506 | 313 UNIMPL vserver | |
504 | 314 UNIMPL ioptio_set | 507 | 314 UNIMPL ioptio_set | |
505 | 315 UNIMPL ioptio_get | 508 | 315 UNIMPL ioptio_get | |
506 | 316 UNIMPL inotify_init | 509 | 316 UNIMPL inotify_init | |
507 | 317 UNIMPL inotify_add_watch | 510 | 317 UNIMPL inotify_add_watch | |
508 | 318 UNIMPL inotify_rm_watch | 511 | 318 UNIMPL inotify_rm_watch | |
509 | 319 UNIMPL mbind | 512 | 319 UNIMPL mbind | |
510 | 320 UNIMPL get_mempolicy | 513 | 320 UNIMPL get_mempolicy | |
511 | 321 UNIMPL set_mempolicy | 514 | 321 UNIMPL set_mempolicy | |
512 | 322 STD { int|linux_sys||openat(int fd, const char *path, \ | 515 | 322 STD { int|linux_sys||openat(int fd, const char *path, \ | |
513 | int flags, ... linux_umode_t mode); } | 516 | int flags, ... linux_umode_t mode); } | |
514 | 323 NOARGS { int|sys||mkdirat(int fd, const char *path, \ | 517 | 323 NOARGS { int|sys||mkdirat(int fd, const char *path, \ | |
515 | linux_umode_t mode); } | 518 | linux_umode_t mode); } | |
516 | 324 STD { int|linux_sys||mknodat(int fd, const char *path, \ | 519 | 324 STD { int|linux_sys||mknodat(int fd, const char *path, \ | |
517 | linux_umode_t mode, unsigned dev); } | 520 | linux_umode_t mode, unsigned dev); } | |
518 | 325 STD { int|linux_sys||fchownat(int fd, const char *path, \ | 521 | 325 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); } | |
520 | 326 UNIMPL futimesat | 523 | 326 UNIMPL futimesat | |
521 | 327 STD { int|linux_sys||fstatat64(int fd, const char *path, \ | 524 | 327 STD { int|linux_sys||fstatat64(int fd, const char *path, \ | |
522 | struct linux_stat64 *sp, int flag); } | 525 | struct linux_stat64 *sp, int flag); } | |
523 | 328 STD { int|linux_sys||unlinkat(int fd, const char *path, \ | 526 | 328 STD { int|linux_sys||unlinkat(int fd, const char *path, \ | |
524 | int flag); } | 527 | int flag); } | |
525 | 329 NOARGS { int|sys||renameat(int fromfd, const char *from, \ | 528 | 329 NOARGS { int|sys||renameat(int fromfd, const char *from, \ | |
526 | int tofd, const char *to); } | 529 | int tofd, const char *to); } | |
527 | 330 STD { int|linux_sys||linkat(int fd1, const char *name1, \ | 530 | 330 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); } | |
529 | 331 NOARGS { int|sys||symlinkat(const char *path1, int fd, \ | 532 | 331 NOARGS { int|sys||symlinkat(const char *path1, int fd, \ | |
530 | const char *path2); } | 533 | const char *path2); } | |
531 | 332 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \ | 534 | 332 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \ | |
532 | char *buf, size_t bufsize); } | 535 | char *buf, size_t bufsize); } | |
533 | 333 STD { int|linux_sys||fchmodat(int fd, const char *path, \ | 536 | 333 STD { int|linux_sys||fchmodat(int fd, const char *path, \ | |
534 | linux_umode_t mode); } | 537 | linux_umode_t mode); } | |
535 | 334 STD { int|linux_sys||faccessat(int fd, const char *path, \ | 538 | 334 STD { int|linux_sys||faccessat(int fd, const char *path, \ | |
536 | int amode); } | 539 | int amode); } | |
537 | 335 STD { int|linux_sys||pselect6(int nfds, fd_set *readfds, \ | 540 | 335 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); } | |
541 | 336 STD { int|linux_sys||ppoll(struct pollfd *fds, u_int nfds, \ | 544 | 336 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); } | |
544 | 337 UNIMPL unshare | 547 | 337 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 | ; | |
550 | 338 NOARGS { int|sys||__futex_set_robust_list(void *head, \ | 553 | 338 NOARGS { int|sys||__futex_set_robust_list(void *head, \ | |
551 | size_t len); } | 554 | size_t len); } | |
552 | 339 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ | 555 | 339 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ | |
553 | void **headp, size_t *lenp); } | 556 | void **headp, size_t *lenp); } | |
554 | 340 UNIMPL splice | 557 | 340 UNIMPL splice | |
555 | 341 UNIMPL sync_file_range2 | 558 | 341 UNIMPL sync_file_range2 | |
556 | 342 UNIMPL tee | 559 | 342 UNIMPL tee | |
557 | 343 UNIMPL vmsplice | 560 | 343 UNIMPL vmsplice | |
558 | 344 UNIMPL move_pages | 561 | 344 UNIMPL move_pages | |
559 | 345 UNIMPL getcpu | 562 | 345 UNIMPL getcpu | |
560 | 346 UNIMPL epoll_wait | 563 | 346 STD { int|linux_sys||epoll_pwait(int epfd, \ | |
564 | struct linux_epoll_event *events, int maxevents, \ | |||
565 | int timeout, const linux_sigset_t *sigmask); } | |||
561 | 347 UNIMPL kexec_load | 566 | 347 UNIMPL kexec_load | |
562 | 348 STD { int|linux_sys||utimensat(int fd, const char *path, \ | 567 | 348 STD { int|linux_sys||utimensat(int fd, const char *path, \ | |
563 | struct linux_timespec *times, int flag); } | 568 | struct linux_timespec *times, int flag); } | |
564 | 349 UNIMPL signalfd | 569 | 349 UNIMPL signalfd | |
565 | 350 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ | 570 | 350 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ | |
566 | int flags); } | 571 | int flags); } | |
567 | 351 STD { int|linux_sys||eventfd(unsigned int initval); } | 572 | 351 STD { int|linux_sys||eventfd(unsigned int initval); } | |
568 | 352 STD { int|linux_sys||fallocate(int fd, int mode, \ | 573 | 352 STD { int|linux_sys||fallocate(int fd, int mode, \ | |
569 | off_t offset, off_t len); } | 574 | off_t offset, off_t len); } | |
570 | 353 STD { int|linux_sys||timerfd_settime(int fd, int flags, \ | 575 | 353 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); } | |
573 | 354 STD { int|linux_sys||timerfd_gettime(int fd, \ | 578 | 354 STD { int|linux_sys||timerfd_gettime(int fd, \ | |
574 | struct linux_itimerspec *tim); } | 579 | struct linux_itimerspec *tim); } | |
575 | 355 UNIMPL signalfd4 | 580 | 355 UNIMPL signalfd4 | |
576 | 356 STD { int|linux_sys||eventfd2(unsigned int initval, \ | 581 | 356 STD { int|linux_sys||eventfd2(unsigned int initval, \ | |
577 | int flags); } | 582 | int flags); } | |
578 | 357 UNIMPL epoll_create1 | 583 | 357 STD { int|linux_sys||epoll_create1(int flags); } | |
579 | 358 STD { int|linux_sys||dup3(int from, int to, int flags); } | 584 | 358 STD { int|linux_sys||dup3(int from, int to, int flags); } | |
580 | 359 STD { int|linux_sys||pipe2(int *pfds, int flags); } | 585 | 359 STD { int|linux_sys||pipe2(int *pfds, int flags); } | |
581 | 360 UNIMPL inotify_init1 | 586 | 360 UNIMPL inotify_init1 | |
582 | 361 STD { int|linux_sys||preadv(int fd, \ | 587 | 361 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); } | |
585 | 362 STD { int|linux_sys||pwritev(int fd, \ | 590 | 362 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); } | |
588 | 363 UNIMPL rt_tgsigqueueinfo | 593 | 363 UNIMPL rt_tgsigqueueinfo | |
589 | 364 UNIMPL perf_counter_open | 594 | 364 UNIMPL perf_counter_open | |
590 | 365 STD { int|linux_sys||recvmmsg(int s, \ | 595 | 365 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); } | |
593 | 366 STD { int|linux_sys||accept4(int s, \ | 598 | 366 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); } | |
596 | 367 UNIMPL fanotify_init | 601 | 367 UNIMPL fanotify_init | |
597 | 368 UNIMPL fanotify_mark | 602 | 368 UNIMPL fanotify_mark | |
598 | 369 STD { int|linux_sys||prlimit64(pid_t pid, int which, \ | 603 | 369 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); } | |
600 | 370 UNIMPL name_to_handle_at | 605 | 370 UNIMPL name_to_handle_at | |
601 | 371 UNIMPL open_by_handle_at | 606 | 371 UNIMPL open_by_handle_at | |
602 | 372 UNIMPL clock_adjtime | 607 | 372 UNIMPL clock_adjtime | |
603 | 373 UNIMPL syncfs | 608 | 373 UNIMPL syncfs | |
604 | 374 STD { int|linux_sys||sendmmsg(int s, \ | 609 | 374 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); } | |
607 | 375 UNIMPL setns | 612 | 375 UNIMPL setns | |
608 | 376 UNIMPL process_vm_readv | 613 | 376 UNIMPL process_vm_readv | |
609 | 377 UNIMPL process_vm_writev | 614 | 377 UNIMPL process_vm_writev | |
610 | 378 UNIMPL kcmp | 615 | 378 UNIMPL kcmp | |
611 | 379 UNIMPL finit_module | 616 | 379 UNIMPL finit_module | |
612 | 380 UNIMPL sched_setattr | 617 | 380 UNIMPL sched_setattr | |
613 | 381 UNIMPL sched_getattr | 618 | 381 UNIMPL sched_getattr | |
614 | 382 UNIMPL renameat2 | 619 | 382 UNIMPL renameat2 | |
615 | 383 UNIMPL seccomp | 620 | 383 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 | |||
628 | 384 UNIMPL /* base */ | 633 | 384 UNIMPL /* base */ | |
629 | 385 STD { int|linux_sys||breakpoint(void); } | 634 | 385 STD { int|linux_sys||breakpoint(void); } | |
630 | 386 STD { int|linux_sys||cacheflush(uintptr_t from, \ | 635 | 386 STD { int|linux_sys||cacheflush(uintptr_t from, \ | |
631 | intptr_t to, int flags); } | 636 | intptr_t to, int flags); } | |
632 | 387 UNIMPL usr26 | 637 | 387 UNIMPL usr26 | |
633 | 388 UNIMPL usr32 | 638 | 388 UNIMPL usr32 | |
634 | 389 STD { int|linux_sys||set_tls(void *tls); } | 639 | 389 STD { int|linux_sys||set_tls(void *tls); } | |
640 | 390 UNIMPL | |||
641 | 391 UNIMPL | |||
642 | 392 UNIMPL | |||
643 | 393 UNIMPL | |||
644 | 394 UNIMPL | |||
645 | 395 UNIMPL | |||
646 | 396 UNIMPL | |||
647 | 397 UNIMPL | |||
648 | 398 UNIMPL | |||
649 | 399 UNIMPL | |||
650 | 400 UNIMPL | |||
651 | 401 UNIMPL | |||
652 | 402 UNIMPL | |||
653 | 403 UNIMPL | |||
654 | 404 UNIMPL | |||
655 | 405 UNIMPL | |||
656 | 406 UNIMPL | |||
657 | 407 UNIMPL | |||
658 | 408 UNIMPL | |||
659 | 409 UNIMPL | |||
660 | 410 UNIMPL | |||
661 | 411 UNIMPL | |||
662 | 412 UNIMPL | |||
663 | 413 UNIMPL | |||
664 | 414 UNIMPL | |||
665 | 415 UNIMPL | |||
666 | 416 UNIMPL | |||
667 | 417 UNIMPL | |||
668 | 418 UNIMPL | |||
669 | 419 UNIMPL | |||
670 | 420 UNIMPL | |||
671 | 421 UNIMPL | |||
672 | 422 UNIMPL | |||
673 | 423 UNIMPL | |||
674 | 424 UNIMPL | |||
675 | 425 UNIMPL | |||
676 | 426 UNIMPL | |||
677 | 427 UNIMPL | |||
678 | 428 UNIMPL | |||
679 | 429 UNIMPL | |||
680 | 430 UNIMPL | |||
681 | 431 UNIMPL | |||
682 | 432 UNIMPL | |||
683 | 433 UNIMPL | |||
684 | 434 UNIMPL | |||
685 | 435 UNIMPL | |||
686 | 436 UNIMPL | |||
687 | 437 UNIMPL | |||
688 | 438 UNIMPL | |||
689 | 439 UNIMPL | |||
690 | 440 UNIMPL | |||
691 | 441 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); } |
--- 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 | |||
55 | 0 NOARGS { int|linux_sys||nosys(void); } syscall | 55 | 0 NOARGS { int|linux_sys||nosys(void); } syscall | |
56 | 1 STD { int|linux_sys||exit(int rval); } | 56 | 1 STD { int|linux_sys||exit(int rval); } | |
57 | 2 NOARGS { int|sys||fork(void); } | 57 | 2 NOARGS { int|sys||fork(void); } | |
58 | 3 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } | 58 | 3 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } | |
59 | 4 NOARGS { ssize_t|sys||write(int fd, const void *buf, \ | 59 | 4 NOARGS { ssize_t|sys||write(int fd, const void *buf, \ | |
60 | size_t nbyte); } | 60 | size_t nbyte); } | |
61 | 5 STD { int|linux_sys||open(const char *path, int flags, \ | 61 | 5 STD { int|linux_sys||open(const char *path, int flags, \ | |
62 | linux_umode_t mode); } | 62 | linux_umode_t mode); } | |
63 | 6 NOARGS { int|sys||close(int fd); } | 63 | 6 NOARGS { int|sys||close(int fd); } | |
64 | 7 STD { int|linux_sys||waitpid(int pid, int *status, \ | 64 | 7 STD { int|linux_sys||waitpid(int pid, int *status, \ | |
65 | int options);} | 65 | int options);} | |
66 | 8 STD { int|linux_sys||creat(const char *path, linux_umode_t mode); } | 66 | 8 STD { int|linux_sys||creat(const char *path, linux_umode_t mode); } | |
67 | 9 NOARGS { int|sys||link(const char *path, const char *link); } | 67 | 9 NOARGS { int|sys||link(const char *path, const char *link); } | |
68 | 10 STD { int|linux_sys||unlink(const char *path); } | 68 | 10 STD { int|linux_sys||unlink(const char *path); } | |
69 | 11 NOARGS { int|sys||execve(const char *path, char **argp, \ | 69 | 11 NOARGS { int|sys||execve(const char *path, char **argp, \ | |
70 | char **envp); } | 70 | char **envp); } | |
71 | 12 NOARGS { int|sys||chdir(const char *path); } | 71 | 12 NOARGS { int|sys||chdir(const char *path); } | |
72 | 13 STD { int|linux_sys||time(linux_time_t *t); } | 72 | 13 STD { int|linux_sys||time(linux_time_t *t); } | |
73 | 14 STD { int|linux_sys||mknod(const char *path, linux_umode_t mode, \ | 73 | 14 STD { int|linux_sys||mknod(const char *path, linux_umode_t mode, \ | |
74 | unsigned dev); } | 74 | unsigned dev); } | |
75 | 15 NOARGS { int|sys||chmod(const char *path, linux_umode_t mode); } | 75 | 15 NOARGS { int|sys||chmod(const char *path, linux_umode_t mode); } | |
76 | 16 STD { int|linux_sys||lchown16(const char *path, \ | 76 | 16 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. | |
79 | 17 STD { int|linux_sys||break(char *nsize); } | 79 | 17 STD { int|linux_sys||break(char *nsize); } | |
80 | 18 OBSOL ostat | 80 | 18 OBSOL ostat | |
81 | 19 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ | 81 | 19 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ | |
82 | int whence); } | 82 | int whence); } | |
83 | 20 NOARGS { pid_t|sys||getpid(void); } | 83 | 20 NOARGS { pid_t|sys||getpid(void); } | |
84 | 21 UNIMPL mount | 84 | 21 UNIMPL mount | |
85 | 22 UNIMPL umount | 85 | 22 UNIMPL umount | |
86 | 23 NOARGS linux_setuid16 { int|sys||setuid(uid_t uid); } | 86 | 23 NOARGS linux_setuid16 { int|sys||setuid(uid_t uid); } | |
87 | 24 NOARGS linux_getuid16 { uid_t|sys||getuid(void); } | 87 | 24 NOARGS linux_getuid16 { uid_t|sys||getuid(void); } | |
88 | 25 STD { int|linux_sys||stime(linux_time_t *t); } | 88 | 25 STD { int|linux_sys||stime(linux_time_t *t); } | |
89 | 26 STD { int|linux_sys||ptrace(int request, int pid, \ | 89 | 26 STD { int|linux_sys||ptrace(int request, int pid, \ | |
90 | int addr, int data); } | 90 | int addr, int data); } | |
91 | 27 STD { int|linux_sys||alarm(unsigned int secs); } | 91 | 27 STD { int|linux_sys||alarm(unsigned int secs); } | |
92 | 28 OBSOL ofstat | 92 | 28 OBSOL ofstat | |
93 | 29 NOARGS { int|linux_sys||pause(void); } | 93 | 29 NOARGS { int|linux_sys||pause(void); } | |
94 | 30 STD { int|linux_sys||utime(const char *path, \ | 94 | 30 STD { int|linux_sys||utime(const char *path, \ | |
95 | struct linux_utimbuf *times); } | 95 | struct linux_utimbuf *times); } | |
96 | 31 OBSOL stty | 96 | 31 OBSOL stty | |
97 | 32 OBSOL gtty | 97 | 32 OBSOL gtty | |
98 | 33 NOARGS { int|sys||access(const char *path, int flags); } | 98 | 33 NOARGS { int|sys||access(const char *path, int flags); } | |
99 | 34 STD { int|linux_sys||nice(int incr); } | 99 | 34 STD { int|linux_sys||nice(int incr); } | |
100 | 35 OBSOL ftime | 100 | 35 OBSOL ftime | |
101 | 36 NOARGS { int|sys||sync(void); } | 101 | 36 NOARGS { int|sys||sync(void); } | |
102 | 37 STD { int|linux_sys||kill(int pid, int signum); } | 102 | 37 STD { int|linux_sys||kill(int pid, int signum); } | |
103 | 38 NOARGS { int|sys||__posix_rename(const char *from, \ | 103 | 38 NOARGS { int|sys||__posix_rename(const char *from, \ | |
104 | const char *to); } | 104 | const char *to); } | |
105 | 39 NOARGS { int|sys||mkdir(const char *path, linux_umode_t mode); } | 105 | 39 NOARGS { int|sys||mkdir(const char *path, linux_umode_t mode); } | |
106 | 40 NOARGS { int|sys||rmdir(const char *path); } | 106 | 40 NOARGS { int|sys||rmdir(const char *path); } | |
107 | 41 NOARGS { int|sys||dup(int fd); } | 107 | 41 NOARGS { int|sys||dup(int fd); } | |
108 | 42 STD { int|linux_sys||pipe(int *pfds); } | 108 | 42 STD { int|linux_sys||pipe(int *pfds); } | |
109 | 43 STD { int|linux_sys||times(struct times *tms); } | 109 | 43 STD { int|linux_sys||times(struct times *tms); } | |
110 | 44 OBSOL prof | 110 | 44 OBSOL prof | |
111 | 45 STD { int|linux_sys||brk(char *nsize); } | 111 | 45 STD { int|linux_sys||brk(char *nsize); } | |
112 | 46 NOARGS linux_setgid16 { int|sys||setgid(gid_t gid); } | 112 | 46 NOARGS linux_setgid16 { int|sys||setgid(gid_t gid); } | |
113 | 47 NOARGS linux_getgid16 { gid_t|sys||getgid(void); } | 113 | 47 NOARGS linux_getgid16 { gid_t|sys||getgid(void); } | |
114 | 48 STD { int|linux_sys||signal(int signum, \ | 114 | 48 STD { int|linux_sys||signal(int signum, \ | |
115 | linux_handler_t handler); } | 115 | linux_handler_t handler); } | |
116 | 49 NOARGS linux_geteuid16 { uid_t|sys||geteuid(void); } | 116 | 49 NOARGS linux_geteuid16 { uid_t|sys||geteuid(void); } | |
117 | 50 NOARGS linux_getegid16 { gid_t|sys||getegid(void); } | 117 | 50 NOARGS linux_getegid16 { gid_t|sys||getegid(void); } | |
118 | 51 NOARGS { int|sys||acct(char *path); } | 118 | 51 NOARGS { int|sys||acct(char *path); } | |
119 | 52 OBSOL phys | 119 | 52 OBSOL phys | |
120 | 53 OBSOL lock | 120 | 53 OBSOL lock | |
121 | 54 STD { int|linux_sys||ioctl(int fd, u_long com, \ | 121 | 54 STD { int|linux_sys||ioctl(int fd, u_long com, \ | |
122 | void *data); } | 122 | void *data); } | |
123 | 55 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); } | 123 | 55 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); } | |
124 | 56 OBSOL mpx | 124 | 56 OBSOL mpx | |
125 | 57 NOARGS { int|sys||setpgid(int pid, int pgid); } | 125 | 57 NOARGS { int|sys||setpgid(int pid, int pgid); } | |
126 | 58 OBSOL ulimit | 126 | 58 OBSOL ulimit | |
127 | 59 STD { int|linux_sys||oldolduname( \ | 127 | 59 STD { int|linux_sys||oldolduname( \ | |
128 | struct linux_oldold_utsname *up); } | 128 | struct linux_oldold_utsname *up); } | |
129 | 60 NOARGS { int|sys||umask(int newmask); } | 129 | 60 NOARGS { int|sys||umask(int newmask); } | |
130 | 61 NOARGS { int|sys||chroot(char *path); } | 130 | 61 NOARGS { int|sys||chroot(char *path); } | |
131 | 62 UNIMPL ustat | 131 | 62 UNIMPL ustat | |
132 | 63 NOARGS { int|sys||dup2(int from, int to); } | 132 | 63 NOARGS { int|sys||dup2(int from, int to); } | |
133 | 64 NOARGS { pid_t|sys||getppid(void); } | 133 | 64 NOARGS { pid_t|sys||getppid(void); } | |
134 | 65 NOARGS { int|sys||getpgrp(void); } | 134 | 65 NOARGS { int|sys||getpgrp(void); } | |
135 | 66 NOARGS { int|sys||setsid(void); } | 135 | 66 NOARGS { int|sys||setsid(void); } | |
136 | 67 STD { int|linux_sys||sigaction(int signum, \ | 136 | 67 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); } | |
139 | 68 NOARGS { int|linux_sys||siggetmask(void); } | 139 | 68 NOARGS { int|linux_sys||siggetmask(void); } | |
140 | 69 STD { int|linux_sys||sigsetmask(linux_old_sigset_t mask); } | 140 | 69 STD { int|linux_sys||sigsetmask(linux_old_sigset_t mask); } | |
141 | 70 STD { int|linux_sys||setreuid16(linux_uid16_t ruid, \ | 141 | 70 STD { int|linux_sys||setreuid16(linux_uid16_t ruid, \ | |
142 | linux_uid16_t euid); } | 142 | linux_uid16_t euid); } | |
143 | 71 STD { int|linux_sys||setregid16(linux_gid16_t rgid, \ | 143 | 71 STD { int|linux_sys||setregid16(linux_gid16_t rgid, \ | |
144 | linux_gid16_t egid); } | 144 | linux_gid16_t egid); } | |
145 | 72 STD { int|linux_sys||sigsuspend(void *restart, \ | 145 | 72 STD { int|linux_sys||sigsuspend(void *restart, \ | |
146 | int oldmask, int mask); } | 146 | int oldmask, int mask); } | |
147 | 73 STD { int|linux_sys||sigpending(linux_old_sigset_t *set); } | 147 | 73 STD { int|linux_sys||sigpending(linux_old_sigset_t *set); } | |
148 | 74 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ | 148 | 74 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ | |
149 | u_int len);} | 149 | u_int len);} | |
150 | 75 STD { int|linux_sys||setrlimit(u_int which, \ | 150 | 75 STD { int|linux_sys||setrlimit(u_int which, \ | |
151 | struct orlimit *rlp); } | 151 | struct orlimit *rlp); } | |
152 | 76 STD { int|linux_sys||getrlimit(u_int which, \ | 152 | 76 STD { int|linux_sys||getrlimit(u_int which, \ | |
153 | struct orlimit *rlp); } | 153 | struct orlimit *rlp); } | |
154 | 77 NOARGS { int|compat_50_sys||getrusage(int who, \ | 154 | 77 NOARGS { int|compat_50_sys||getrusage(int who, \ | |
155 | struct rusage50 *rusage); } | 155 | struct rusage50 *rusage); } | |
156 | 78 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \ | 156 | 78 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \ | |
157 | struct timezone *tzp); } | 157 | struct timezone *tzp); } | |
158 | 79 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \ | 158 | 79 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \ | |
159 | struct timezone *tzp); } | 159 | struct timezone *tzp); } | |
160 | 80 STD { int|linux_sys||getgroups16(int gidsetsize, \ | 160 | 80 STD { int|linux_sys||getgroups16(int gidsetsize, \ | |
161 | linux_gid16_t *gidset); } | 161 | linux_gid16_t *gidset); } | |
162 | 81 STD { int|linux_sys||setgroups16(int gidsetsize, \ | 162 | 81 STD { int|linux_sys||setgroups16(int gidsetsize, \ | |
163 | linux_gid16_t *gidset); } | 163 | linux_gid16_t *gidset); } | |
164 | 82 STD { int|linux_sys||oldselect(struct linux_oldselect *lsp); } | 164 | 82 STD { int|linux_sys||oldselect(struct linux_oldselect *lsp); } | |
165 | 83 NOARGS { int|sys||symlink(const char *path, const char *link); } | 165 | 83 NOARGS { int|sys||symlink(const char *path, const char *link); } | |
166 | 84 NOARGS { int|compat_43_sys||lstat(const char *path, \ | 166 | 84 NOARGS { int|compat_43_sys||lstat(const char *path, \ | |
167 | struct stat43 *ub); } oolstat | 167 | struct stat43 *ub); } oolstat | |
168 | 85 NOARGS { ssize_t|sys||readlink(const char *path, char *buf, \ | 168 | 85 NOARGS { ssize_t|sys||readlink(const char *path, char *buf, \ | |
169 | int count); } | 169 | int count); } | |
170 | #ifdef EXEC_AOUT | 170 | #ifdef EXEC_AOUT | |
171 | 86 STD { int|linux_sys||uselib(const char *path); } | 171 | 86 STD { int|linux_sys||uselib(const char *path); } | |
172 | #else | 172 | #else | |
173 | 86 UNIMPL sys_uselib | 173 | 86 UNIMPL sys_uselib | |
174 | #endif | 174 | #endif | |
175 | 87 STD { int|linux_sys||swapon(char *name); } | 175 | 87 STD { int|linux_sys||swapon(char *name); } | |
176 | 88 STD { int|linux_sys||reboot(int magic1, int magic2, \ | 176 | 88 STD { int|linux_sys||reboot(int magic1, int magic2, \ | |
177 | int cmd, void *arg); } | 177 | int cmd, void *arg); } | |
178 | 89 STD { int|linux_sys||readdir(int fd, void *dent, \ | 178 | 89 STD { int|linux_sys||readdir(int fd, void *dent, \ | |
179 | unsigned int count); } | 179 | unsigned int count); } | |
180 | 90 STD { int|linux_sys||old_mmap(struct linux_oldmmap *lmp); } | 180 | 90 STD { int|linux_sys||old_mmap(struct linux_oldmmap *lmp); } | |
181 | 91 NOARGS { int|sys||munmap(void *addr, size_t len); } | 181 | 91 NOARGS { int|sys||munmap(void *addr, size_t len); } | |
182 | 92 NOARGS { int|compat_43_sys||truncate(const char *path, \ | 182 | 92 NOARGS { int|compat_43_sys||truncate(const char *path, \ | |
183 | long length); } | 183 | long length); } | |
184 | 93 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } | 184 | 93 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } | |
185 | 94 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); } | 185 | 94 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); } | |
186 | 95 STD { int|linux_sys||fchown16(int fd, linux_uid16_t uid, \ | 186 | 95 STD { int|linux_sys||fchown16(int fd, linux_uid16_t uid, \ | |
187 | linux_gid16_t gid); } | 187 | linux_gid16_t gid); } | |
188 | 96 STD { int|linux_sys||getpriority(int which, int who); } | 188 | 96 STD { int|linux_sys||getpriority(int which, int who); } | |
189 | 97 NOARGS { int|sys||setpriority(int which, int who, int prio); } | 189 | 97 NOARGS { int|sys||setpriority(int which, int who, int prio); } | |
190 | 98 NOARGS { int|sys||profil(void *samples, u_int size, \ | 190 | 98 NOARGS { int|sys||profil(void *samples, u_int size, \ | |
191 | u_int offset, u_int scale); } | 191 | u_int offset, u_int scale); } | |
192 | 99 STD { int|linux_sys||statfs(const char *path, \ | 192 | 99 STD { int|linux_sys||statfs(const char *path, \ | |
193 | struct linux_statfs *sp); } | 193 | struct linux_statfs *sp); } | |
194 | 100 STD { int|linux_sys||fstatfs(int fd, \ | 194 | 100 STD { int|linux_sys||fstatfs(int fd, \ | |
195 | struct linux_statfs *sp); } | 195 | struct linux_statfs *sp); } | |
196 | 101 STD { int|linux_sys||ioperm(unsigned int lo, \ | 196 | 101 STD { int|linux_sys||ioperm(unsigned int lo, \ | |
197 | unsigned int hi, int val); } | 197 | unsigned int hi, int val); } | |
198 | 102 STD { int|linux_sys||socketcall(int what, void *args); } | 198 | 102 STD { int|linux_sys||socketcall(int what, void *args); } | |
199 | 103 UNIMPL syslog | 199 | 103 UNIMPL syslog | |
200 | 104 NOARGS { int|compat_50_sys||setitimer(int which, \ | 200 | 104 NOARGS { int|compat_50_sys||setitimer(int which, \ | |
201 | struct itimerval50 *itv, struct itimerval50 *oitv); } | 201 | struct itimerval50 *itv, struct itimerval50 *oitv); } | |
202 | 105 NOARGS { int|compat_50_sys||getitimer(int which, \ | 202 | 105 NOARGS { int|compat_50_sys||getitimer(int which, \ | |
203 | struct itimerval50 *itv); } | 203 | struct itimerval50 *itv); } | |
204 | 106 STD { int|linux_sys||stat(const char *path, \ | 204 | 106 STD { int|linux_sys||stat(const char *path, \ | |
205 | struct linux_stat *sp); } | 205 | struct linux_stat *sp); } | |
206 | 107 STD { int|linux_sys||lstat(const char *path, \ | 206 | 107 STD { int|linux_sys||lstat(const char *path, \ | |
207 | struct linux_stat *sp); } | 207 | struct linux_stat *sp); } | |
208 | 108 STD { int|linux_sys||fstat(int fd, struct linux_stat *sp); } | 208 | 108 STD { int|linux_sys||fstat(int fd, struct linux_stat *sp); } | |
209 | 109 STD { int|linux_sys||olduname(struct linux_old_utsname *up); } | 209 | 109 STD { int|linux_sys||olduname(struct linux_old_utsname *up); } | |
210 | 110 STD { int|linux_sys||iopl(int level); } | 210 | 110 STD { int|linux_sys||iopl(int level); } | |
211 | 111 UNIMPL vhangup | 211 | 111 UNIMPL vhangup | |
212 | 112 UNIMPL idle | 212 | 112 UNIMPL idle | |
213 | 113 UNIMPL vm86old | 213 | 113 UNIMPL vm86old | |
214 | 114 STD { int|linux_sys||wait4(int pid, int *status, \ | 214 | 114 STD { int|linux_sys||wait4(int pid, int *status, \ | |
215 | int options, struct rusage50 *rusage); } | 215 | int options, struct rusage50 *rusage); } | |
216 | 115 STD { int|linux_sys||swapoff(const char *path); } | 216 | 115 STD { int|linux_sys||swapoff(const char *path); } | |
217 | 116 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); } | 217 | 116 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); } | |
218 | 117 STD { int|linux_sys||ipc(int what, int a1, int a2, int a3, \ | 218 | 117 STD { int|linux_sys||ipc(int what, int a1, int a2, int a3, \ | |
219 | void *ptr); } | 219 | void *ptr); } | |
220 | 118 NOARGS { int|sys||fsync(int fd); } | 220 | 118 NOARGS { int|sys||fsync(int fd); } | |
221 | 119 STD { int|linux_sys||sigreturn(struct linux_sigcontext *scp); } | 221 | 119 STD { int|linux_sys||sigreturn(struct linux_sigcontext *scp); } | |
222 | 120 STD { int|linux_sys||clone(int flags, void *stack, \ | 222 | 120 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); } | |
224 | 121 STD { int|linux_sys||setdomainname(char *domainname, \ | 224 | 121 STD { int|linux_sys||setdomainname(char *domainname, \ | |
225 | int len); } | 225 | int len); } | |
226 | 122 STD { int|linux_sys||uname(struct linux_utsname *up); } | 226 | 122 STD { int|linux_sys||uname(struct linux_utsname *up); } | |
227 | 123 STD { int|linux_sys||modify_ldt(int func, void *ptr, \ | 227 | 123 STD { int|linux_sys||modify_ldt(int func, void *ptr, \ | |
228 | size_t bytecount); } | 228 | size_t bytecount); } | |
229 | 124 UNIMPL adjtimex | 229 | 124 UNIMPL adjtimex | |
230 | 125 STD { int|linux_sys||mprotect(const void *start, \ | 230 | 125 STD { int|linux_sys||mprotect(const void *start, \ | |
231 | unsigned long len, int prot); } | 231 | unsigned long len, int prot); } | |
232 | 126 STD { int|linux_sys||sigprocmask(int how, \ | 232 | 126 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); } | |
235 | 127 UNIMPL create_module | 235 | 127 UNIMPL create_module | |
236 | 128 UNIMPL init_module | 236 | 128 UNIMPL init_module | |
237 | 129 UNIMPL delete_module | 237 | 129 UNIMPL delete_module | |
238 | 130 UNIMPL get_kernel_syms | 238 | 130 UNIMPL get_kernel_syms | |
239 | 131 UNIMPL quotactl | 239 | 131 UNIMPL quotactl | |
240 | 132 NOARGS { pid_t|sys||getpgid(pid_t pid); } | 240 | 132 NOARGS { pid_t|sys||getpgid(pid_t pid); } | |
241 | 133 NOARGS { int|sys||fchdir(int fd); } | 241 | 133 NOARGS { int|sys||fchdir(int fd); } | |
242 | 134 UNIMPL bdflush | 242 | 134 UNIMPL bdflush | |
243 | 135 UNIMPL sysfs | 243 | 135 UNIMPL sysfs | |
244 | 136 STD { int|linux_sys||personality(unsigned long per); } | 244 | 136 STD { int|linux_sys||personality(unsigned long per); } | |
245 | 137 UNIMPL afs_syscall | 245 | 137 UNIMPL afs_syscall | |
246 | 138 NOARGS linux_setfsuid16 { int|linux_sys||setfsuid(uid_t uid); } | 246 | 138 NOARGS linux_setfsuid16 { int|linux_sys||setfsuid(uid_t uid); } | |
247 | 139 NOARGS linux_setfsgid16 { int|linux_sys||setfsgid(gid_t gid); } | 247 | 139 NOARGS linux_setfsgid16 { int|linux_sys||setfsgid(gid_t gid); } | |
248 | 140 STD { int|linux_sys||llseek(int fd, u_int32_t ohigh, \ | 248 | 140 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); } | |
250 | 141 STD { int|linux_sys||getdents(int fd, \ | 250 | 141 STD { int|linux_sys||getdents(int fd, \ | |
251 | struct linux_dirent *dent, unsigned int count); } | 251 | struct linux_dirent *dent, unsigned int count); } | |
252 | 142 STD { int|linux_sys||select(int nfds, fd_set *readfds, \ | 252 | 142 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); } | |
255 | 143 NOARGS { int|sys||flock(int fd, int how); } | 255 | 143 NOARGS { int|sys||flock(int fd, int how); } | |
256 | 144 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } | 256 | 144 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } | |
257 | 145 NOARGS { ssize_t|sys||readv(int fd, \ | 257 | 145 NOARGS { ssize_t|sys||readv(int fd, \ | |
258 | const struct iovec *iovp, int iovcnt); } | 258 | const struct iovec *iovp, int iovcnt); } | |
259 | 146 NOARGS { ssize_t|sys||writev(int fd, \ | 259 | 146 NOARGS { ssize_t|sys||writev(int fd, \ | |
260 | const struct iovec *iovp, int iovcnt); } | 260 | const struct iovec *iovp, int iovcnt); } | |
261 | 147 NOARGS { pid_t|sys||getsid(pid_t pid); } | 261 | 147 NOARGS { pid_t|sys||getsid(pid_t pid); } | |
262 | 148 STD { int|linux_sys||fdatasync(int fd); } | 262 | 148 STD { int|linux_sys||fdatasync(int fd); } | |
263 | 149 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); } | 263 | 149 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); } | |
264 | 150 NOARGS { int|sys||mlock(void *addr, size_t len); } | 264 | 150 NOARGS { int|sys||mlock(void *addr, size_t len); } | |
265 | 151 NOARGS { int|sys||munlock(void *addr, size_t len); } | 265 | 151 NOARGS { int|sys||munlock(void *addr, size_t len); } | |
266 | 152 NOARGS { int|sys||mlockall(int flags); } | 266 | 152 NOARGS { int|sys||mlockall(int flags); } | |
267 | 153 NOARGS { int|sys||munlockall(void); } | 267 | 153 NOARGS { int|sys||munlockall(void); } | |
268 | 154 STD { int|linux_sys||sched_setparam(pid_t pid, \ | 268 | 154 STD { int|linux_sys||sched_setparam(pid_t pid, \ | |
269 | const struct linux_sched_param *sp); } | 269 | const struct linux_sched_param *sp); } | |
270 | 155 STD { int|linux_sys||sched_getparam(pid_t pid, \ | 270 | 155 STD { int|linux_sys||sched_getparam(pid_t pid, \ | |
271 | struct linux_sched_param *sp); } | 271 | struct linux_sched_param *sp); } | |
272 | 156 STD { int|linux_sys||sched_setscheduler(pid_t pid, \ | 272 | 156 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); } | |
274 | 157 STD { int|linux_sys||sched_getscheduler(pid_t pid); } | 274 | 157 STD { int|linux_sys||sched_getscheduler(pid_t pid); } | |
275 | 158 STD { int|linux_sys||sched_yield(void); } | 275 | 158 STD { int|linux_sys||sched_yield(void); } | |
276 | 159 STD { int|linux_sys||sched_get_priority_max(int policy); } | 276 | 159 STD { int|linux_sys||sched_get_priority_max(int policy); } | |
277 | 160 STD { int|linux_sys||sched_get_priority_min(int policy); } | 277 | 160 STD { int|linux_sys||sched_get_priority_min(int policy); } | |
278 | 161 UNIMPL sys_sched_rr_get_interval | 278 | 161 UNIMPL sys_sched_rr_get_interval | |
279 | 162 STD { int|linux_sys||nanosleep( \ | 279 | 162 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); } | |
282 | 163 STD { void *|linux_sys||mremap(void *old_address, \ | 282 | 163 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); } | |
284 | 164 STD { int|linux_sys||setresuid16(linux_uid16_t ruid, \ | 284 | 164 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); } | |
286 | 165 STD { int|linux_sys||getresuid16(linux_uid16_t *ruid, \ | 286 | 165 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); } | |
288 | 166 UNIMPL vm86 | 288 | 166 UNIMPL vm86 | |
289 | 167 UNIMPL query_module | 289 | 167 UNIMPL query_module | |
290 | 168 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ | 290 | 168 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ | |
291 | int timeout); } | 291 | int timeout); } | |
292 | 169 UNIMPL nfsservctl | 292 | 169 UNIMPL nfsservctl | |
293 | 170 STD { int|linux_sys||setresgid16(linux_gid16_t rgid, \ | 293 | 170 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); } | |
295 | 171 STD { int|linux_sys||getresgid16(linux_gid16_t *rgid, \ | 295 | 171 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); } | |
297 | 172 UNIMPL prctl | 297 | 172 UNIMPL prctl | |
298 | 173 STD { int|linux_sys||rt_sigreturn( \ | 298 | 173 STD { int|linux_sys||rt_sigreturn( \ | |
299 | struct linux_ucontext *ucp); } | 299 | struct linux_ucontext *ucp); } | |
300 | 174 STD { int|linux_sys||rt_sigaction(int signum, \ | 300 | 174 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); } | |
304 | 175 STD { int|linux_sys||rt_sigprocmask(int how, \ | 304 | 175 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); } | |
308 | 176 STD { int|linux_sys||rt_sigpending( \ | 308 | 176 STD { int|linux_sys||rt_sigpending( \ | |
309 | linux_sigset_t *set, \ | 309 | linux_sigset_t *set, \ | |
310 | size_t sigsetsize); } | 310 | size_t sigsetsize); } | |
311 | 177 STD { int|linux_sys||rt_sigtimedwait( \ | 311 | 177 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); } | |
315 | 178 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \ | 315 | 178 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \ | |
316 | linux_siginfo_t *uinfo); } | 316 | linux_siginfo_t *uinfo); } | |
317 | 179 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \ | 317 | 179 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \ | |
318 | size_t sigsetsize); } | 318 | size_t sigsetsize); } | |
319 | 180 STD { int|linux_sys||pread(int fd, char *buf, \ | 319 | 180 STD { int|linux_sys||pread(int fd, char *buf, \ | |
320 | size_t nbyte, off_t offset); } | 320 | size_t nbyte, off_t offset); } | |
321 | 181 STD { int|linux_sys||pwrite(int fd, char *buf, \ | 321 | 181 STD { int|linux_sys||pwrite(int fd, char *buf, \ | |
322 | size_t nbyte, off_t offset); } | 322 | size_t nbyte, off_t offset); } | |
323 | 182 STD { int|linux_sys||chown16(const char *path, \ | 323 | 182 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); } | |
325 | 183 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } | 325 | 183 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } | |
326 | 184 UNIMPL capget | 326 | 184 UNIMPL capget | |
327 | 185 UNIMPL capset | 327 | 185 UNIMPL capset | |
328 | 186 STD { int|linux_sys||sigaltstack( \ | 328 | 186 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); } | |
331 | 187 UNIMPL sendfile | 331 | 187 UNIMPL sendfile | |
332 | 188 UNIMPL getpmsg | 332 | 188 UNIMPL getpmsg | |
333 | 189 UNIMPL putpmsg | 333 | 189 UNIMPL putpmsg | |
334 | 190 NOARGS { int|sys|14|vfork(void); } | 334 | 190 NOARGS { int|sys|14|vfork(void); } | |
335 | 191 STD { int|linux_sys||ugetrlimit(int which, \ | 335 | 191 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 | |
338 | 192 NOARGS { linux_off_t|linux_sys||mmap2(unsigned long addr, \ | 338 | 192 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); } | |
341 | 193 STD { int|linux_sys||truncate64(const char *path, \ | 341 | 193 STD { int|linux_sys||truncate64(const char *path, \ | |
342 | off_t length); } | 342 | off_t length); } | |
343 | 194 STD { int|linux_sys||ftruncate64(unsigned int fd, \ | 343 | 194 STD { int|linux_sys||ftruncate64(unsigned int fd, \ | |
344 | off_t length); } | 344 | off_t length); } | |
345 | 195 STD { int|linux_sys||stat64(const char *path, \ | 345 | 195 STD { int|linux_sys||stat64(const char *path, \ | |
346 | struct linux_stat64 *sp); } | 346 | struct linux_stat64 *sp); } | |
347 | 196 STD { int|linux_sys||lstat64(const char *path, \ | 347 | 196 STD { int|linux_sys||lstat64(const char *path, \ | |
348 | struct linux_stat64 *sp); } | 348 | struct linux_stat64 *sp); } | |
349 | 197 STD { int|linux_sys||fstat64(int fd, \ | 349 | 197 STD { int|linux_sys||fstat64(int fd, \ | |
350 | struct linux_stat64 *sp); } | 350 | struct linux_stat64 *sp); } | |
351 | 198 NOARGS { int|sys||__posix_lchown(const char *path, uid_t uid, \ | 351 | 198 NOARGS { int|sys||__posix_lchown(const char *path, uid_t uid, \ | |
352 | gid_t gid); } | 352 | gid_t gid); } | |
353 | 199 NOARGS { uid_t|sys||getuid(void); } | 353 | 199 NOARGS { uid_t|sys||getuid(void); } | |
354 | 200 NOARGS { gid_t|sys||getgid(void); } | 354 | 200 NOARGS { gid_t|sys||getgid(void); } | |
355 | 201 NOARGS { uid_t|sys||geteuid(void); } | 355 | 201 NOARGS { uid_t|sys||geteuid(void); } | |
356 | 202 NOARGS { gid_t|sys||getegid(void); } | 356 | 202 NOARGS { gid_t|sys||getegid(void); } | |
357 | 203 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); } | 357 | 203 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); } | |
358 | 204 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); } | 358 | 204 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); } | |
359 | 205 NOARGS { int|sys||getgroups(int gidsetsize, gid_t *gidset); } | 359 | 205 NOARGS { int|sys||getgroups(int gidsetsize, gid_t *gidset); } | |
360 | 206 NOARGS { int|sys||setgroups(int gidsetsize, gid_t *gidset); } | 360 | 206 NOARGS { int|sys||setgroups(int gidsetsize, gid_t *gidset); } | |
361 | 207 NOARGS { int|sys||__posix_fchown(int fd, uid_t uid, \ | 361 | 207 NOARGS { int|sys||__posix_fchown(int fd, uid_t uid, \ | |
362 | gid_t gid); } | 362 | gid_t gid); } | |
363 | 208 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \ | 363 | 208 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \ | |
364 | uid_t suid); } | 364 | uid_t suid); } | |
365 | 209 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \ | 365 | 209 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \ | |
366 | uid_t *suid); } | 366 | uid_t *suid); } | |
367 | 210 STD { int|linux_sys||setresgid(gid_t rgid, gid_t egid, \ | 367 | 210 STD { int|linux_sys||setresgid(gid_t rgid, gid_t egid, \ | |
368 | gid_t sgid); } | 368 | gid_t sgid); } | |
369 | 211 STD { int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \ | 369 | 211 STD { int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \ | |
370 | gid_t *sgid); } | 370 | gid_t *sgid); } | |
371 | 212 NOARGS { int|sys||__posix_chown(const char *path, uid_t uid, \ | 371 | 212 NOARGS { int|sys||__posix_chown(const char *path, uid_t uid, \ | |
372 | gid_t gid); } | 372 | gid_t gid); } | |
373 | 213 NOARGS { int|sys||setuid(uid_t uid); } | 373 | 213 NOARGS { int|sys||setuid(uid_t uid); } | |
374 | 214 NOARGS { int|sys||setgid(gid_t gid); } | 374 | 214 NOARGS { int|sys||setgid(gid_t gid); } | |
375 | 215 STD { int|linux_sys||setfsuid(uid_t uid); } | 375 | 215 STD { int|linux_sys||setfsuid(uid_t uid); } | |
376 | 216 STD { int|linux_sys||setfsgid(gid_t gid); } | 376 | 216 STD { int|linux_sys||setfsgid(gid_t gid); } | |
377 | 217 UNIMPL pivot_root | 377 | 217 UNIMPL pivot_root | |
378 | 218 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } | 378 | 218 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } | |
379 | 219 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); } | 379 | 219 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); } | |
380 | 220 STD { int|linux_sys||getdents64(int fd, \ | 380 | 220 STD { int|linux_sys||getdents64(int fd, \ | |
381 | struct linux_dirent64 *dent, unsigned int count); } | 381 | struct linux_dirent64 *dent, unsigned int count); } | |
382 | 221 STD { int|linux_sys||fcntl64(int fd, int cmd, void *arg); } | 382 | 221 STD { int|linux_sys||fcntl64(int fd, int cmd, void *arg); } | |
383 | 222 UNIMPL /* unused */ | 383 | 222 UNIMPL /* unused */ | |
384 | 223 UNIMPL /* unused */ | 384 | 223 UNIMPL /* unused */ | |
385 | 224 NOARGS { pid_t|linux_sys||gettid(void); } | 385 | 224 NOARGS { pid_t|linux_sys||gettid(void); } | |
386 | 225 UNIMPL readahead | 386 | 225 UNIMPL readahead | |
387 | 226 STD { int|linux_sys||setxattr(char *path, char *name, \ | 387 | 226 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); } | |
389 | 227 STD { int|linux_sys||lsetxattr(char *path, char *name, \ | 389 | 227 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); } | |
391 | 228 STD { int|linux_sys||fsetxattr(int fd, char *name, \ | 391 | 228 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); } | |
393 | 229 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \ | 393 | 229 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \ | |
394 | void *value, size_t size); } | 394 | void *value, size_t size); } | |
395 | 230 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \ | 395 | 230 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \ | |
396 | void *value, size_t size); } | 396 | void *value, size_t size); } | |
397 | 231 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \ | 397 | 231 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \ | |
398 | void *value, size_t size); } | 398 | void *value, size_t size); } | |
399 | 232 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \ | 399 | 232 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \ | |
400 | size_t size); } | 400 | size_t size); } | |
401 | 233 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \ | 401 | 233 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \ | |
402 | size_t size); } | 402 | size_t size); } | |
403 | 234 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \ | 403 | 234 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \ | |
404 | size_t size); } | 404 | size_t size); } | |
405 | 235 STD { int|linux_sys||removexattr(char *path, char *name); } | 405 | 235 STD { int|linux_sys||removexattr(char *path, char *name); } | |
406 | 236 STD { int|linux_sys||lremovexattr(char *path, char *name); } | 406 | 236 STD { int|linux_sys||lremovexattr(char *path, char *name); } | |
407 | 237 STD { int|linux_sys||fremovexattr(int fd, char *name); } | 407 | 237 STD { int|linux_sys||fremovexattr(int fd, char *name); } | |
408 | 238 STD { int|linux_sys||tkill(int tid, int sig); } | 408 | 238 STD { int|linux_sys||tkill(int tid, int sig); } | |
409 | 239 UNIMPL sendfile64 | 409 | 239 UNIMPL sendfile64 | |
410 | 240 STD { int|linux_sys||futex(int *uaddr, int op, int val, \ | 410 | 240 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); } | |
413 | 241 STD { int|linux_sys||sched_setaffinity(pid_t pid, \ | 413 | 241 STD { int|linux_sys||sched_setaffinity(pid_t pid, \ | |
414 | unsigned int len, unsigned long *mask); } | 414 | unsigned int len, unsigned long *mask); } | |
415 | 242 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ | 415 | 242 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ | |
416 | unsigned int len, unsigned long *mask); } | 416 | unsigned int len, unsigned long *mask); } | |
417 | 243 STD { int|linux_sys||set_thread_area( \ | 417 | 243 STD { int|linux_sys||set_thread_area( \ | |
418 | struct linux_user_desc *desc); } | 418 | struct linux_user_desc *desc); } | |
419 | 244 STD { int|linux_sys||get_thread_area( \ | 419 | 244 STD { int|linux_sys||get_thread_area( \ | |
420 | struct linux_user_desc *desc); } | 420 | struct linux_user_desc *desc); } | |
421 | 245 UNIMPL io_setup | 421 | 245 UNIMPL io_setup | |
422 | 246 UNIMPL io_destroy | 422 | 246 UNIMPL io_destroy | |
423 | 247 UNIMPL io_getevents | 423 | 247 UNIMPL io_getevents | |
424 | 248 UNIMPL io_submit | 424 | 248 UNIMPL io_submit | |
425 | 249 UNIMPL io_cancel | 425 | 249 UNIMPL io_cancel | |
426 | 250 STD { int|linux_sys||fadvise64(int fd, off_t offset, \ | 426 | 250 STD { int|linux_sys||fadvise64(int fd, off_t offset, \ | |
427 | size_t len, int advice); } | 427 | size_t len, int advice); } | |
428 | 251 UNIMPL /* unused */ | 428 | 251 UNIMPL /* unused */ | |
429 | 252 STD { int|linux_sys||exit_group(int error_code); } | 429 | 252 STD { int|linux_sys||exit_group(int error_code); } | |
430 | 253 UNIMPL lookup_dcookie | 430 | 253 UNIMPL lookup_dcookie | |
431 | 254 UNIMPL epoll_create | 431 | 254 STD { int|linux_sys||epoll_create(int size); } | |
432 | 255 UNIMPL epoll_ctl | 432 | 255 STD { int|linux_sys||epoll_ctl(int epfd, int op, int fd, \ | |
433 | 256 UNIMPL epoll_wait | 433 | struct linux_epoll_event *event); } | |
434 | 256 STD { int|linux_sys||epoll_wait(int epfd, \ | |||
435 | struct linux_epoll_event *events, int maxevents, \ | |||
436 | int timeout); } | |||
434 | 257 UNIMPL remap_file_pages | 437 | 257 UNIMPL remap_file_pages | |
435 | 258 STD { int|linux_sys||set_tid_address(int *tid); } | 438 | 258 STD { int|linux_sys||set_tid_address(int *tid); } | |
436 | 259 STD { int|linux_sys||timer_create(clockid_t clockid, \ | 439 | 259 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); } | |
438 | 260 STD { int|linux_sys||timer_settime(timer_t timerid, \ | 441 | 260 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); } | |
441 | 261 STD { int|linux_sys||timer_gettime(timer_t timerid, \ | 444 | 261 STD { int|linux_sys||timer_gettime(timer_t timerid, \ | |
442 | struct linux_itimerspec *tim); } | 445 | struct linux_itimerspec *tim); } | |
443 | 262 NOARGS { int|sys||timer_getoverrun(timer_t timerid); } | 446 | 262 NOARGS { int|sys||timer_getoverrun(timer_t timerid); } | |
444 | 263 NOARGS { int|sys||timer_delete(timer_t timerid); } | 447 | 263 NOARGS { int|sys||timer_delete(timer_t timerid); } | |
445 | 264 STD { int|linux_sys||clock_settime(clockid_t which, \ | 448 | 264 STD { int|linux_sys||clock_settime(clockid_t which, \ | |
446 | struct linux_timespec *tp); } | 449 | struct linux_timespec *tp); } | |
447 | 265 STD { int|linux_sys||clock_gettime(clockid_t which, \ | 450 | 265 STD { int|linux_sys||clock_gettime(clockid_t which, \ | |
448 | struct linux_timespec *tp); } | 451 | struct linux_timespec *tp); } | |
449 | 266 STD { int|linux_sys||clock_getres(clockid_t which, \ | 452 | 266 STD { int|linux_sys||clock_getres(clockid_t which, \ | |
450 | struct linux_timespec *tp); } | 453 | struct linux_timespec *tp); } | |
451 | 267 STD { int|linux_sys||clock_nanosleep(clockid_t which, \ | 454 | 267 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); } | |
454 | 268 STD { int|linux_sys||statfs64(const char *path, \ | 457 | 268 STD { int|linux_sys||statfs64(const char *path, \ | |
455 | size_t sz, struct linux_statfs64 *sp); } | 458 | size_t sz, struct linux_statfs64 *sp); } | |
456 | 269 STD { int|linux_sys||fstatfs64(int fd, \ | 459 | 269 STD { int|linux_sys||fstatfs64(int fd, \ | |
457 | size_t sz, struct linux_statfs64 *sp); } | 460 | size_t sz, struct linux_statfs64 *sp); } | |
458 | 270 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); } | 461 | 270 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); } | |
459 | 271 NOARGS { int|compat_50_sys||utimes(const char *path, \ | 462 | 271 NOARGS { int|compat_50_sys||utimes(const char *path, \ | |
460 | const struct timeval50 *tptr); } | 463 | const struct timeval50 *tptr); } | |
461 | 272 STD { int|linux_sys||fadvise64_64(int fd, off_t offset, \ | 464 | 272 STD { int|linux_sys||fadvise64_64(int fd, off_t offset, \ | |
462 | off_t len, int advice); } | 465 | off_t len, int advice); } | |
463 | 273 UNIMPL vserver | 466 | 273 UNIMPL vserver | |
464 | 274 UNIMPL mbind | 467 | 274 UNIMPL mbind | |
465 | 275 UNIMPL get_mempolicy | 468 | 275 UNIMPL get_mempolicy | |
466 | 276 UNIMPL set_mempolicy | 469 | 276 UNIMPL set_mempolicy | |
467 | 277 UNIMPL mq_open | 470 | 277 UNIMPL mq_open | |
468 | 278 UNIMPL mq_unlink | 471 | 278 UNIMPL mq_unlink | |
469 | 279 UNIMPL mq_timedsend | 472 | 279 UNIMPL mq_timedsend | |
470 | 280 UNIMPL mq_timedreceive | 473 | 280 UNIMPL mq_timedreceive | |
471 | 281 UNIMPL mq_notify | 474 | 281 UNIMPL mq_notify | |
472 | 282 UNIMPL mq_getsetattr | 475 | 282 UNIMPL mq_getsetattr | |
473 | 283 UNIMPL sys_kexec_load | 476 | 283 UNIMPL sys_kexec_load | |
474 | 284 UNIMPL waitid | 477 | 284 UNIMPL waitid | |
475 | 285 UNIMPL /* unused */ | 478 | 285 UNIMPL /* unused */ | |
476 | 286 UNIMPL add_key | 479 | 286 UNIMPL add_key | |
477 | 287 UNIMPL request_key | 480 | 287 UNIMPL request_key | |
478 | 288 UNIMPL keyctl | 481 | 288 UNIMPL keyctl | |
479 | 289 UNIMPL ioprio_set | 482 | 289 UNIMPL ioprio_set | |
480 | 290 UNIMPL ioprio_get | 483 | 290 UNIMPL ioprio_get | |
481 | 291 UNIMPL inotify_init | 484 | 291 UNIMPL inotify_init | |
482 | 292 UNIMPL inotify_add_watch | 485 | 292 UNIMPL inotify_add_watch | |
483 | 293 UNIMPL inotify_rm_watch | 486 | 293 UNIMPL inotify_rm_watch | |
484 | 294 UNIMPL migrate_pages | 487 | 294 UNIMPL migrate_pages | |
485 | 295 STD { int|linux_sys||openat(int fd, const char *path, \ | 488 | 295 STD { int|linux_sys||openat(int fd, const char *path, \ | |
486 | int flags, ... linux_umode_t mode); } | 489 | int flags, ... linux_umode_t mode); } | |
487 | 296 NOARGS { int|sys||mkdirat(int fd, const char *path, \ | 490 | 296 NOARGS { int|sys||mkdirat(int fd, const char *path, \ | |
488 | linux_umode_t mode); } | 491 | linux_umode_t mode); } | |
489 | 297 STD { int|linux_sys||mknodat(int fd, const char *path, \ | 492 | 297 STD { int|linux_sys||mknodat(int fd, const char *path, \ | |
490 | linux_umode_t mode, unsigned dev); } | 493 | linux_umode_t mode, unsigned dev); } | |
491 | 298 STD { int|linux_sys||fchownat(int fd, const char *path, \ | 494 | 298 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); } | |
493 | 299 UNIMPL futimesat | 496 | 299 UNIMPL futimesat | |
494 | 300 STD { int|linux_sys||fstatat64(int fd, const char *path, \ | 497 | 300 STD { int|linux_sys||fstatat64(int fd, const char *path, \ | |
495 | struct linux_stat64 *sp, int flag); } | 498 | struct linux_stat64 *sp, int flag); } | |
496 | 301 STD { int|linux_sys||unlinkat(int fd, const char *path, \ | 499 | 301 STD { int|linux_sys||unlinkat(int fd, const char *path, \ | |
497 | int flag); } | 500 | int flag); } | |
498 | 302 NOARGS { int|sys||renameat(int fromfd, const char *from, \ | 501 | 302 NOARGS { int|sys||renameat(int fromfd, const char *from, \ | |
499 | int tofd, const char *to); } | 502 | int tofd, const char *to); } | |
500 | 303 STD { int|linux_sys||linkat(int fd1, const char *name1, \ | 503 | 303 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); } | |
502 | 304 NOARGS { int|sys||symlinkat(const char *path1, int fd, \ | 505 | 304 NOARGS { int|sys||symlinkat(const char *path1, int fd, \ | |
503 | const char *path2); } | 506 | const char *path2); } | |
504 | 305 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \ | 507 | 305 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \ | |
505 | char *buf, size_t bufsize); } | 508 | char *buf, size_t bufsize); } | |
506 | 306 STD { int|linux_sys||fchmodat(int fd, const char *path, \ | 509 | 306 STD { int|linux_sys||fchmodat(int fd, const char *path, \ | |
507 | linux_umode_t mode); } | 510 | linux_umode_t mode); } | |
508 | 307 STD { int|linux_sys||faccessat(int fd, const char *path, \ | 511 | 307 STD { int|linux_sys||faccessat(int fd, const char *path, \ | |
509 | int amode); } | 512 | int amode); } | |
510 | 308 STD { int|linux_sys||pselect6(int nfds, fd_set *readfds, \ | 513 | 308 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); } | |
514 | 309 STD { int|linux_sys||ppoll(struct pollfd *fds, u_int nfds, \ | 517 | 309 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); } | |
517 | 310 UNIMPL unshare | 520 | 310 UNIMPL unshare | |
518 | 311 NOARGS { int|sys||__futex_set_robust_list(void *head, \ | 521 | 311 NOARGS { int|sys||__futex_set_robust_list(void *head, \ | |
519 | size_t len); } | 522 | size_t len); } | |
520 | 312 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ | 523 | 312 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ | |
521 | void **headp, size_t *lenp); } | 524 | void **headp, size_t *lenp); } | |
522 | 313 UNIMPL splice | 525 | 313 UNIMPL splice | |
523 | 314 UNIMPL sync_file_range | 526 | 314 UNIMPL sync_file_range | |
524 | 315 UNIMPL tee | 527 | 315 UNIMPL tee | |
525 | 316 UNIMPL vmsplice | 528 | 316 UNIMPL vmsplice | |
526 | 317 UNIMPL move_pages | 529 | 317 UNIMPL move_pages | |
527 | 318 UNIMPL getcpu | 530 | 318 UNIMPL getcpu | |
528 | 319 UNIMPL epoll_wait | 531 | 319 STD { int|linux_sys||epoll_pwait(int epfd, \ | |
532 | struct linux_epoll_event *events, int maxevents, \ | |||
533 | int timeout, const linux_sigset_t *sigmask); } | |||
529 | 320 STD { int|linux_sys||utimensat(int fd, const char *path, \ | 534 | 320 STD { int|linux_sys||utimensat(int fd, const char *path, \ | |
530 | struct linux_timespec *times, int flag); } | 535 | struct linux_timespec *times, int flag); } | |
531 | 321 UNIMPL signalfd | 536 | 321 UNIMPL signalfd | |
532 | 322 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ | 537 | 322 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ | |
533 | int flags); } | 538 | int flags); } | |
534 | 323 STD { int|linux_sys||eventfd(unsigned int initval); } | 539 | 323 STD { int|linux_sys||eventfd(unsigned int initval); } | |
535 | 324 STD { int|linux_sys||fallocate(int fd, int mode, \ | 540 | 324 STD { int|linux_sys||fallocate(int fd, int mode, \ | |
536 | off_t offset, off_t len); } | 541 | off_t offset, off_t len); } | |
537 | 325 STD { int|linux_sys||timerfd_settime(int fd, int flags, \ | 542 | 325 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); } | |
540 | 326 STD { int|linux_sys||timerfd_gettime(int fd, \ | 545 | 326 STD { int|linux_sys||timerfd_gettime(int fd, \ | |
541 | struct linux_itimerspec *tim); } | 546 | struct linux_itimerspec *tim); } | |
542 | 327 UNIMPL signalfd4 | 547 | 327 UNIMPL signalfd4 | |
543 | 328 STD { int|linux_sys||eventfd2(unsigned int initval, \ | 548 | 328 STD { int|linux_sys||eventfd2(unsigned int initval, \ | |
544 | int flags); } | 549 | int flags); } | |
545 | 329 UNIMPL epoll_create1 | 550 | 329 STD { int|linux_sys||epoll_create1(int flags); } | |
546 | 330 STD { int|linux_sys||dup3(int from, int to, int flags); } | 551 | 330 STD { int|linux_sys||dup3(int from, int to, int flags); } | |
547 | 331 STD { int|linux_sys||pipe2( int *pfds, int flags); } | 552 | 331 STD { int|linux_sys||pipe2( int *pfds, int flags); } | |
548 | 332 UNIMPL inotify_init1 | 553 | 332 UNIMPL inotify_init1 | |
549 | 333 STD { int|linux_sys||preadv(int fd, \ | 554 | 333 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); } | |
552 | 334 STD { int|linux_sys||pwritev(int fd, \ | 557 | 334 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); } | |
555 | 335 UNIMPL rt_tgsigqueueinfo | 560 | 335 UNIMPL rt_tgsigqueueinfo | |
556 | 336 UNIMPL perf_counter_open | 561 | 336 UNIMPL perf_counter_open | |
557 | 337 UNIMPL recvmmsg | 562 | 337 UNIMPL recvmmsg | |
558 | 338 UNIMPL fanotify_init | 563 | 338 UNIMPL fanotify_init | |
559 | 339 UNIMPL fanotify_mark | 564 | 339 UNIMPL fanotify_mark | |
560 | 340 STD { int|linux_sys||prlimit64(pid_t pid, int which, \ | 565 | 340 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); } | |
562 | 341 UNIMPL name_to_handle_at | 567 | 341 UNIMPL name_to_handle_at | |
563 | 342 UNIMPL open_by_handle_at | 568 | 342 UNIMPL open_by_handle_at | |
564 | 343 UNIMPL clock_adjtime | 569 | 343 UNIMPL clock_adjtime | |
565 | 344 UNIMPL syncfs | 570 | 344 UNIMPL syncfs | |
566 | 345 UNIMPL sendmmsg | 571 | 345 UNIMPL sendmmsg | |
567 | 346 UNIMPL setns | 572 | 346 UNIMPL setns | |
568 | 347 UNIMPL process_vm_readv | 573 | 347 UNIMPL process_vm_readv | |
569 | 348 UNIMPL process_vm_writev | 574 | 348 UNIMPL process_vm_writev | |
570 | 349 UNIMPL kcmp | 575 | 349 UNIMPL kcmp | |
571 | 350 UNIMPL finit_module | 576 | 350 UNIMPL finit_module | |
572 | 351 UNIMPL sched_setattr | 577 | 351 UNIMPL sched_setattr | |
573 | 352 UNIMPL sched_getattr | 578 | 352 UNIMPL sched_getattr | |
574 | 353 UNIMPL renameat2 | 579 | 353 UNIMPL renameat2 | |
575 | 354 UNIMPL seccomp | 580 | 354 UNIMPL seccomp | |
576 | 355 NOARGS { ssize_t|sys||getrandom(void *buf, size_t buflen, \ | 581 | 355 NOARGS { ssize_t|sys||getrandom(void *buf, size_t buflen, \ | |
577 | unsigned int flags); } | 582 | unsigned int flags); } | |
578 | 356 STD { int|linux_sys||memfd_create(const char *name, \ | 583 | 356 STD { int|linux_sys||memfd_create(const char *name, \ | |
579 | unsigned int flags); } | 584 | unsigned int flags); } | |
580 | 357 UNIMPL bpf | 585 | 357 UNIMPL bpf | |
581 | 358 UNIMPL execveat | 586 | 358 UNIMPL execveat | |
582 | 359 UNIMPL socket | 587 | 359 UNIMPL socket | |
583 | 360 UNIMPL socketpair | 588 | 360 UNIMPL socketpair | |
584 | 361 UNIMPL bind | 589 | 361 UNIMPL bind | |
585 | 362 UNIMPL connect | 590 | 362 UNIMPL connect | |
586 | 363 UNIMPL listen | 591 | 363 UNIMPL listen | |
587 | 364 UNIMPL accept4 | 592 | 364 UNIMPL accept4 | |
588 | 365 UNIMPL getsockopt | 593 | 365 UNIMPL getsockopt | |
589 | 366 UNIMPL setsockopt | 594 | 366 UNIMPL setsockopt | |
590 | 367 UNIMPL getsockname | 595 | 367 UNIMPL getsockname | |
591 | 368 UNIMPL getpeername | 596 | 368 UNIMPL getpeername | |
592 | 369 UNIMPL sendto | 597 | 369 UNIMPL sendto | |
593 | 370 UNIMPL sendmsg | 598 | 370 UNIMPL sendmsg | |
594 | 371 UNIMPL recvfrom | 599 | 371 UNIMPL recvfrom | |
595 | 372 UNIMPL recvmsg | 600 | 372 UNIMPL recvmsg | |
596 | 373 UNIMPL shutdown | 601 | 373 UNIMPL shutdown | |
597 | 374 UNIMPL userfaultfd | 602 | 374 UNIMPL userfaultfd | |
598 | 375 UNIMPL membarrier | 603 | 375 UNIMPL membarrier | |
599 | 376 UNIMPL mlock2 | 604 | 376 UNIMPL mlock2 | |
600 | 377 UNIMPL copy_file_range | 605 | 377 UNIMPL copy_file_range | |
601 | 378 UNIMPL preadv2 | 606 | 378 UNIMPL preadv2 | |
602 | 379 UNIMPL pwritev2 | 607 | 379 UNIMPL pwritev2 | |
603 | 380 UNIMPL pkey_mprotect | 608 | 380 UNIMPL pkey_mprotect | |
604 | 381 UNIMPL pkey_alloc | 609 | 381 UNIMPL pkey_alloc | |
605 | 382 UNIMPL pkey_free | 610 | 382 UNIMPL pkey_free | |
606 | 383 UNIMPL statx | 611 | 383 UNIMPL statx | |
607 | 384 UNIMPL arch_prctl | 612 | 384 UNIMPL arch_prctl | |
608 | 385 UNIMPL io_pgetevents | 613 | 385 UNIMPL io_pgetevents | |
609 | 386 UNIMPL rseq | 614 | 386 UNIMPL rseq | |
610 | 387 UNIMPL | 615 | 387 UNIMPL | |
611 | 388 UNIMPL | 616 | 388 UNIMPL | |
612 | 389 UNIMPL | 617 | 389 UNIMPL | |
613 | 390 UNIMPL | 618 | 390 UNIMPL | |
614 | 391 UNIMPL | 619 | 391 UNIMPL | |
615 | 392 UNIMPL | 620 | 392 UNIMPL | |
616 | 393 UNIMPL semget | 621 | 393 UNIMPL semget | |
617 | 394 UNIMPL semctl | 622 | 394 UNIMPL semctl | |
618 | 395 UNIMPL shmget | 623 | 395 UNIMPL shmget | |
619 | 396 UNIMPL shmctl | 624 | 396 UNIMPL shmctl | |
620 | 397 UNIMPL shmat | 625 | 397 UNIMPL shmat | |
621 | 398 UNIMPL shmdt | 626 | 398 UNIMPL shmdt | |
622 | 399 UNIMPL msgget | 627 | 399 UNIMPL msgget | |
623 | 400 UNIMPL msgsnd | 628 | 400 UNIMPL msgsnd | |
624 | 401 UNIMPL msgrcv | 629 | 401 UNIMPL msgrcv | |
625 | 402 UNIMPL msgctl | 630 | 402 UNIMPL msgctl | |
626 | 403 UNIMPL clock_gettime64 | 631 | 403 UNIMPL clock_gettime64 | |
627 | 404 UNIMPL clock_settime64 | 632 | 404 UNIMPL clock_settime64 | |
628 | 405 UNIMPL clock_adjtime64 | 633 | 405 UNIMPL clock_adjtime64 | |
629 | 406 UNIMPL clock_getres_time64 | 634 | 406 UNIMPL clock_getres_time64 | |
630 | 407 UNIMPL clock_nanosleep_time64 | 635 | 407 UNIMPL clock_nanosleep_time64 | |
631 | 408 UNIMPL timer_gettime64 | 636 | 408 UNIMPL timer_gettime64 | |
632 | 409 UNIMPL timer_settime64 | 637 | 409 UNIMPL timer_settime64 | |
633 | 410 UNIMPL timerfd_gettime64 | 638 | 410 UNIMPL timerfd_gettime64 | |
634 | 411 UNIMPL timerfd_settime64 | 639 | 411 UNIMPL timerfd_settime64 | |
635 | 412 UNIMPL utimensat_time64 | 640 | 412 UNIMPL utimensat_time64 | |
636 | 413 UNIMPL pselect6_time64 | 641 | 413 UNIMPL pselect6_time64 | |
637 | 414 UNIMPL ppoll_time64 | 642 | 414 UNIMPL ppoll_time64 | |
638 | 415 UNIMPL | 643 | 415 UNIMPL | |
639 | 416 UNIMPL io_pgetevents_time64 | 644 | 416 UNIMPL io_pgetevents_time64 | |
640 | 417 UNIMPL recvmmsg_time64 | 645 | 417 UNIMPL recvmmsg_time64 | |
641 | 418 UNIMPL mq_timedsend_time64 | 646 | 418 UNIMPL mq_timedsend_time64 | |
642 | 419 UNIMPL mq_timedreceive_time64 | 647 | 419 UNIMPL mq_timedreceive_time64 | |
643 | 420 UNIMPL semtimedop_time64 | 648 | 420 UNIMPL semtimedop_time64 | |
644 | 421 UNIMPL rt_sigtimedwait_time64 | 649 | 421 UNIMPL rt_sigtimedwait_time64 | |
645 | 422 UNIMPL futex_time64 | 650 | 422 UNIMPL futex_time64 | |
646 | 423 UNIMPL sched_rr_get_interval_time64 | 651 | 423 UNIMPL sched_rr_get_interval_time64 | |
647 | 424 UNIMPL pidfd_send_signal | 652 | 424 UNIMPL pidfd_send_signal | |
648 | 425 UNIMPL io_uring_setup | 653 | 425 UNIMPL io_uring_setup | |
649 | 426 UNIMPL io_uring_enter | 654 | 426 UNIMPL io_uring_enter | |
650 | 427 UNIMPL io_uring_register | 655 | 427 UNIMPL io_uring_register | |
651 | 428 UNIMPL open_tree | 656 | 428 UNIMPL open_tree | |
652 | 429 UNIMPL move_mount | 657 | 429 UNIMPL move_mount | |
653 | 430 UNIMPL fsopen | 658 | 430 UNIMPL fsopen | |
654 | 431 UNIMPL fsconfig | 659 | 431 UNIMPL fsconfig | |
655 | 432 UNIMPL fsmount | 660 | 432 UNIMPL fsmount | |
656 | 433 UNIMPL fspick | 661 | 433 UNIMPL fspick | |
657 | 434 UNIMPL pidfd_open | 662 | 434 UNIMPL pidfd_open | |
658 | 435 UNIMPL clone3 | 663 | 435 UNIMPL clone3 | |
659 | 436 UNIMPL close_range | 664 | 436 UNIMPL close_range | |
660 | 437 UNIMPL openat2 | 665 | 437 UNIMPL openat2 | |
661 | 438 UNIMPL pidfd_getfd | 666 | 438 UNIMPL pidfd_getfd | |
662 | 439 UNIMPL faccessat2 | 667 | 439 UNIMPL faccessat2 | |
663 | 440 UNIMPL process_madvise | 668 | 440 UNIMPL process_madvise | |
669 | 441 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); } |
--- 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 | |||
59 | 0 NOARGS { int|linux_sys||nosys(void); } syscall | 59 | 0 NOARGS { int|linux_sys||nosys(void); } syscall | |
60 | 1 STD { int|linux_sys||exit(int rval); } | 60 | 1 STD { int|linux_sys||exit(int rval); } | |
61 | 2 NOARGS { int|sys||fork(void); } | 61 | 2 NOARGS { int|sys||fork(void); } | |
62 | 3 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } | 62 | 3 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } | |
63 | 4 NOARGS { ssize_t|sys||write(int fd, const void *buf, \ | 63 | 4 NOARGS { ssize_t|sys||write(int fd, const void *buf, \ | |
64 | size_t nbyte); } | 64 | size_t nbyte); } | |
65 | 5 STD { int|linux_sys||open(const char *path, int flags, \ | 65 | 5 STD { int|linux_sys||open(const char *path, int flags, \ | |
66 | linux_umode_t mode); } | 66 | linux_umode_t mode); } | |
67 | 6 NOARGS { int|sys||close(int fd); } | 67 | 6 NOARGS { int|sys||close(int fd); } | |
68 | 7 STD { int|linux_sys||waitpid(int pid, int *status, \ | 68 | 7 STD { int|linux_sys||waitpid(int pid, int *status, \ | |
69 | int options);} | 69 | int options);} | |
70 | 8 STD { int|linux_sys||creat(const char *path, linux_umode_t mode); } | 70 | 8 STD { int|linux_sys||creat(const char *path, linux_umode_t mode); } | |
71 | 9 NOARGS { int|sys||link(const char *path, const char *link); } | 71 | 9 NOARGS { int|sys||link(const char *path, const char *link); } | |
72 | 10 STD { int|linux_sys||unlink(const char *path); } | 72 | 10 STD { int|linux_sys||unlink(const char *path); } | |
73 | 11 NOARGS { int|sys||execve(const char *path, char **argp, \ | 73 | 11 NOARGS { int|sys||execve(const char *path, char **argp, \ | |
74 | char **envp); } | 74 | char **envp); } | |
75 | 12 NOARGS { int|sys||chdir(const char *path); } | 75 | 12 NOARGS { int|sys||chdir(const char *path); } | |
76 | 13 STD { int|linux_sys||time(linux_time_t *t); } | 76 | 13 STD { int|linux_sys||time(linux_time_t *t); } | |
77 | 14 STD { int|linux_sys||mknod(const char *path, linux_umode_t mode, \ | 77 | 14 STD { int|linux_sys||mknod(const char *path, linux_umode_t mode, \ | |
78 | unsigned dev); } | 78 | unsigned dev); } | |
79 | 15 NOARGS { int|sys||chmod(const char *path, int mode); } | 79 | 15 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. | |
81 | 16 STD { int|linux_sys||chown16(const char *path, \ | 81 | 16 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); } | |
83 | 17 OBSOL break | 83 | 17 OBSOL break | |
84 | 18 OBSOL ostat | 84 | 18 OBSOL ostat | |
85 | #if !defined(_KERNEL) || defined(COMPAT_43) | 85 | #if !defined(_KERNEL) || defined(COMPAT_43) | |
86 | 19 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ | 86 | 19 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ | |
87 | int whence); } | 87 | int whence); } | |
88 | #else | 88 | #else | |
89 | 19 UNIMPL compat_43_sys_lseek | 89 | 19 UNIMPL compat_43_sys_lseek | |
90 | #endif | 90 | #endif | |
91 | 20 NOARGS { pid_t|sys||getpid(void); } | 91 | 20 NOARGS { pid_t|sys||getpid(void); } | |
92 | 21 UNIMPL mount | 92 | 21 UNIMPL mount | |
93 | 22 OBSOL umount | 93 | 22 OBSOL umount | |
94 | 23 NOARGS linux_setuid16 { int|sys||setuid(uid_t uid); } | 94 | 23 NOARGS linux_setuid16 { int|sys||setuid(uid_t uid); } | |
95 | 24 NOARGS linux_getuid16 { uid_t|sys||getuid(void); } | 95 | 24 NOARGS linux_getuid16 { uid_t|sys||getuid(void); } | |
96 | 25 STD { int|linux_sys||stime(linux_time_t *t); } | 96 | 25 STD { int|linux_sys||stime(linux_time_t *t); } | |
97 | 26 STD { int|linux_sys||ptrace(int request, int pid, \ | 97 | 26 STD { int|linux_sys||ptrace(int request, int pid, \ | |
98 | int addr, int data); } | 98 | int addr, int data); } | |
99 | 27 STD { int|linux_sys||alarm(unsigned int secs); } | 99 | 27 STD { int|linux_sys||alarm(unsigned int secs); } | |
100 | 28 OBSOL ofstat | 100 | 28 OBSOL ofstat | |
101 | 29 STD { int|linux_sys||pause(void); } | 101 | 29 STD { int|linux_sys||pause(void); } | |
102 | 30 STD { int|linux_sys||utime(const char *path, \ | 102 | 30 STD { int|linux_sys||utime(const char *path, \ | |
103 | struct linux_utimbuf *times); } | 103 | struct linux_utimbuf *times); } | |
104 | 31 OBSOL stty | 104 | 31 OBSOL stty | |
105 | 32 OBSOL gtty | 105 | 32 OBSOL gtty | |
106 | 33 NOARGS { int|sys||access(const char *path, int flags); } | 106 | 33 NOARGS { int|sys||access(const char *path, int flags); } | |
107 | 34 STD { int|linux_sys||nice(int incr); } | 107 | 34 STD { int|linux_sys||nice(int incr); } | |
108 | 35 OBSOL ftime | 108 | 35 OBSOL ftime | |
109 | 36 NOARGS { int|sys||sync(void); } | 109 | 36 NOARGS { int|sys||sync(void); } | |
110 | 37 STD { int|linux_sys||kill(int pid, int signum); } | 110 | 37 STD { int|linux_sys||kill(int pid, int signum); } | |
111 | 38 NOARGS { int|sys||__posix_rename(const char *from, \ | 111 | 38 NOARGS { int|sys||__posix_rename(const char *from, \ | |
112 | const char *to); } | 112 | const char *to); } | |
113 | 39 NOARGS { int|sys||mkdir(const char *path, linux_umode_t mode); } | 113 | 39 NOARGS { int|sys||mkdir(const char *path, linux_umode_t mode); } | |
114 | 40 NOARGS { int|sys||rmdir(const char *path); } | 114 | 40 NOARGS { int|sys||rmdir(const char *path); } | |
115 | 41 NOARGS { int|sys||dup(int fd); } | 115 | 41 NOARGS { int|sys||dup(int fd); } | |
116 | 42 STD { int|linux_sys||pipe(int *pfds); } | 116 | 42 STD { int|linux_sys||pipe(int *pfds); } | |
117 | 43 STD { int|linux_sys||times(struct times *tms); } | 117 | 43 STD { int|linux_sys||times(struct times *tms); } | |
118 | 44 OBSOL prof | 118 | 44 OBSOL prof | |
119 | 45 STD { int|linux_sys||brk(char *nsize); } | 119 | 45 STD { int|linux_sys||brk(char *nsize); } | |
120 | 46 NOARGS linux_setgid16 { int|sys||setgid(gid_t gid); } | 120 | 46 NOARGS linux_setgid16 { int|sys||setgid(gid_t gid); } | |
121 | 47 NOARGS linux_getgid16 { gid_t|sys||getgid(void); } | 121 | 47 NOARGS linux_getgid16 { gid_t|sys||getgid(void); } | |
122 | 48 STD { int|linux_sys||signal(int signum, \ | 122 | 48 STD { int|linux_sys||signal(int signum, \ | |
123 | linux_handler_t handler); } | 123 | linux_handler_t handler); } | |
124 | 49 NOARGS linux_geteuid16 { uid_t|sys||geteuid(void); } | 124 | 49 NOARGS linux_geteuid16 { uid_t|sys||geteuid(void); } | |
125 | 50 NOARGS linux_getegid16 { gid_t|sys||getegid(void); } | 125 | 50 NOARGS linux_getegid16 { gid_t|sys||getegid(void); } | |
126 | 51 NOARGS { int|sys||acct(char *path); } | 126 | 51 NOARGS { int|sys||acct(char *path); } | |
127 | 52 UNIMPL umount | 127 | 52 UNIMPL umount | |
128 | 53 OBSOL lock | 128 | 53 OBSOL lock | |
129 | 54 STD { int|linux_sys||ioctl(int fd, u_long com, \ | 129 | 54 STD { int|linux_sys||ioctl(int fd, u_long com, \ | |
130 | void *data); } | 130 | void *data); } | |
131 | 55 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); } | 131 | 55 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); } | |
132 | 56 OBSOL mpx | 132 | 56 OBSOL mpx | |
133 | 57 NOARGS { int|sys||setpgid(int pid, int pgid); } | 133 | 57 NOARGS { int|sys||setpgid(int pid, int pgid); } | |
134 | 58 OBSOL ulimit | 134 | 58 OBSOL ulimit | |
135 | 59 UNIMPL oldolduname | 135 | 59 UNIMPL oldolduname | |
136 | 60 NOARGS { int|sys||umask(int newmask); } | 136 | 60 NOARGS { int|sys||umask(int newmask); } | |
137 | 61 NOARGS { int|sys||chroot(char *path); } | 137 | 61 NOARGS { int|sys||chroot(char *path); } | |
138 | 62 UNIMPL ustat | 138 | 62 UNIMPL ustat | |
139 | 63 NOARGS { int|sys||dup2(int from, int to); } | 139 | 63 NOARGS { int|sys||dup2(int from, int to); } | |
140 | 64 NOARGS { pid_t|sys||getppid(void); } | 140 | 64 NOARGS { pid_t|sys||getppid(void); } | |
141 | 65 NOARGS { int|sys||getpgrp(void); } | 141 | 65 NOARGS { int|sys||getpgrp(void); } | |
142 | 66 NOARGS { int|sys||setsid(void); } | 142 | 66 NOARGS { int|sys||setsid(void); } | |
143 | 67 STD { int|linux_sys||sigaction(int signum, \ | 143 | 67 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); } | |
146 | 68 STD { int|linux_sys||siggetmask(void); } | 146 | 68 STD { int|linux_sys||siggetmask(void); } | |
147 | 69 STD { int|linux_sys||sigsetmask(linux_old_sigset_t mask); } | 147 | 69 STD { int|linux_sys||sigsetmask(linux_old_sigset_t mask); } | |
148 | 70 STD { int|linux_sys||setreuid16(linux_uid16_t ruid, \ | 148 | 70 STD { int|linux_sys||setreuid16(linux_uid16_t ruid, \ | |
149 | linux_uid16_t euid); } | 149 | linux_uid16_t euid); } | |
150 | 71 STD { int|linux_sys||setregid16(linux_gid16_t rgid, \ | 150 | 71 STD { int|linux_sys||setregid16(linux_gid16_t rgid, \ | |
151 | linux_gid16_t egid); } | 151 | linux_gid16_t egid); } | |
152 | 72 STD { int|linux_sys||sigsuspend(void *restart, \ | 152 | 72 STD { int|linux_sys||sigsuspend(void *restart, \ | |
153 | int oldmask, int mask); } | 153 | int oldmask, int mask); } | |
154 | 73 STD { int|linux_sys||sigpending(linux_old_sigset_t *set); } | 154 | 73 STD { int|linux_sys||sigpending(linux_old_sigset_t *set); } | |
155 | #if !defined(_KERNEL) || defined(COMPAT_43) | 155 | #if !defined(_KERNEL) || defined(COMPAT_43) | |
156 | 74 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ | 156 | 74 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ | |
157 | u_int len);} | 157 | u_int len);} | |
158 | #else | 158 | #else | |
159 | 74 UNIMPL compat_43_sys_sethostname | 159 | 74 UNIMPL compat_43_sys_sethostname | |
160 | #endif | 160 | #endif | |
161 | 75 STD { int|linux_sys||setrlimit(u_int which, \ | 161 | 75 STD { int|linux_sys||setrlimit(u_int which, \ | |
162 | struct orlimit *rlp); } | 162 | struct orlimit *rlp); } | |
163 | 76 STD { int|linux_sys||getrlimit(u_int which, \ | 163 | 76 STD { int|linux_sys||getrlimit(u_int which, \ | |
164 | struct orlimit *rlp); } | 164 | struct orlimit *rlp); } | |
165 | 77 NOARGS { int|compat_50_sys||getrusage(int who, \ | 165 | 77 NOARGS { int|compat_50_sys||getrusage(int who, \ | |
166 | struct rusage50 *rusage); } | 166 | struct rusage50 *rusage); } | |
167 | 78 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \ | 167 | 78 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \ | |
168 | struct timezone *tzp); } | 168 | struct timezone *tzp); } | |
169 | 79 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \ | 169 | 79 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \ | |
170 | struct timezone *tzp); } | 170 | struct timezone *tzp); } | |
171 | 80 STD { int|linux_sys||getgroups16(int gidsetsize, \ | 171 | 80 STD { int|linux_sys||getgroups16(int gidsetsize, \ | |
172 | linux_gid16_t *gidset); } | 172 | linux_gid16_t *gidset); } | |
173 | 81 STD { int|linux_sys||setgroups16(int gidsetsize, \ | 173 | 81 STD { int|linux_sys||setgroups16(int gidsetsize, \ | |
174 | linux_gid16_t *gidset); } | 174 | linux_gid16_t *gidset); } | |
175 | 82 STD { int|linux_sys||oldselect(struct linux_oldselect *lsp); } | 175 | 82 STD { int|linux_sys||oldselect(struct linux_oldselect *lsp); } | |
176 | 83 NOARGS { int|sys||symlink(const char *path, const char *to); } | 176 | 83 NOARGS { int|sys||symlink(const char *path, const char *to); } | |
177 | #if !defined(_KERNEL) || defined(COMPAT_43) | 177 | #if !defined(_KERNEL) || defined(COMPAT_43) | |
178 | 84 NOARGS { int|compat_43_sys||lstat(const char *path, \ | 178 | 84 NOARGS { int|compat_43_sys||lstat(const char *path, \ | |
179 | struct stat43 *up); } oolstat | 179 | struct stat43 *up); } oolstat | |
180 | #else | 180 | #else | |
181 | 84 UNIMPL compat_43_sys_lstat | 181 | 84 UNIMPL compat_43_sys_lstat | |
182 | #endif | 182 | #endif | |
183 | 85 NOARGS { ssize_t|sys||readlink(const char *path, char *buf, \ | 183 | 85 NOARGS { ssize_t|sys||readlink(const char *path, char *buf, \ | |
184 | int count); } | 184 | int count); } | |
185 | #ifdef EXEC_AOUT | 185 | #ifdef EXEC_AOUT | |
186 | 86 STD { int|linux_sys||uselib(const char *path); } | 186 | 86 STD { int|linux_sys||uselib(const char *path); } | |
187 | #else | 187 | #else | |
188 | 86 UNIMPL sys_uselib | 188 | 86 UNIMPL sys_uselib | |
189 | #endif | 189 | #endif | |
190 | 87 STD { int|linux_sys||swapon(char *name); } | 190 | 87 STD { int|linux_sys||swapon(char *name); } | |
191 | 88 STD { int|linux_sys||reboot(int magic1, int magic2, \ | 191 | 88 STD { int|linux_sys||reboot(int magic1, int magic2, \ | |
192 | int cmd, void *arg); } | 192 | int cmd, void *arg); } | |
193 | 89 STD { int|linux_sys||readdir(int fd, void *dent, \ | 193 | 89 STD { int|linux_sys||readdir(int fd, void *dent, \ | |
194 | unsigned int count); } | 194 | unsigned int count); } | |
195 | 90 STD { int|linux_sys||old_mmap(struct linux_oldmmap *lmp); } | 195 | 90 STD { int|linux_sys||old_mmap(struct linux_oldmmap *lmp); } | |
196 | 91 NOARGS { int|sys||munmap(void *addr, size_t len); } | 196 | 91 NOARGS { int|sys||munmap(void *addr, size_t len); } | |
197 | 92 NOARGS { int|compat_43_sys||truncate(const char *path, \ | 197 | 92 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) | |
200 | 93 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } | 200 | 93 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } | |
201 | #else | 201 | #else | |
202 | 93 UNIMPL compat_43_sys_ftruncate | 202 | 93 UNIMPL compat_43_sys_ftruncate | |
203 | #endif | 203 | #endif | |
204 | 94 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); } | 204 | 94 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); } | |
205 | 95 STD { int|linux_sys||fchown16(int fd, linux_uid16_t uid, \ | 205 | 95 STD { int|linux_sys||fchown16(int fd, linux_uid16_t uid, \ | |
206 | linux_gid16_t gid); } | 206 | linux_gid16_t gid); } | |
207 | 96 STD { int|linux_sys||getpriority(int which, int who); } | 207 | 96 STD { int|linux_sys||getpriority(int which, int who); } | |
208 | 97 NOARGS { int|sys||setpriority(int which, int who, int prio); } | 208 | 97 NOARGS { int|sys||setpriority(int which, int who, int prio); } | |
209 | 98 NOARGS { int|sys||profil(void *samples, u_int size, \ | 209 | 98 NOARGS { int|sys||profil(void *samples, u_int size, \ | |
210 | u_int offset, u_int scale); } | 210 | u_int offset, u_int scale); } | |
211 | 99 STD { int|linux_sys||statfs(const char *path, \ | 211 | 99 STD { int|linux_sys||statfs(const char *path, \ | |
212 | struct linux_statfs *sp); } | 212 | struct linux_statfs *sp); } | |
213 | 100 STD { int|linux_sys||fstatfs(int fd, \ | 213 | 100 STD { int|linux_sys||fstatfs(int fd, \ | |
214 | struct linux_statfs *sp); } | 214 | struct linux_statfs *sp); } | |
215 | 101 UNIMPL ioperm | 215 | 101 UNIMPL ioperm | |
216 | 102 STD { int|linux_sys||socketcall(int what, void *args); } | 216 | 102 STD { int|linux_sys||socketcall(int what, void *args); } | |
217 | 103 UNIMPL syslog | 217 | 103 UNIMPL syslog | |
218 | 104 NOARGS { int|compat_50_sys||setitimer(int which, \ | 218 | 104 NOARGS { int|compat_50_sys||setitimer(int which, \ | |
219 | struct itimerval50 *itv, \ | 219 | struct itimerval50 *itv, \ | |
220 | struct itimerval50 *oitv); } | 220 | struct itimerval50 *oitv); } | |
221 | 105 NOARGS { int|compat_50_sys||getitimer(int which, \ | 221 | 105 NOARGS { int|compat_50_sys||getitimer(int which, \ | |
222 | struct itimerval50 *itv); } | 222 | struct itimerval50 *itv); } | |
223 | 106 STD { int|linux_sys||stat(const char *path, \ | 223 | 106 STD { int|linux_sys||stat(const char *path, \ | |
224 | struct linux_stat *sp); } | 224 | struct linux_stat *sp); } | |
225 | 107 STD { int|linux_sys||lstat(const char *path, \ | 225 | 107 STD { int|linux_sys||lstat(const char *path, \ | |
226 | struct linux_stat *sp); } | 226 | struct linux_stat *sp); } | |
227 | 108 STD { int|linux_sys||fstat(int fd, struct linux_stat *sp); } | 227 | 108 STD { int|linux_sys||fstat(int fd, struct linux_stat *sp); } | |
228 | 109 UNIMPL olduname | 228 | 109 UNIMPL olduname | |
229 | 110 UNIMPL iopl | 229 | 110 UNIMPL iopl | |
230 | 111 UNIMPL vhangup | 230 | 111 UNIMPL vhangup | |
231 | 112 UNIMPL idle | 231 | 112 UNIMPL idle | |
232 | 113 UNIMPL vm86old | 232 | 113 UNIMPL vm86old | |
233 | 114 STD { int|linux_sys||wait4(int pid, int *status, \ | 233 | 114 STD { int|linux_sys||wait4(int pid, int *status, \ | |
234 | int options, struct rusage50 *rusage); } | 234 | int options, struct rusage50 *rusage); } | |
235 | 115 STD { int|linux_sys||swapoff(const char *path); } | 235 | 115 STD { int|linux_sys||swapoff(const char *path); } | |
236 | 116 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); } | 236 | 116 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); } | |
237 | 117 STD { int|linux_sys||ipc(int what, int a1, int a2, int a3, \ | 237 | 117 STD { int|linux_sys||ipc(int what, int a1, int a2, int a3, \ | |
238 | void *ptr); } | 238 | void *ptr); } | |
239 | 118 NOARGS { int|sys||fsync(int fd); } | 239 | 118 NOARGS { int|sys||fsync(int fd); } | |
240 | 119 STD { int|linux_sys||sigreturn(void); } | 240 | 119 STD { int|linux_sys||sigreturn(void); } | |
241 | 120 STD { int|linux_sys||clone(int flags, void *stack, \ | 241 | 120 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); } | |
243 | 121 STD { int|linux_sys||setdomainname(char *domainname, \ | 243 | 121 STD { int|linux_sys||setdomainname(char *domainname, \ | |
244 | int len); } | 244 | int len); } | |
245 | 122 STD { int|linux_sys||uname(struct linux_utsname *up); } | 245 | 122 STD { int|linux_sys||uname(struct linux_utsname *up); } | |
246 | 123 STD { int|linux_sys||cacheflush(unsigned long addr, \ | 246 | 123 STD { int|linux_sys||cacheflush(unsigned long addr, \ | |
247 | int scope, int cache, unsigned long len); } | 247 | int scope, int cache, unsigned long len); } | |
248 | 124 UNIMPL adjtimex | 248 | 124 UNIMPL adjtimex | |
249 | 125 STD { int|linux_sys||mprotect(const void *start, \ | 249 | 125 STD { int|linux_sys||mprotect(const void *start, \ | |
250 | unsigned long len, int prot); } | 250 | unsigned long len, int prot); } | |
251 | 126 STD { int|linux_sys||sigprocmask(int how, \ | 251 | 126 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); } | |
254 | 127 UNIMPL create_module | 254 | 127 UNIMPL create_module | |
255 | 128 UNIMPL init_module | 255 | 128 UNIMPL init_module | |
256 | 129 UNIMPL delete_module | 256 | 129 UNIMPL delete_module | |
257 | 130 UNIMPL get_kernel_syms | 257 | 130 UNIMPL get_kernel_syms | |
258 | 131 UNIMPL quotactl | 258 | 131 UNIMPL quotactl | |
259 | 132 NOARGS { pid_t|sys||getpgid(pid_t pid); } | 259 | 132 NOARGS { pid_t|sys||getpgid(pid_t pid); } | |
260 | 133 NOARGS { int|sys||fchdir(int fd); } | 260 | 133 NOARGS { int|sys||fchdir(int fd); } | |
261 | 134 UNIMPL bdflush | 261 | 134 UNIMPL bdflush | |
262 | 135 UNIMPL sysfs | 262 | 135 UNIMPL sysfs | |
263 | 136 STD { int|linux_sys||personality(unsigned long per); } | 263 | 136 STD { int|linux_sys||personality(unsigned long per); } | |
264 | 137 UNIMPL afs_syscall | 264 | 137 UNIMPL afs_syscall | |
265 | 138 NOARGS linux_setfsuid16 { int|linux_sys||setfsuid(uid_t uid); } | 265 | 138 NOARGS linux_setfsuid16 { int|linux_sys||setfsuid(uid_t uid); } | |
266 | 139 NOARGS linux_setfsgid16 { int|linux_sys||setfsgid(gid_t gid); } | 266 | 139 NOARGS linux_setfsgid16 { int|linux_sys||setfsgid(gid_t gid); } | |
267 | 140 STD { int|linux_sys||llseek(int fd, u_int32_t ohigh, \ | 267 | 140 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); } | |
269 | 141 STD { int|linux_sys||getdents(int fd, \ | 269 | 141 STD { int|linux_sys||getdents(int fd, \ | |
270 | struct linux_dirent *dent, unsigned int count); } | 270 | struct linux_dirent *dent, unsigned int count); } | |
271 | 142 STD { int|linux_sys||select(int nfds, fd_set *readfds, \ | 271 | 142 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); } | |
274 | 143 NOARGS { int|sys||flock(int fd, int how); } | 274 | 143 NOARGS { int|sys||flock(int fd, int how); } | |
275 | 144 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } | 275 | 144 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } | |
276 | 145 NOARGS { ssize_t|sys||readv(int fd, \ | 276 | 145 NOARGS { ssize_t|sys||readv(int fd, \ | |
277 | const struct iovec *iovp, int iovcnt); } | 277 | const struct iovec *iovp, int iovcnt); } | |
278 | 146 NOARGS { ssize_t|sys||writev(int fd, \ | 278 | 146 NOARGS { ssize_t|sys||writev(int fd, \ | |
279 | const struct iovec *iovp, int iovcnt); } | 279 | const struct iovec *iovp, int iovcnt); } | |
280 | 147 NOARGS { pid_t|sys||getsid(pid_t pid); } | 280 | 147 NOARGS { pid_t|sys||getsid(pid_t pid); } | |
281 | 148 STD { int|linux_sys||fdatasync(int fd); } | 281 | 148 STD { int|linux_sys||fdatasync(int fd); } | |
282 | 149 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); } | 282 | 149 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); } | |
283 | 150 NOARGS { int|sys||mlock(void *addr, size_t len); } | 283 | 150 NOARGS { int|sys||mlock(void *addr, size_t len); } | |
284 | 151 NOARGS { int|sys||munlock(void *addr, size_t len); } | 284 | 151 NOARGS { int|sys||munlock(void *addr, size_t len); } | |
285 | 152 NOARGS { int|sys||mlockall(int flags); } | 285 | 152 NOARGS { int|sys||mlockall(int flags); } | |
286 | 153 NOARGS { int|sys||munlockall(void); } | 286 | 153 NOARGS { int|sys||munlockall(void); } | |
287 | 154 STD { int|linux_sys||sched_setparam(pid_t pid, \ | 287 | 154 STD { int|linux_sys||sched_setparam(pid_t pid, \ | |
288 | const struct linux_sched_param *sp); } | 288 | const struct linux_sched_param *sp); } | |
289 | 155 STD { int|linux_sys||sched_getparam(pid_t pid, \ | 289 | 155 STD { int|linux_sys||sched_getparam(pid_t pid, \ | |
290 | struct linux_sched_param *sp); } | 290 | struct linux_sched_param *sp); } | |
291 | 156 STD { int|linux_sys||sched_setscheduler(pid_t pid, \ | 291 | 156 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); } | |
293 | 157 STD { int|linux_sys||sched_getscheduler(pid_t pid); } | 293 | 157 STD { int|linux_sys||sched_getscheduler(pid_t pid); } | |
294 | 158 STD { int|linux_sys||sched_yield(void); } | 294 | 158 STD { int|linux_sys||sched_yield(void); } | |
295 | 159 STD { int|linux_sys||sched_get_priority_max(int policy); } | 295 | 159 STD { int|linux_sys||sched_get_priority_max(int policy); } | |
296 | 160 STD { int|linux_sys||sched_get_priority_min(int policy); } | 296 | 160 STD { int|linux_sys||sched_get_priority_min(int policy); } | |
297 | 161 UNIMPL sched_rr_get_interval | 297 | 161 UNIMPL sched_rr_get_interval | |
298 | 162 STD { int|linux_sys||nanosleep( \ | 298 | 162 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); } | |
301 | 163 STD { void *|linux_sys||mremap(void *old_address, \ | 301 | 163 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); } | |
303 | 164 STD { int|linux_sys||setresuid16(linux_uid16_t ruid, \ | 303 | 164 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); } | |
305 | 165 STD { int|linux_sys||getresuid16(linux_uid16_t *ruid, \ | 305 | 165 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); } | |
307 | 166 UNIMPL vm86 | 307 | 166 UNIMPL vm86 | |
308 | 167 UNIMPL query_module | 308 | 167 UNIMPL query_module | |
309 | 168 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ | 309 | 168 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ | |
310 | int timeout); } | 310 | int timeout); } | |
311 | 169 UNIMPL nfsservctl | 311 | 169 UNIMPL nfsservctl | |
312 | 170 STD { int|linux_sys||setresgid16(linux_gid16_t rgid, \ | 312 | 170 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); } | |
314 | 171 STD { int|linux_sys||getresgid16(linux_gid16_t *rgid, \ | 314 | 171 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); } | |
316 | 172 UNIMPL prctl | 316 | 172 UNIMPL prctl | |
317 | 173 STD { int|linux_sys||rt_sigreturn(void); } | 317 | 173 STD { int|linux_sys||rt_sigreturn(void); } | |
318 | 174 STD { int|linux_sys||rt_sigaction(int signum, \ | 318 | 174 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); } | |
322 | 175 STD { int|linux_sys||rt_sigprocmask(int how, \ | 322 | 175 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); } | |
326 | 176 STD { int|linux_sys||rt_sigpending( \ | 326 | 176 STD { int|linux_sys||rt_sigpending( \ | |
327 | linux_sigset_t *set, \ | 327 | linux_sigset_t *set, \ | |
328 | size_t sigsetsize); } | 328 | size_t sigsetsize); } | |
329 | 177 STD { int|linux_sys||rt_sigtimedwait( \ | 329 | 177 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); } | |
333 | 178 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \ | 333 | 178 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \ | |
334 | linux_siginfo_t *uinfo); } | 334 | linux_siginfo_t *uinfo); } | |
335 | 179 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \ | 335 | 179 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \ | |
336 | size_t sigsetsize); } | 336 | size_t sigsetsize); } | |
337 | 180 STD { int|linux_sys||pread(int fd, char *buf, \ | 337 | 180 STD { int|linux_sys||pread(int fd, char *buf, \ | |
338 | size_t nbyte, off_t offset); } | 338 | size_t nbyte, off_t offset); } | |
339 | 181 STD { int|linux_sys||pwrite(int fd, char *buf, \ | 339 | 181 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. | |
342 | 182 STD { int|linux_sys||lchown16(const char *path, \ | 342 | 182 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); } | |
344 | 183 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } | 344 | 183 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } | |
345 | 184 UNIMPL capget | 345 | 184 UNIMPL capget | |
346 | 185 UNIMPL capset | 346 | 185 UNIMPL capset | |
347 | 186 STD { int|linux_sys||sigaltstack( \ | 347 | 186 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); } | |
350 | 187 UNIMPL sendfile | 350 | 187 UNIMPL sendfile | |
351 | 188 UNIMPL getpmsg | 351 | 188 UNIMPL getpmsg | |
352 | 189 UNIMPL putpmsg | 352 | 189 UNIMPL putpmsg | |
353 | 190 NOARGS { int|sys|14|vfork(void); } | 353 | 190 NOARGS { int|sys|14|vfork(void); } | |
354 | 191 STD { int|linux_sys||ugetrlimit(int which, \ | 354 | 191 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 | |
357 | 192 NOARGS { linux_off_t|linux_sys||mmap2(unsigned long addr, \ | 357 | 192 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); } | |
360 | 193 STD { int|linux_sys||truncate64(const char *path, \ | 360 | 193 STD { int|linux_sys||truncate64(const char *path, \ | |
361 | off_t length); } | 361 | off_t length); } | |
362 | 194 STD { int|linux_sys||ftruncate64(unsigned int fd, \ | 362 | 194 STD { int|linux_sys||ftruncate64(unsigned int fd, \ | |
363 | off_t length); } | 363 | off_t length); } | |
364 | 195 STD { int|linux_sys||stat64(const char *path, \ | 364 | 195 STD { int|linux_sys||stat64(const char *path, \ | |
365 | struct linux_stat64 *sp); } | 365 | struct linux_stat64 *sp); } | |
366 | 196 STD { int|linux_sys||lstat64(const char *path, \ | 366 | 196 STD { int|linux_sys||lstat64(const char *path, \ | |
367 | struct linux_stat64 *sp); } | 367 | struct linux_stat64 *sp); } | |
368 | 197 STD { int|linux_sys||fstat64(int fd, \ | 368 | 197 STD { int|linux_sys||fstat64(int fd, \ | |
369 | struct linux_stat64 *sp); } | 369 | struct linux_stat64 *sp); } | |
370 | 198 NOARGS { int|sys||__posix_chown(const char *path, uid_t uid, \ | 370 | 198 NOARGS { int|sys||__posix_chown(const char *path, uid_t uid, \ | |
371 | gid_t gid); } | 371 | gid_t gid); } | |
372 | 199 NOARGS { uid_t|sys||getuid(void); } | 372 | 199 NOARGS { uid_t|sys||getuid(void); } | |
373 | 200 NOARGS { gid_t|sys||getgid(void); } | 373 | 200 NOARGS { gid_t|sys||getgid(void); } | |
374 | 201 NOARGS { uid_t|sys||geteuid(void); } | 374 | 201 NOARGS { uid_t|sys||geteuid(void); } | |
375 | 202 NOARGS { gid_t|sys||getegid(void); } | 375 | 202 NOARGS { gid_t|sys||getegid(void); } | |
376 | 203 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); } | 376 | 203 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); } | |
377 | 204 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); } | 377 | 204 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); } | |
378 | 205 NOARGS { int|sys||getgroups(int gidsetsize, gid_t *gidset); } | 378 | 205 NOARGS { int|sys||getgroups(int gidsetsize, gid_t *gidset); } | |
379 | 206 NOARGS { int|sys||setgroups(int gidsetsize, gid_t *gidset); } | 379 | 206 NOARGS { int|sys||setgroups(int gidsetsize, gid_t *gidset); } | |
380 | 207 NOARGS { int|sys||__posix_fchown(int fd, uid_t uid, \ | 380 | 207 NOARGS { int|sys||__posix_fchown(int fd, uid_t uid, \ | |
381 | gid_t gid); } | 381 | gid_t gid); } | |
382 | 208 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \ | 382 | 208 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \ | |
383 | uid_t suid); } | 383 | uid_t suid); } | |
384 | 209 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \ | 384 | 209 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \ | |
385 | uid_t *suid); } | 385 | uid_t *suid); } | |
386 | 210 STD { int|linux_sys||setresgid(gid_t rgid, gid_t egid, \ | 386 | 210 STD { int|linux_sys||setresgid(gid_t rgid, gid_t egid, \ | |
387 | gid_t sgid); } | 387 | gid_t sgid); } | |
388 | 211 STD { int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \ | 388 | 211 STD { int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \ | |
389 | gid_t *sgid); } | 389 | gid_t *sgid); } | |
390 | 212 NOARGS { int|sys||__posix_lchown(const char *path, uid_t uid, \ | 390 | 212 NOARGS { int|sys||__posix_lchown(const char *path, uid_t uid, \ | |
391 | gid_t gid); } | 391 | gid_t gid); } | |
392 | 213 NOARGS { int|sys||setuid(uid_t uid); } | 392 | 213 NOARGS { int|sys||setuid(uid_t uid); } | |
393 | 214 NOARGS { int|sys||setgid(gid_t gid); } | 393 | 214 NOARGS { int|sys||setgid(gid_t gid); } | |
394 | 215 STD { int|linux_sys||setfsuid(uid_t uid); } | 394 | 215 STD { int|linux_sys||setfsuid(uid_t uid); } | |
395 | 216 STD { int|linux_sys||setfsgid(gid_t gid); } | 395 | 216 STD { int|linux_sys||setfsgid(gid_t gid); } | |
396 | 217 UNIMPL /* unused */ | 396 | 217 UNIMPL /* unused */ | |
397 | 218 UNIMPL /* unused */ | 397 | 218 UNIMPL /* unused */ | |
398 | 219 UNIMPL /* unused */ | 398 | 219 UNIMPL /* unused */ | |
399 | 220 STD { int|linux_sys||getdents64(int fd, \ | 399 | 220 STD { int|linux_sys||getdents64(int fd, \ | |
400 | struct linux_dirent64 *dent, unsigned int count); } | 400 | struct linux_dirent64 *dent, unsigned int count); } | |
401 | 221 NOARGS { pid_t|linux_sys||gettid(void); } | 401 | 221 NOARGS { pid_t|linux_sys||gettid(void); } | |
402 | 222 STD { int|linux_sys||tkill(int tid, int sig); } | 402 | 222 STD { int|linux_sys||tkill(int tid, int sig); } | |
403 | 223 STD { int|linux_sys||setxattr(char *path, char *name, \ | 403 | 223 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); } | |
405 | 224 STD { int|linux_sys||lsetxattr(char *path, char *name, \ | 405 | 224 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); } | |
407 | 225 STD { int|linux_sys||fsetxattr(int fd, char *name, \ | 407 | 225 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); } | |
409 | 226 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \ | 409 | 226 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \ | |
410 | void *value, size_t size); } | 410 | void *value, size_t size); } | |
411 | 227 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \ | 411 | 227 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \ | |
412 | void *value, size_t size); } | 412 | void *value, size_t size); } | |
413 | 228 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \ | 413 | 228 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \ | |
414 | void *value, size_t size); } | 414 | void *value, size_t size); } | |
415 | 229 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \ | 415 | 229 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \ | |
416 | size_t size); } | 416 | size_t size); } | |
417 | 230 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \ | 417 | 230 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \ | |
418 | size_t size); } | 418 | size_t size); } | |
419 | 231 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \ | 419 | 231 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \ | |
420 | size_t size); } | 420 | size_t size); } | |
421 | 232 STD { int|linux_sys||removexattr(char *path, char *name); } | 421 | 232 STD { int|linux_sys||removexattr(char *path, char *name); } | |
422 | 233 STD { int|linux_sys||lremovexattr(char *path, char *name); } | 422 | 233 STD { int|linux_sys||lremovexattr(char *path, char *name); } | |
423 | 234 STD { int|linux_sys||fremovexattr(int fd, char *name); } | 423 | 234 STD { int|linux_sys||fremovexattr(int fd, char *name); } | |
424 | 235 STD { int|linux_sys||futex(int *uaddr, int op, int val, \ | 424 | 235 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); } | |
427 | 236 UNIMPL sendfile64 | 427 | 236 UNIMPL sendfile64 | |
428 | 237 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } | 428 | 237 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } | |
429 | 238 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); } | 429 | 238 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); } | |
430 | 239 STD { int|linux_sys||fcntl64(int fd, int cmd, void *arg); } | 430 | 239 STD { int|linux_sys||fcntl64(int fd, int cmd, void *arg); } | |
431 | 240 UNIMPL readahead | 431 | 240 UNIMPL readahead | |
432 | 241 UNIMPL io_setup | 432 | 241 UNIMPL io_setup | |
433 | 242 UNIMPL io_destroy | 433 | 242 UNIMPL io_destroy | |
434 | 243 UNIMPL io_getevents | 434 | 243 UNIMPL io_getevents | |
435 | 244 UNIMPL io_submit | 435 | 244 UNIMPL io_submit | |
436 | 245 UNIMPL io_cancel | 436 | 245 UNIMPL io_cancel | |
437 | 246 STD { int|linux_sys||fadvise64(int fd, off_t offset, \ | 437 | 246 STD { int|linux_sys||fadvise64(int fd, off_t offset, \ | |
438 | size_t len, int advice); } | 438 | size_t len, int advice); } | |
439 | 247 UNIMPL exit_group | 439 | 247 UNIMPL exit_group | |
440 | 248 UNIMPL lookup_dcookie | 440 | 248 UNIMPL lookup_dcookie | |
441 | 249 UNIMPL epoll_create | 441 | 249 STD { int|linux_sys||epoll_create(int size); } | |
442 | 250 UNIMPL epoll_ctl | 442 | 250 STD { int|linux_sys||epoll_ctl(int epfd, int op, int fd, \ | |
443 | 251 UNIMPL epoll_wait | 443 | struct linux_epoll_event *event); } | |
444 | 251 STD { int|linux_sys||epoll_wait(int epfd, \ | |||
445 | struct linux_epoll_event *events, int maxevents, \ | |||
446 | int timeout); } | |||
444 | 252 UNIMPL remap_file_pages | 447 | 252 UNIMPL remap_file_pages | |
445 | 253 STD { int|linux_sys||set_tid_address(int *tid); } | 448 | 253 STD { int|linux_sys||set_tid_address(int *tid); } | |
446 | 254 STD { int|linux_sys||timer_create(clockid_t clockid, \ | 449 | 254 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); } | |
448 | 255 STD { int|linux_sys||timer_settime(timer_t timerid, \ | 451 | 255 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); } | |
451 | 256 STD { int|linux_sys||timer_gettime(timer_t timerid, \ | 454 | 256 STD { int|linux_sys||timer_gettime(timer_t timerid, \ | |
452 | struct linux_itimerspec *tim); } | 455 | struct linux_itimerspec *tim); } | |
453 | 257 NOARGS { int|sys||timer_getoverrun(timer_t timerid); } | 456 | 257 NOARGS { int|sys||timer_getoverrun(timer_t timerid); } | |
454 | 258 NOARGS { int|sys||timer_delete(timer_t timerid); } | 457 | 258 NOARGS { int|sys||timer_delete(timer_t timerid); } | |
455 | 259 STD { int|linux_sys||clock_settime(clockid_t which, \ | 458 | 259 STD { int|linux_sys||clock_settime(clockid_t which, \ | |
456 | struct linux_timespec *tp); } | 459 | struct linux_timespec *tp); } | |
457 | 260 STD { int|linux_sys||clock_gettime(clockid_t which, \ | 460 | 260 STD { int|linux_sys||clock_gettime(clockid_t which, \ | |
458 | struct linux_timespec *tp); } | 461 | struct linux_timespec *tp); } | |
459 | 261 STD { int|linux_sys||clock_getres(clockid_t which, \ | 462 | 261 STD { int|linux_sys||clock_getres(clockid_t which, \ | |
460 | struct linux_timespec *tp); } | 463 | struct linux_timespec *tp); } | |
461 | 262 STD { int|linux_sys||clock_nanosleep(clockid_t which, \ | 464 | 262 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); } | |
464 | 263 STD { int|linux_sys||statfs64(const char *path, \ | 467 | 263 STD { int|linux_sys||statfs64(const char *path, \ | |
465 | size_t sz, struct linux_statfs64 *sp); } | 468 | size_t sz, struct linux_statfs64 *sp); } | |
466 | 264 STD { int|linux_sys||fstatfs64(int fd, \ | 469 | 264 STD { int|linux_sys||fstatfs64(int fd, \ | |
467 | size_t sz, struct linux_statfs64 *sp); } | 470 | size_t sz, struct linux_statfs64 *sp); } | |
468 | 265 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); } | 471 | 265 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); } | |
469 | 266 NOARGS { int|compat_50_sys||utimes(const char *path, \ | 472 | 266 NOARGS { int|compat_50_sys||utimes(const char *path, \ | |
470 | const struct timeval50 *tptr); } | 473 | const struct timeval50 *tptr); } | |
471 | 267 STD { int|linux_sys||fadvise64_64(int fd, off_t offset, \ | 474 | 267 STD { int|linux_sys||fadvise64_64(int fd, off_t offset, \ | |
472 | off_t len, int advice); } | 475 | off_t len, int advice); } | |
473 | 268 UNIMPL mbind | 476 | 268 UNIMPL mbind | |
474 | 269 UNIMPL get_mempolicy | 477 | 269 UNIMPL get_mempolicy | |
475 | 270 UNIMPL set_mempolicy | 478 | 270 UNIMPL set_mempolicy | |
476 | 271 UNIMPL mq_open | 479 | 271 UNIMPL mq_open | |
477 | 272 UNIMPL mq_unlink | 480 | 272 UNIMPL mq_unlink | |
478 | 273 UNIMPL mq_timedsend | 481 | 273 UNIMPL mq_timedsend | |
479 | 274 UNIMPL mq_timedreceive | 482 | 274 UNIMPL mq_timedreceive | |
480 | 275 UNIMPL mq_notify | 483 | 275 UNIMPL mq_notify | |
481 | 276 UNIMPL mq_getsetattr | 484 | 276 UNIMPL mq_getsetattr | |
482 | 277 UNIMPL waitid | 485 | 277 UNIMPL waitid | |
483 | 278 UNIMPL vserver | 486 | 278 UNIMPL vserver | |
484 | 279 UNIMPL add_key | 487 | 279 UNIMPL add_key | |
485 | 280 UNIMPL request_key | 488 | 280 UNIMPL request_key | |
486 | 281 UNIMPL keyctl | 489 | 281 UNIMPL keyctl | |
487 | 282 UNIMPL ioprio_set | 490 | 282 UNIMPL ioprio_set | |
488 | 283 UNIMPL ioprio_get | 491 | 283 UNIMPL ioprio_get | |
489 | 284 UNIMPL inotify_init | 492 | 284 UNIMPL inotify_init | |
490 | 285 UNIMPL inotify_add_watch | 493 | 285 UNIMPL inotify_add_watch | |
491 | 286 UNIMPL inotify_rm_watch | 494 | 286 UNIMPL inotify_rm_watch | |
492 | 287 UNIMPL migrate_pages | 495 | 287 UNIMPL migrate_pages | |
493 | 288 STD { int|linux_sys||openat(int fd, const char *path, \ | 496 | 288 STD { int|linux_sys||openat(int fd, const char *path, \ | |
494 | int flags, ... linux_umode_t mode); } | 497 | int flags, ... linux_umode_t mode); } | |
495 | 289 NOARGS { int|sys||mkdirat(int fd, const char *path, \ | 498 | 289 NOARGS { int|sys||mkdirat(int fd, const char *path, \ | |
496 | linux_umode_t mode); } | 499 | linux_umode_t mode); } | |
497 | 290 STD { int|linux_sys||mknodat(int fd, const char *path, \ | 500 | 290 STD { int|linux_sys||mknodat(int fd, const char *path, \ | |
498 | linux_umode_t mode, unsigned dev); } | 501 | linux_umode_t mode, unsigned dev); } | |
499 | 291 STD { int|linux_sys||fchownat(int fd, const char *path, \ | 502 | 291 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); } | |
501 | 292 UNIMPL futimesat | 504 | 292 UNIMPL futimesat | |
502 | 293 STD { int|linux_sys||fstatat64(int fd, const char *path, \ | 505 | 293 STD { int|linux_sys||fstatat64(int fd, const char *path, \ | |
503 | struct linux_stat64 *sp, int flag); } | 506 | struct linux_stat64 *sp, int flag); } | |
504 | 294 STD { int|linux_sys||unlinkat(int fd, const char *path, \ | 507 | 294 STD { int|linux_sys||unlinkat(int fd, const char *path, \ | |
505 | int flag); } | 508 | int flag); } | |
506 | 295 NOARGS { int|sys||renameat(int fromfd, const char *from, \ | 509 | 295 NOARGS { int|sys||renameat(int fromfd, const char *from, \ | |
507 | int tofd, const char *to); } | 510 | int tofd, const char *to); } | |
508 | 296 STD { int|linux_sys||linkat(int fd1, const char *name1, \ | 511 | 296 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); } | |
510 | 297 NOARGS { int|sys||symlinkat(const char *path1, int fd, \ | 513 | 297 NOARGS { int|sys||symlinkat(const char *path1, int fd, \ | |
511 | const char *path2); } | 514 | const char *path2); } | |
512 | 298 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \ | 515 | 298 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \ | |
513 | char *buf, size_t bufsize); } | 516 | char *buf, size_t bufsize); } | |
514 | 299 STD { int|linux_sys||fchmodat(int fd, const char *path, \ | 517 | 299 STD { int|linux_sys||fchmodat(int fd, const char *path, \ | |
515 | linux_umode_t mode); } | 518 | linux_umode_t mode); } | |
516 | 300 STD { int|linux_sys||faccessat(int fd, const char *path, \ | 519 | 300 STD { int|linux_sys||faccessat(int fd, const char *path, \ | |
517 | int amode); } | 520 | int amode); } | |
518 | 301 STD { int|linux_sys||pselect6(int nfds, fd_set *readfds, \ | 521 | 301 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); } | |
522 | 302 STD { int|linux_sys||ppoll(struct pollfd *fds, u_int nfds, \ | 525 | 302 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); } | |
525 | 303 UNIMPL unshare | 528 | 303 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 | ; | |
531 | 304 NOARGS { int|sys||__futex_set_robust_list(void *head, \ | 534 | 304 NOARGS { int|sys||__futex_set_robust_list(void *head, \ | |
532 | size_t len); } | 535 | size_t len); } | |
533 | 305 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ | 536 | 305 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ | |
534 | void **headp, size_t *lenp); } | 537 | void **headp, size_t *lenp); } | |
535 | 306 UNIMPL splice | 538 | 306 UNIMPL splice | |
536 | 307 UNIMPL sync_file_range | 539 | 307 UNIMPL sync_file_range | |
537 | 308 UNIMPL tee | 540 | 308 UNIMPL tee | |
538 | 309 UNIMPL vmsplice | 541 | 309 UNIMPL vmsplice | |
539 | 310 UNIMPL move_pages | 542 | 310 UNIMPL move_pages | |
540 | 311 STD { int|linux_sys||sched_setaffinity(pid_t pid, \ | 543 | 311 STD { int|linux_sys||sched_setaffinity(pid_t pid, \ | |
541 | unsigned int len, unsigned long *mask); } | 544 | unsigned int len, unsigned long *mask); } | |
542 | 312 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ | 545 | 312 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ | |
543 | unsigned int len, unsigned long *mask); } | 546 | unsigned int len, unsigned long *mask); } | |
544 | 313 UNIMPL kexec_load | 547 | 313 UNIMPL kexec_load | |
545 | 314 UNIMPL getcpu | 548 | 314 UNIMPL getcpu | |
546 | 315 UNIMPL epoll_wait | 549 | 315 STD { int|linux_sys||epoll_pwait(int epfd, \ | |
550 | struct linux_epoll_event *events, int maxevents, \ | |||
551 | int timeout, const linux_sigset_t *sigmask); } | |||
547 | 316 STD { int|linux_sys||utimensat(int fd, const char *path, \ | 552 | 316 STD { int|linux_sys||utimensat(int fd, const char *path, \ | |
548 | struct linux_timespec *times, int flag); } | 553 | struct linux_timespec *times, int flag); } | |
549 | 317 UNIMPL signalfd | 554 | 317 UNIMPL signalfd | |
550 | 318 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ | 555 | 318 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ | |
551 | int flags); } | 556 | int flags); } | |
552 | 319 STD { int|linux_sys||eventfd(unsigned int initval); } | 557 | 319 STD { int|linux_sys||eventfd(unsigned int initval); } | |
553 | 320 STD { int|linux_sys||fallocate(int fd, int mode, \ | 558 | 320 STD { int|linux_sys||fallocate(int fd, int mode, \ | |
554 | off_t offset, off_t len); } | 559 | off_t offset, off_t len); } | |
555 | 321 STD { int|linux_sys||timerfd_settime(int fd, int flags, \ | 560 | 321 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); } | |
558 | 322 STD { int|linux_sys||timerfd_gettime(int fd, \ | 563 | 322 STD { int|linux_sys||timerfd_gettime(int fd, \ | |
559 | struct linux_itimerspec *tim); } | 564 | struct linux_itimerspec *tim); } | |
560 | 323 UNIMPL signalfd4 | 565 | 323 UNIMPL signalfd4 | |
561 | 324 STD { int|linux_sys||eventfd2(unsigned int initval, \ | 566 | 324 STD { int|linux_sys||eventfd2(unsigned int initval, \ | |
562 | int flags); } | 567 | int flags); } | |
563 | 325 UNIMPL epoll_create1 | 568 | 325 STD { int|linux_sys||epoll_create1(int flags); } | |
564 | 326 STD { int|linux_sys||dup3(int from, int to, int flags); } | 569 | 326 STD { int|linux_sys||dup3(int from, int to, int flags); } | |
565 | 327 STD { int|linux_sys||pipe2(int *pfds, int flags); } | 570 | 327 STD { int|linux_sys||pipe2(int *pfds, int flags); } | |
566 | 328 UNIMPL inotify_init1 | 571 | 328 UNIMPL inotify_init1 | |
567 | 329 STD { int|linux_sys||preadv(int fd, \ | 572 | 329 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); } | |
570 | 330 STD { int|linux_sys||pwritev(int fd, \ | 575 | 330 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); } | |
573 | 331 UNIMPL rt_tgsigqueueinfo | 578 | 331 UNIMPL rt_tgsigqueueinfo | |
574 | 332 UNIMPL perf_counter_open | 579 | 332 UNIMPL perf_counter_open | |
575 | 333 UNIMPL set_thread_area | 580 | 333 UNIMPL set_thread_area | |
576 | 334 UNIMPL get_thread_area | 581 | 334 UNIMPL get_thread_area | |
577 | 335 UNIMPL atomic_cmpxchg_32 | 582 | 335 UNIMPL atomic_cmpxchg_32 | |
578 | 336 UNIMPL atomic_barrier | 583 | 336 UNIMPL atomic_barrier | |
579 | 337 UNIMPL fanotify_init | 584 | 337 UNIMPL fanotify_init | |
580 | 338 UNIMPL fanotify_mark | 585 | 338 UNIMPL fanotify_mark | |
581 | 339 STD { int|linux_sys||prlimit64(pid_t pid, int which, \ | 586 | 339 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); } | |
583 | 340 UNIMPL name_to_handle_at | 588 | 340 UNIMPL name_to_handle_at | |
584 | 341 UNIMPL open_by_handle_at | 589 | 341 UNIMPL open_by_handle_at | |
585 | 342 UNIMPL clock_adjtime | 590 | 342 UNIMPL clock_adjtime | |
586 | 343 UNIMPL syncfs | 591 | 343 UNIMPL syncfs | |
587 | 344 UNIMPL setns | 592 | 344 UNIMPL setns | |
588 | 345 UNIMPL process_vm_readv | 593 | 345 UNIMPL process_vm_readv | |
589 | 346 UNIMPL process_vm_writev | 594 | 346 UNIMPL process_vm_writev | |
590 | 347 UNIMPL kcmp | 595 | 347 UNIMPL kcmp | |
591 | 348 UNIMPL finit_module | 596 | 348 UNIMPL finit_module | |
592 | 349 UNIMPL sched_setattr | 597 | 349 UNIMPL sched_setattr | |
593 | 350 UNIMPL sched_getattr | 598 | 350 UNIMPL sched_getattr | |
594 | 351 UNIMPL renameat2 | 599 | 351 UNIMPL renameat2 | |
595 | 352 NOARGS { ssize_t|sys||getrandom(void *buf, size_t buflen, \ | 600 | 352 NOARGS { ssize_t|sys||getrandom(void *buf, size_t buflen, \ | |
596 | unsigned int flags); } | 601 | unsigned int flags); } | |
597 | 353 UNIMPL memfd_create | 602 | 353 UNIMPL memfd_create | |
598 | 354 UNIMPL bpf | 603 | 354 UNIMPL bpf | |
599 | 355 UNIMPL execveat | 604 | 355 UNIMPL execveat | |
600 | 356 UNIMPL socket | 605 | 356 UNIMPL socket | |
601 | 357 UNIMPL socketpair | 606 | 357 UNIMPL socketpair | |
602 | 358 UNIMPL bind | 607 | 358 UNIMPL bind | |
603 | 359 UNIMPL connect | 608 | 359 UNIMPL connect | |
604 | 360 UNIMPL listen | 609 | 360 UNIMPL listen | |
605 | 361 STD { int|linux_sys||accept4(int s, \ | 610 | 361 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); } | |
608 | 362 UNIMPL getsockopt | 613 | 362 UNIMPL getsockopt | |
609 | 363 UNIMPL setsockopt | 614 | 363 UNIMPL setsockopt | |
610 | 364 UNIMPL getsockname | 615 | 364 UNIMPL getsockname | |
611 | 365 UNIMPL getpeername | 616 | 365 UNIMPL getpeername | |
612 | 366 UNIMPL sendto | 617 | 366 UNIMPL sendto | |
613 | 367 UNIMPL sendmsg | 618 | 367 UNIMPL sendmsg | |
614 | 368 UNIMPL recvfrom | 619 | 368 UNIMPL recvfrom | |
615 | 369 UNIMPL recvmsg | 620 | 369 UNIMPL recvmsg | |
616 | 370 UNIMPL shutdown | 621 | 370 UNIMPL shutdown | |
617 | 371 STD { int|linux_sys||recvmmsg(int s, \ | 622 | 371 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); } | |
620 | 372 STD { int|linux_sys||sendmmsg(int s, \ | 625 | 372 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); } | |
623 | 373 UNIMPL userfaultfd | 628 | 373 UNIMPL userfaultfd | |
624 | 374 UNIMPL membarrier | 629 | 374 UNIMPL membarrier | |
625 | 375 UNIMPL mlock2 | 630 | 375 UNIMPL mlock2 | |
626 | 376 UNIMPL copy_file_range | 631 | 376 UNIMPL copy_file_range | |
627 | 377 UNIMPL preadv2 | 632 | 377 UNIMPL preadv2 | |
628 | 378 UNIMPL pwritev2 | 633 | 378 UNIMPL pwritev2 | |
634 | 379 UNIMPL | |||
635 | 380 UNIMPL | |||
636 | 381 UNIMPL | |||
637 | 382 UNIMPL | |||
638 | 383 UNIMPL | |||
639 | 384 UNIMPL | |||
640 | 385 UNIMPL | |||
641 | 386 UNIMPL | |||
642 | 387 UNIMPL | |||
643 | 388 UNIMPL | |||
644 | 389 UNIMPL | |||
645 | 390 UNIMPL | |||
646 | 391 UNIMPL | |||
647 | 392 UNIMPL | |||
648 | 393 UNIMPL | |||
649 | 394 UNIMPL | |||
650 | 395 UNIMPL | |||
651 | 396 UNIMPL | |||
652 | 397 UNIMPL | |||
653 | 398 UNIMPL | |||
654 | 399 UNIMPL | |||
655 | 400 UNIMPL | |||
656 | 401 UNIMPL | |||
657 | 402 UNIMPL | |||
658 | 403 UNIMPL | |||
659 | 404 UNIMPL | |||
660 | 405 UNIMPL | |||
661 | 406 UNIMPL | |||
662 | 407 UNIMPL | |||
663 | 408 UNIMPL | |||
664 | 409 UNIMPL | |||
665 | 410 UNIMPL | |||
666 | 411 UNIMPL | |||
667 | 412 UNIMPL | |||
668 | 413 UNIMPL | |||
669 | 414 UNIMPL | |||
670 | 415 UNIMPL | |||
671 | 416 UNIMPL | |||
672 | 417 UNIMPL | |||
673 | 418 UNIMPL | |||
674 | 419 UNIMPL | |||
675 | 420 UNIMPL | |||
676 | 421 UNIMPL | |||
677 | 422 UNIMPL | |||
678 | 423 UNIMPL | |||
679 | 424 UNIMPL | |||
680 | 425 UNIMPL | |||
681 | 426 UNIMPL | |||
682 | 427 UNIMPL | |||
683 | 428 UNIMPL | |||
684 | 429 UNIMPL | |||
685 | 430 UNIMPL | |||
686 | 431 UNIMPL | |||
687 | 432 UNIMPL | |||
688 | 433 UNIMPL | |||
689 | 434 UNIMPL | |||
690 | 435 UNIMPL | |||
691 | 436 UNIMPL | |||
692 | 437 UNIMPL | |||
693 | 438 UNIMPL | |||
694 | 439 UNIMPL | |||
695 | 440 UNIMPL | |||
696 | 441 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); } |
--- 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 | |||
59 | 0 NOARGS { int|linux_sys||nosys(void); } syscall | 59 | 0 NOARGS { int|linux_sys||nosys(void); } syscall | |
60 | 1 STD { int|linux_sys||exit(int rval); } | 60 | 1 STD { int|linux_sys||exit(int rval); } | |
61 | 2 NOARGS { int|sys||fork(void); } | 61 | 2 NOARGS { int|sys||fork(void); } | |
62 | 3 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } | 62 | 3 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } | |
63 | 4 NOARGS { ssize_t|sys||write(int fd, const void *buf, \ | 63 | 4 NOARGS { ssize_t|sys||write(int fd, const void *buf, \ | |
64 | size_t nbyte); } | 64 | size_t nbyte); } | |
65 | 5 STD { int|linux_sys||open(const char *path, int flags, \ | 65 | 5 STD { int|linux_sys||open(const char *path, int flags, \ | |
66 | linux_umode_t mode); } | 66 | linux_umode_t mode); } | |
67 | 6 NOARGS { int|sys||close(int fd); } | 67 | 6 NOARGS { int|sys||close(int fd); } | |
68 | 7 STD { int|linux_sys||waitpid(int pid, int *status, \ | 68 | 7 STD { int|linux_sys||waitpid(int pid, int *status, \ | |
69 | int options);} | 69 | int options);} | |
70 | 8 STD { int|linux_sys||creat(const char *path, linux_umode_t mode); } | 70 | 8 STD { int|linux_sys||creat(const char *path, linux_umode_t mode); } | |
71 | 9 NOARGS { int|sys||link(const char *path, const char *link); } | 71 | 9 NOARGS { int|sys||link(const char *path, const char *link); } | |
72 | 10 STD { int|linux_sys||unlink(const char *path); } | 72 | 10 STD { int|linux_sys||unlink(const char *path); } | |
73 | 11 NOARGS { int|sys||execve(const char *path, char **argp, \ | 73 | 11 NOARGS { int|sys||execve(const char *path, char **argp, \ | |
74 | char **envp); } | 74 | char **envp); } | |
75 | 12 NOARGS { int|sys||chdir(const char *path); } | 75 | 12 NOARGS { int|sys||chdir(const char *path); } | |
76 | 13 STD { int|linux_sys||time(linux_time_t *t); } | 76 | 13 STD { int|linux_sys||time(linux_time_t *t); } | |
77 | 14 STD { int|linux_sys||mknod(const char *path, linux_umode_t mode, \ | 77 | 14 STD { int|linux_sys||mknod(const char *path, linux_umode_t mode, \ | |
78 | unsigned dev); } | 78 | unsigned dev); } | |
79 | 15 NOARGS { int|sys||chmod(const char *path, int mode); } | 79 | 15 NOARGS { int|sys||chmod(const char *path, int mode); } | |
80 | 16 NOARGS { int|sys||__posix_lchown(const char *path, uid_t uid, \ | 80 | 16 NOARGS { int|sys||__posix_lchown(const char *path, uid_t uid, \ | |
81 | gid_t gid); } | 81 | gid_t gid); } | |
82 | 17 UNIMPL | 82 | 17 UNIMPL | |
83 | 18 OBSOL ostat | 83 | 18 OBSOL ostat | |
84 | 19 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ | 84 | 19 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ | |
85 | int whence); } | 85 | int whence); } | |
86 | 20 NOARGS { pid_t|sys||getpid(void); } | 86 | 20 NOARGS { pid_t|sys||getpid(void); } | |
87 | 21 UNIMPL mount | 87 | 21 UNIMPL mount | |
88 | 22 OBSOL umount | 88 | 22 OBSOL umount | |
89 | 23 NOARGS { int|sys||setuid(uid_t uid); } | 89 | 23 NOARGS { int|sys||setuid(uid_t uid); } | |
90 | 24 NOARGS { uid_t|sys||getuid(void); } | 90 | 24 NOARGS { uid_t|sys||getuid(void); } | |
91 | 25 STD { int|linux_sys||stime(linux_time_t *t); } | 91 | 25 STD { int|linux_sys||stime(linux_time_t *t); } | |
92 | 26 STD { int|linux_sys||ptrace(long request, long pid, \ | 92 | 26 STD { int|linux_sys||ptrace(long request, long pid, \ | |
93 | long addr, long data); } | 93 | long addr, long data); } | |
94 | 27 STD { int|linux_sys||alarm(unsigned int secs); } | 94 | 27 STD { int|linux_sys||alarm(unsigned int secs); } | |
95 | 28 OBSOL ofstat | 95 | 28 OBSOL ofstat | |
96 | 29 STD { int|linux_sys||pause(void); } | 96 | 29 STD { int|linux_sys||pause(void); } | |
97 | 30 STD { int|linux_sys||utime(const char *path, \ | 97 | 30 STD { int|linux_sys||utime(const char *path, \ | |
98 | struct linux_utimbuf *times); } | 98 | struct linux_utimbuf *times); } | |
99 | 31 UNIMPL | 99 | 31 UNIMPL | |
100 | 32 UNIMPL | 100 | 32 UNIMPL | |
101 | 33 NOARGS { int|sys||access(const char *path, int flags); } | 101 | 33 NOARGS { int|sys||access(const char *path, int flags); } | |
102 | 34 STD { int|linux_sys||nice(int incr); } | 102 | 34 STD { int|linux_sys||nice(int incr); } | |
103 | 35 UNIMPL | 103 | 35 UNIMPL | |
104 | 36 NOARGS { int|sys||sync(void); } | 104 | 36 NOARGS { int|sys||sync(void); } | |
105 | 37 STD { int|linux_sys||kill(int pid, int signum); } | 105 | 37 STD { int|linux_sys||kill(int pid, int signum); } | |
106 | 38 NOARGS { int|sys||__posix_rename(const char *from, \ | 106 | 38 NOARGS { int|sys||__posix_rename(const char *from, \ | |
107 | const char *to); } | 107 | const char *to); } | |
108 | 39 NOARGS { int|sys||mkdir(const char *path, linux_umode_t mode); } | 108 | 39 NOARGS { int|sys||mkdir(const char *path, linux_umode_t mode); } | |
109 | 40 NOARGS { int|sys||rmdir(const char *path); } | 109 | 40 NOARGS { int|sys||rmdir(const char *path); } | |
110 | 41 NOARGS { int|sys||dup(int fd); } | 110 | 41 NOARGS { int|sys||dup(int fd); } | |
111 | 42 STD { int|linux_sys||pipe(int *pfds); } | 111 | 42 STD { int|linux_sys||pipe(int *pfds); } | |
112 | 43 STD { int|linux_sys||times(struct times *tms); } | 112 | 43 STD { int|linux_sys||times(struct times *tms); } | |
113 | 44 UNIMPL | 113 | 44 UNIMPL | |
114 | 45 STD { int|linux_sys||brk(char *nsize); } | 114 | 45 STD { int|linux_sys||brk(char *nsize); } | |
115 | 46 NOARGS { int|sys||setgid(gid_t gid); } | 115 | 46 NOARGS { int|sys||setgid(gid_t gid); } | |
116 | 47 NOARGS { gid_t|sys||getgid(void); } | 116 | 47 NOARGS { gid_t|sys||getgid(void); } | |
117 | 48 STD { int|linux_sys||signal(int signum, \ | 117 | 48 STD { int|linux_sys||signal(int signum, \ | |
118 | linux___sighandler_t handler); } | 118 | linux___sighandler_t handler); } | |
119 | 49 NOARGS { uid_t|sys||geteuid(void); } | 119 | 49 NOARGS { uid_t|sys||geteuid(void); } | |
120 | 50 NOARGS { gid_t|sys||getegid(void); } | 120 | 50 NOARGS { gid_t|sys||getegid(void); } | |
121 | 51 NOARGS { int|sys||acct(char *path); } | 121 | 51 NOARGS { int|sys||acct(char *path); } | |
122 | 52 UNIMPL umount | 122 | 52 UNIMPL umount | |
123 | 53 UNIMPL | 123 | 53 UNIMPL | |
124 | 54 STD { int|linux_sys||ioctl(int fd, u_long com, \ | 124 | 54 STD { int|linux_sys||ioctl(int fd, u_long com, \ | |
125 | void *data); } | 125 | void *data); } | |
126 | 55 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); } | 126 | 55 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); } | |
127 | 56 OBSOL mpx | 127 | 56 OBSOL mpx | |
128 | 57 NOARGS { int|sys||setpgid(int pid, int pgid); } | 128 | 57 NOARGS { int|sys||setpgid(int pid, int pgid); } | |
129 | 58 UNIMPL | 129 | 58 UNIMPL | |
130 | 59 STD { int|linux_sys||olduname(struct linux_old_utsname \ | 130 | 59 STD { int|linux_sys||olduname(struct linux_old_utsname \ | |
131 | *up); } | 131 | *up); } | |
132 | 60 NOARGS { int|sys||umask(int newmask); } | 132 | 60 NOARGS { int|sys||umask(int newmask); } | |
133 | 61 NOARGS { int|sys||chroot(char *path); } | 133 | 61 NOARGS { int|sys||chroot(char *path); } | |
134 | 62 UNIMPL ustat | 134 | 62 UNIMPL ustat | |
135 | 63 NOARGS { int|sys||dup2(int from, int to); } | 135 | 63 NOARGS { int|sys||dup2(int from, int to); } | |
136 | 64 NOARGS { pid_t|sys||getppid(void); } | 136 | 64 NOARGS { pid_t|sys||getppid(void); } | |
137 | 65 NOARGS { int|sys||getpgrp(void); } | 137 | 65 NOARGS { int|sys||getpgrp(void); } | |
138 | 66 NOARGS { int|sys||setsid(void); } | 138 | 66 NOARGS { int|sys||setsid(void); } | |
139 | 67 STD { int|linux_sys||sigaction(int signum, \ | 139 | 67 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); } | |
142 | 68 STD { int|linux_sys||siggetmask(void); } | 142 | 68 STD { int|linux_sys||siggetmask(void); } | |
143 | 69 STD { int|linux_sys||sigsetmask(linux_old_sigset_t mask); } | 143 | 69 STD { int|linux_sys||sigsetmask(linux_old_sigset_t mask); } | |
144 | 70 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); } | 144 | 70 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); } | |
145 | 71 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); } | 145 | 71 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); } | |
146 | 72 STD { int|linux_sys||sigsuspend(void *restart, \ | 146 | 72 STD { int|linux_sys||sigsuspend(void *restart, \ | |
147 | int oldmask, int mask); } | 147 | int oldmask, int mask); } | |
148 | 73 STD { int|linux_sys||sigpending(linux_old_sigset_t *set); } | 148 | 73 STD { int|linux_sys||sigpending(linux_old_sigset_t *set); } | |
149 | 74 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ | 149 | 74 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ | |
150 | u_int len);} | 150 | u_int len);} | |
151 | 75 STD { int|linux_sys||setrlimit(u_int which, \ | 151 | 75 STD { int|linux_sys||setrlimit(u_int which, \ | |
152 | struct orlimit *rlp); } | 152 | struct orlimit *rlp); } | |
153 | 76 STD { int|linux_sys||getrlimit(u_int which, \ | 153 | 76 STD { int|linux_sys||getrlimit(u_int which, \ | |
154 | struct orlimit *rlp); } | 154 | struct orlimit *rlp); } | |
155 | 77 NOARGS { int|compat_50_sys||getrusage(int who, \ | 155 | 77 NOARGS { int|compat_50_sys||getrusage(int who, \ | |
156 | struct rusage50 *rusage); } | 156 | struct rusage50 *rusage); } | |
157 | 78 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \ | 157 | 78 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \ | |
158 | struct timezone *tzp); } | 158 | struct timezone *tzp); } | |
159 | 79 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \ | 159 | 79 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \ | |
160 | struct timezone *tzp); } | 160 | struct timezone *tzp); } | |
161 | 80 NOARGS { int|sys||getgroups(int gidsetsize, gid_t *gidset); } | 161 | 80 NOARGS { int|sys||getgroups(int gidsetsize, gid_t *gidset); } | |
162 | 81 NOARGS { int|sys||setgroups(int gidsetsize, gid_t *gidset); } | 162 | 81 NOARGS { int|sys||setgroups(int gidsetsize, gid_t *gidset); } | |
163 | 82 UNIMPL old_select | 163 | 82 UNIMPL old_select | |
164 | 83 NOARGS { int|sys||symlink(const char *path, const char *to); } | 164 | 83 NOARGS { int|sys||symlink(const char *path, const char *to); } | |
165 | 84 NOARGS { int|compat_43_sys||lstat(const char *path, \ | 165 | 84 NOARGS { int|compat_43_sys||lstat(const char *path, \ | |
166 | struct stat43 *up); } oolstat | 166 | struct stat43 *up); } oolstat | |
167 | 85 NOARGS { ssize_t|sys||readlink(const char *path, char *buf, \ | 167 | 85 NOARGS { ssize_t|sys||readlink(const char *path, char *buf, \ | |
168 | int count); } | 168 | int count); } | |
169 | 86 UNIMPL uselib | 169 | 86 UNIMPL uselib | |
170 | ;86 STD { int|linux_sys||uselib(const char *path); } | 170 | ;86 STD { int|linux_sys||uselib(const char *path); } | |
171 | 87 STD { int|linux_sys||swapon(char *name); } | 171 | 87 STD { int|linux_sys||swapon(char *name); } | |
172 | 88 STD { int|linux_sys||reboot(int magic1, int magic2, \ | 172 | 88 STD { int|linux_sys||reboot(int magic1, int magic2, \ | |
173 | int cmd, void *arg); } | 173 | int cmd, void *arg); } | |
174 | 89 STD { int|linux_sys||readdir(int fd, void *dent, \ | 174 | 89 STD { int|linux_sys||readdir(int fd, void *dent, \ | |
175 | unsigned int count); } | 175 | unsigned int count); } | |
176 | 90 NOARGS { int|linux_sys||mmap(unsigned long addr, size_t len, \ | 176 | 90 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); } | |
178 | 91 NOARGS { int|sys||munmap(void *addr, size_t len); } | 178 | 91 NOARGS { int|sys||munmap(void *addr, size_t len); } | |
179 | 92 NOARGS { int|compat_43_sys||truncate(const char *path, \ | 179 | 92 NOARGS { int|compat_43_sys||truncate(const char *path, \ | |
180 | long length); } | 180 | long length); } | |
181 | 93 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } | 181 | 93 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } | |
182 | 94 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); } | 182 | 94 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); } | |
183 | 95 NOARGS { int|sys||__posix_fchown(int fd, uid_t uid, \ | 183 | 95 NOARGS { int|sys||__posix_fchown(int fd, uid_t uid, \ | |
184 | gid_t gid); } | 184 | gid_t gid); } | |
185 | 96 STD { int|linux_sys||getpriority(int which, int who); } | 185 | 96 STD { int|linux_sys||getpriority(int which, int who); } | |
186 | 97 NOARGS { int|sys||setpriority(int which, int who, int prio); } | 186 | 97 NOARGS { int|sys||setpriority(int which, int who, int prio); } | |
187 | 98 UNIMPL | 187 | 98 UNIMPL | |
188 | 99 STD { int|linux_sys||statfs(const char *path, \ | 188 | 99 STD { int|linux_sys||statfs(const char *path, \ | |
189 | struct linux_statfs *sp); } | 189 | struct linux_statfs *sp); } | |
190 | 100 STD { int|linux_sys||fstatfs(int fd, \ | 190 | 100 STD { int|linux_sys||fstatfs(int fd, \ | |
191 | struct linux_statfs *sp); } | 191 | struct linux_statfs *sp); } | |
192 | 101 STD { int|linux_sys||ioperm(unsigned int lo, \ | 192 | 101 STD { int|linux_sys||ioperm(unsigned int lo, \ | |
193 | unsigned int hi, int val); } | 193 | unsigned int hi, int val); } | |
194 | 102 STD { int|linux_sys||socketcall(int what, void *args); } | 194 | 102 STD { int|linux_sys||socketcall(int what, void *args); } | |
195 | 103 UNIMPL syslog | 195 | 103 UNIMPL syslog | |
196 | 104 NOARGS { int|compat_50_sys||setitimer(int which, \ | 196 | 104 NOARGS { int|compat_50_sys||setitimer(int which, \ | |
197 | struct itimerval50 *itv, \ | 197 | struct itimerval50 *itv, \ | |
198 | struct itimerval50 *oitv); } | 198 | struct itimerval50 *oitv); } | |
199 | 105 NOARGS { int|compat_50_sys||getitimer(int which, \ | 199 | 105 NOARGS { int|compat_50_sys||getitimer(int which, \ | |
200 | struct itimerval50 *itv); } | 200 | struct itimerval50 *itv); } | |
201 | 106 STD { int|linux_sys||stat(const char *path, \ | 201 | 106 STD { int|linux_sys||stat(const char *path, \ | |
202 | struct linux_stat *sp); } | 202 | struct linux_stat *sp); } | |
203 | 107 STD { int|linux_sys||lstat(const char *path, \ | 203 | 107 STD { int|linux_sys||lstat(const char *path, \ | |
204 | struct linux_stat *sp); } | 204 | struct linux_stat *sp); } | |
205 | 108 STD { int|linux_sys||fstat(int fd, struct linux_stat *sp); } | 205 | 108 STD { int|linux_sys||fstat(int fd, struct linux_stat *sp); } | |
206 | 109 STD { int|linux_sys||uname(struct linux_utsname *up); } | 206 | 109 STD { int|linux_sys||uname(struct linux_utsname *up); } | |
207 | 110 UNIMPL iopl | 207 | 110 UNIMPL iopl | |
208 | 111 UNIMPL vhangup | 208 | 111 UNIMPL vhangup | |
209 | 112 UNIMPL idle | 209 | 112 UNIMPL idle | |
210 | 113 UNIMPL vm86old | 210 | 113 UNIMPL vm86old | |
211 | 114 STD { int|linux_sys||wait4(int pid, int *status, \ | 211 | 114 STD { int|linux_sys||wait4(int pid, int *status, \ | |
212 | int options, struct rusage50 *rusage); } | 212 | int options, struct rusage50 *rusage); } | |
213 | 115 STD { int|linux_sys||swapoff(const char *path); } | 213 | 115 STD { int|linux_sys||swapoff(const char *path); } | |
214 | 116 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); } | 214 | 116 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); } | |
215 | 117 STD { int|linux_sys||ipc(int what, long a1, long a2, \ | 215 | 117 STD { int|linux_sys||ipc(int what, long a1, long a2, \ | |
216 | long a3, void *ptr); } | 216 | long a3, void *ptr); } | |
217 | 118 NOARGS { int|sys||fsync(int fd); } | 217 | 118 NOARGS { int|sys||fsync(int fd); } | |
218 | 119 STD { int|linux_sys||sigreturn(struct linux_sigframe *sf); } | 218 | 119 STD { int|linux_sys||sigreturn(struct linux_sigframe *sf); } | |
219 | 120 STD { int|linux_sys||clone(int flags, void *stack, \ | 219 | 120 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); } | |
221 | 121 STD { int|linux_sys||setdomainname(char *domainname, \ | 221 | 121 STD { int|linux_sys||setdomainname(char *domainname, \ | |
222 | int len); } | 222 | int len); } | |
223 | 122 STD { int|linux_sys||new_uname(struct linux_utsname *up); } | 223 | 122 STD { int|linux_sys||new_uname(struct linux_utsname *up); } | |
224 | 123 UNIMPL modify_ldt | 224 | 123 UNIMPL modify_ldt | |
225 | 124 UNIMPL adjtimex | 225 | 124 UNIMPL adjtimex | |
226 | 125 STD { int|linux_sys||mprotect(const void *start, \ | 226 | 125 STD { int|linux_sys||mprotect(const void *start, \ | |
227 | unsigned long len, int prot); } | 227 | unsigned long len, int prot); } | |
228 | 126 STD { int|linux_sys||sigprocmask(int how, \ | 228 | 126 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); } | |
231 | 127 UNIMPL create_module | 231 | 127 UNIMPL create_module | |
232 | 128 UNIMPL init_module | 232 | 128 UNIMPL init_module | |
233 | 129 UNIMPL delete_module | 233 | 129 UNIMPL delete_module | |
234 | 130 UNIMPL get_kernel_syms | 234 | 130 UNIMPL get_kernel_syms | |
235 | 131 UNIMPL quotactl | 235 | 131 UNIMPL quotactl | |
236 | 132 NOARGS { pid_t|sys||getpgid(pid_t pid); } | 236 | 132 NOARGS { pid_t|sys||getpgid(pid_t pid); } | |
237 | 133 NOARGS { int|sys||fchdir(int fd); } | 237 | 133 NOARGS { int|sys||fchdir(int fd); } | |
238 | 134 UNIMPL bdflush | 238 | 134 UNIMPL bdflush | |
239 | 135 UNIMPL sysfs | 239 | 135 UNIMPL sysfs | |
240 | 136 STD { int|linux_sys||personality(unsigned long per); } | 240 | 136 STD { int|linux_sys||personality(unsigned long per); } | |
241 | 137 UNIMPL afs_syscall | 241 | 137 UNIMPL afs_syscall | |
242 | 138 STD { int|linux_sys||setfsuid(uid_t uid); } | 242 | 138 STD { int|linux_sys||setfsuid(uid_t uid); } | |
243 | 139 STD { int|linux_sys||setfsgid(gid_t gid); } | 243 | 139 STD { int|linux_sys||setfsgid(gid_t gid); } | |
244 | 140 STD { int|linux_sys||llseek(int fd, u_int32_t ohigh, \ | 244 | 140 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); } | |
246 | 141 STD { int|linux_sys||getdents(int fd, \ | 246 | 141 STD { int|linux_sys||getdents(int fd, \ | |
247 | struct linux_dirent *dent, unsigned int count); } | 247 | struct linux_dirent *dent, unsigned int count); } | |
248 | 142 STD { int|linux_sys||select(int nfds, fd_set *readfds, \ | 248 | 142 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); } | |
251 | 143 NOARGS { int|sys||flock(int fd, int how); } | 251 | 143 NOARGS { int|sys||flock(int fd, int how); } | |
252 | 144 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } | 252 | 144 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } | |
253 | 145 NOARGS { ssize_t|sys||readv(int fd, \ | 253 | 145 NOARGS { ssize_t|sys||readv(int fd, \ | |
254 | const struct iovec *iovp, int iovcnt); } | 254 | const struct iovec *iovp, int iovcnt); } | |
255 | 146 NOARGS { ssize_t|sys||writev(int fd, \ | 255 | 146 NOARGS { ssize_t|sys||writev(int fd, \ | |
256 | const struct iovec *iovp, int iovcnt); } | 256 | const struct iovec *iovp, int iovcnt); } | |
257 | 147 STD { int|linux_sys||cacheflush(void *addr, \ | 257 | 147 STD { int|linux_sys||cacheflush(void *addr, \ | |
258 | int bytes, int cache); } | 258 | int bytes, int cache); } | |
259 | 148 UNIMPL cachectl | 259 | 148 UNIMPL cachectl | |
260 | 149 STD { int|linux_sys||sysmips(long cmd, long arg1, \ | 260 | 149 STD { int|linux_sys||sysmips(long cmd, long arg1, \ | |
261 | long arg2, long arg3); } | 261 | long arg2, long arg3); } | |
262 | 150 UNIMPL | 262 | 150 UNIMPL | |
263 | 151 NOARGS { pid_t|sys||getsid(pid_t pid); } | 263 | 151 NOARGS { pid_t|sys||getsid(pid_t pid); } | |
264 | 152 STD { int|linux_sys||fdatasync(int fd); } | 264 | 152 STD { int|linux_sys||fdatasync(int fd); } | |
265 | 153 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); } | 265 | 153 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); } | |
266 | 154 NOARGS { int|sys||mlock(void *addr, size_t len); } | 266 | 154 NOARGS { int|sys||mlock(void *addr, size_t len); } | |
267 | 155 NOARGS { int|sys||munlock(void *addr, size_t len); } | 267 | 155 NOARGS { int|sys||munlock(void *addr, size_t len); } | |
268 | 156 NOARGS { int|sys||mlockall(int flags); } | 268 | 156 NOARGS { int|sys||mlockall(int flags); } | |
269 | 157 NOARGS { int|sys||munlockall(void); } | 269 | 157 NOARGS { int|sys||munlockall(void); } | |
270 | 158 STD { int|linux_sys||sched_setparam(pid_t pid, \ | 270 | 158 STD { int|linux_sys||sched_setparam(pid_t pid, \ | |
271 | const struct linux_sched_param *sp); } | 271 | const struct linux_sched_param *sp); } | |
272 | 159 STD { int|linux_sys||sched_getparam(pid_t pid, \ | 272 | 159 STD { int|linux_sys||sched_getparam(pid_t pid, \ | |
273 | struct linux_sched_param *sp); } | 273 | struct linux_sched_param *sp); } | |
274 | 160 STD { int|linux_sys||sched_setscheduler(pid_t pid, \ | 274 | 160 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); } | |
276 | 161 STD { int|linux_sys||sched_getscheduler(pid_t pid); } | 276 | 161 STD { int|linux_sys||sched_getscheduler(pid_t pid); } | |
277 | 162 STD { int|linux_sys||sched_yield(void); } | 277 | 162 STD { int|linux_sys||sched_yield(void); } | |
278 | 163 STD { int|linux_sys||sched_get_priority_max(int policy); } | 278 | 163 STD { int|linux_sys||sched_get_priority_max(int policy); } | |
279 | 164 STD { int|linux_sys||sched_get_priority_min(int policy); } | 279 | 164 STD { int|linux_sys||sched_get_priority_min(int policy); } | |
280 | 165 UNIMPL sched_rr_get_interval | 280 | 165 UNIMPL sched_rr_get_interval | |
281 | 166 STD { int|linux_sys||nanosleep( \ | 281 | 166 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); } | |
284 | 167 STD { void *|linux_sys||mremap(void *old_address, \ | 284 | 167 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); } | |
286 | 168 STD { int|linux_sys||accept(int s, \ | 286 | 168 STD { int|linux_sys||accept(int s, \ | |
287 | struct osockaddr *name, int *anamelen); } | 287 | struct osockaddr *name, int *anamelen); } | |
288 | 169 STD { int|linux_sys||bind(int s, \ | 288 | 169 STD { int|linux_sys||bind(int s, \ | |
289 | const struct osockaddr *name, int namelen); } | 289 | const struct osockaddr *name, int namelen); } | |
290 | 170 STD { int|linux_sys||connect(int s, \ | 290 | 170 STD { int|linux_sys||connect(int s, \ | |
291 | const struct osockaddr *name, int namelen); } | 291 | const struct osockaddr *name, int namelen); } | |
292 | 171 STD { int|linux_sys||getpeername(int fdes, void *asa, \ | 292 | 171 STD { int|linux_sys||getpeername(int fdes, void *asa, \ | |
293 | int *alen); } | 293 | int *alen); } | |
294 | 172 STD { int|linux_sys||getsockname(int fdes, void *asa, \ | 294 | 172 STD { int|linux_sys||getsockname(int fdes, void *asa, \ | |
295 | int *alen); } | 295 | int *alen); } | |
296 | 173 STD { int|linux_sys||getsockopt(int s, int level, \ | 296 | 173 STD { int|linux_sys||getsockopt(int s, int level, \ | |
297 | int optname, void *optval, int *optlen); } | 297 | int optname, void *optval, int *optlen); } | |
298 | 174 NOARGS { int|sys||listen(int s, int backlog); } | 298 | 174 NOARGS { int|sys||listen(int s, int backlog); } | |
299 | 175 STD { int|linux_sys||recv(int s, void *buf, int len, \ | 299 | 175 STD { int|linux_sys||recv(int s, void *buf, int len, \ | |
300 | int flags); } | 300 | int flags); } | |
301 | 176 STD { int|linux_sys||recvfrom(int s, void *buf, int len, \ | 301 | 176 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); } | |
304 | 177 STD { int|linux_sys||recvmsg(int s, \ | 304 | 177 STD { int|linux_sys||recvmsg(int s, \ | |
305 | struct linux_msghdr *msg, u_int flags); } | 305 | struct linux_msghdr *msg, u_int flags); } | |
306 | 178 STD { int|linux_sys||send(int s, void *buf, int len, \ | 306 | 178 STD { int|linux_sys||send(int s, void *buf, int len, \ | |
307 | int flags); } | 307 | int flags); } | |
308 | 179 STD { int|linux_sys||sendmsg(int s, \ | 308 | 179 STD { int|linux_sys||sendmsg(int s, \ | |
309 | struct linux_msghdr *msg, u_int flags); } | 309 | struct linux_msghdr *msg, u_int flags); } | |
310 | 180 STD { int|linux_sys||sendto(int s, void *msg, \ | 310 | 180 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); } | |
313 | 181 STD { int|linux_sys||setsockopt(int s, int level, \ | 313 | 181 STD { int|linux_sys||setsockopt(int s, int level, \ | |
314 | int optname, void *optval, int optlen); } | 314 | int optname, void *optval, int optlen); } | |
315 | 182 UNIMPL shutdown | 315 | 182 UNIMPL shutdown | |
316 | 183 STD { int|linux_sys||socket(int domain, int type, \ | 316 | 183 STD { int|linux_sys||socket(int domain, int type, \ | |
317 | int protocol); } | 317 | int protocol); } | |
318 | 184 STD { int|linux_sys||socketpair(int domain, int type, \ | 318 | 184 STD { int|linux_sys||socketpair(int domain, int type, \ | |
319 | int protocol, int *rsv); } | 319 | int protocol, int *rsv); } | |
320 | 185 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \ | 320 | 185 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \ | |
321 | uid_t suid); } | 321 | uid_t suid); } | |
322 | 186 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \ | 322 | 186 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \ | |
323 | uid_t *suid); } | 323 | uid_t *suid); } | |
324 | 187 UNIMPL query_module | 324 | 187 UNIMPL query_module | |
325 | 188 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ | 325 | 188 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ | |
326 | int timeout); } | 326 | int timeout); } | |
327 | 189 UNIMPL nfsservctl | 327 | 189 UNIMPL nfsservctl | |
328 | 190 STD { int|linux_sys||setresgid(gid_t rgid, gid_t egid, \ | 328 | 190 STD { int|linux_sys||setresgid(gid_t rgid, gid_t egid, \ | |
329 | gid_t sgid); } | 329 | gid_t sgid); } | |
330 | 191 STD { int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \ | 330 | 191 STD { int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \ | |
331 | gid_t *sgid); } | 331 | gid_t *sgid); } | |
332 | 192 UNIMPL prctl | 332 | 192 UNIMPL prctl | |
333 | 193 STD { int|linux_sys||rt_sigreturn( \ | 333 | 193 STD { int|linux_sys||rt_sigreturn( \ | |
334 | struct linux_pt_regs *regs); } | 334 | struct linux_pt_regs *regs); } | |
335 | 194 STD { int|linux_sys||rt_sigaction(int signum, \ | 335 | 194 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); } | |
339 | 195 STD { int|linux_sys||rt_sigprocmask(int how, \ | 339 | 195 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); } | |
343 | 196 STD { int|linux_sys||rt_sigpending( \ | 343 | 196 STD { int|linux_sys||rt_sigpending( \ | |
344 | linux_sigset_t *set, \ | 344 | linux_sigset_t *set, \ | |
345 | size_t sigsetsize); } | 345 | size_t sigsetsize); } | |
346 | 197 STD { int|linux_sys||rt_sigtimedwait( \ | 346 | 197 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); } | |
350 | 198 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \ | 350 | 198 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \ | |
351 | linux_siginfo_t *uinfo); } | 351 | linux_siginfo_t *uinfo); } | |
352 | 199 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \ | 352 | 199 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \ | |
353 | size_t sigsetsize); } | 353 | size_t sigsetsize); } | |
354 | 200 STD { int|linux_sys||pread(int fd, char *buf, \ | 354 | 200 STD { int|linux_sys||pread(int fd, char *buf, \ | |
355 | size_t nbyte, off_t offset); } | 355 | size_t nbyte, off_t offset); } | |
356 | 201 STD { int|linux_sys||pwrite(int fd, char *buf, \ | 356 | 201 STD { int|linux_sys||pwrite(int fd, char *buf, \ | |
357 | size_t nbyte, off_t offset); } | 357 | size_t nbyte, off_t offset); } | |
358 | 202 NOARGS { int|sys||__posix_chown(const char *path, uid_t uid, \ | 358 | 202 NOARGS { int|sys||__posix_chown(const char *path, uid_t uid, \ | |
359 | gid_t gid); } | 359 | gid_t gid); } | |
360 | 203 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } | 360 | 203 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } | |
361 | 204 UNIMPL capget | 361 | 204 UNIMPL capget | |
362 | 205 UNIMPL capset | 362 | 205 UNIMPL capset | |
363 | 206 STD { int|linux_sys||sigaltstack( \ | 363 | 206 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); } | |
366 | 207 UNIMPL sendfile | 366 | 207 UNIMPL sendfile | |
367 | 208 UNIMPL | 367 | 208 UNIMPL | |
368 | 209 UNIMPL | 368 | 209 UNIMPL | |
369 | #define linux_sys_mmap2_args linux_sys_mmap_args | 369 | #define linux_sys_mmap2_args linux_sys_mmap_args | |
370 | 210 NOARGS { linux_off_t|linux_sys||mmap2(unsigned long addr, \ | 370 | 210 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); } | |
373 | 211 STD { int|linux_sys||truncate64(const char *path, \ | 373 | 211 STD { int|linux_sys||truncate64(const char *path, \ | |
374 | off_t length); } | 374 | off_t length); } | |
375 | 212 STD { int|linux_sys||ftruncate64(unsigned int fd, \ | 375 | 212 STD { int|linux_sys||ftruncate64(unsigned int fd, \ | |
376 | off_t length); } | 376 | off_t length); } | |
377 | 213 STD { int|linux_sys||stat64(const char *path, \ | 377 | 213 STD { int|linux_sys||stat64(const char *path, \ | |
378 | struct linux_stat64 *sp); } | 378 | struct linux_stat64 *sp); } | |
379 | 214 STD { int|linux_sys||lstat64(const char *path, \ | 379 | 214 STD { int|linux_sys||lstat64(const char *path, \ | |
380 | struct linux_stat64 *sp); } | 380 | struct linux_stat64 *sp); } | |
381 | 215 STD { int|linux_sys||fstat64(int fd, \ | 381 | 215 STD { int|linux_sys||fstat64(int fd, \ | |
382 | struct linux_stat64 *sp); } | 382 | struct linux_stat64 *sp); } | |
383 | 216 UNIMPL pivot_root | 383 | 216 UNIMPL pivot_root | |
384 | 217 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } | 384 | 217 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } | |
385 | 218 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); } | 385 | 218 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); } | |
386 | 219 STD { int|linux_sys||getdents64(int fd, \ | 386 | 219 STD { int|linux_sys||getdents64(int fd, \ | |
387 | struct linux_dirent64 *dent, unsigned int count); } | 387 | struct linux_dirent64 *dent, unsigned int count); } | |
388 | 220 STD { int|linux_sys||fcntl64(int fd, \ | 388 | 220 STD { int|linux_sys||fcntl64(int fd, \ | |
389 | int cmd, void *arg); } | 389 | int cmd, void *arg); } | |
390 | 221 UNIMPL /* reserved */ | 390 | 221 UNIMPL /* reserved */ | |
391 | 222 NOARGS { pid_t|linux_sys||gettid(void); } | 391 | 222 NOARGS { pid_t|linux_sys||gettid(void); } | |
392 | 223 UNIMPL readahead | 392 | 223 UNIMPL readahead | |
393 | 224 STD { int|linux_sys||setxattr(char *path, char *name, \ | 393 | 224 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); } | |
395 | 225 STD { int|linux_sys||lsetxattr(char *path, char *name, \ | 395 | 225 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); } | |
397 | 226 STD { int|linux_sys||fsetxattr(int fd, char *name, \ | 397 | 226 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); } | |
399 | 227 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \ | 399 | 227 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \ | |
400 | void *value, size_t size); } | 400 | void *value, size_t size); } | |
401 | 228 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \ | 401 | 228 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \ | |
402 | void *value, size_t size); } | 402 | void *value, size_t size); } | |
403 | 229 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \ | 403 | 229 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \ | |
404 | void *value, size_t size); } | 404 | void *value, size_t size); } | |
405 | 230 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \ | 405 | 230 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \ | |
406 | size_t size); } | 406 | size_t size); } | |
407 | 231 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \ | 407 | 231 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \ | |
408 | size_t size); } | 408 | size_t size); } | |
409 | 232 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \ | 409 | 232 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \ | |
410 | size_t size); } | 410 | size_t size); } | |
411 | 233 STD { int|linux_sys||removexattr(char *path, char *name); } | 411 | 233 STD { int|linux_sys||removexattr(char *path, char *name); } | |
412 | 234 STD { int|linux_sys||lremovexattr(char *path, char *name); } | 412 | 234 STD { int|linux_sys||lremovexattr(char *path, char *name); } | |
413 | 235 STD { int|linux_sys||fremovexattr(int fd, char *name); } | 413 | 235 STD { int|linux_sys||fremovexattr(int fd, char *name); } | |
414 | 236 STD { int|linux_sys||tkill(int tid, int sig); } | 414 | 236 STD { int|linux_sys||tkill(int tid, int sig); } | |
415 | 237 UNIMPL sendfile64 | 415 | 237 UNIMPL sendfile64 | |
416 | 238 STD { int|linux_sys||futex(int *uaddr, int op, int val, \ | 416 | 238 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); } | |
419 | 239 STD { int|linux_sys||sched_setaffinity(pid_t pid, \ | 419 | 239 STD { int|linux_sys||sched_setaffinity(pid_t pid, \ | |
420 | unsigned int len, unsigned long *mask); } | 420 | unsigned int len, unsigned long *mask); } | |
421 | 240 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ | 421 | 240 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ | |
422 | unsigned int len, unsigned long *mask); } | 422 | unsigned int len, unsigned long *mask); } | |
423 | 241 UNIMPL io_setup | 423 | 241 UNIMPL io_setup | |
424 | 242 UNIMPL io_destroy | 424 | 242 UNIMPL io_destroy | |
425 | 243 UNIMPL io_getevents | 425 | 243 UNIMPL io_getevents | |
426 | 244 UNIMPL io_submit | 426 | 244 UNIMPL io_submit | |
427 | 245 UNIMPL io_cancel | 427 | 245 UNIMPL io_cancel | |
428 | 246 STD { int|linux_sys||exit_group(int error_code); } | 428 | 246 STD { int|linux_sys||exit_group(int error_code); } | |
429 | 247 UNIMPL lookup_dcookie | 429 | 247 UNIMPL lookup_dcookie | |
430 | 248 UNIMPL epoll_create | 430 | 248 STD { int|linux_sys||epoll_create(int size); } | |
431 | 249 UNIMPL epoll_ctl | 431 | 249 STD { int|linux_sys||epoll_ctl(int epfd, int op, int fd, \ | |
432 | 250 UNIMPL epoll_wait | 432 | struct linux_epoll_event *event); } | |
433 | 250 STD { int|linux_sys||epoll_wait(int epfd, \ | |||
434 | struct linux_epoll_event *events, int maxevents, \ | |||
435 | int timeout); } | |||
433 | 251 UNIMPL remap_file_pages | 436 | 251 UNIMPL remap_file_pages | |
434 | 252 STD { int|linux_sys||set_tid_address(int *tid); } | 437 | 252 STD { int|linux_sys||set_tid_address(int *tid); } | |
435 | 253 UNIMPL restart_syscall | 438 | 253 UNIMPL restart_syscall | |
436 | 254 STD { int|linux_sys||fadvise64(int fd, off_t offset, \ | 439 | 254 STD { int|linux_sys||fadvise64(int fd, off_t offset, \ | |
437 | size_t len, int advice); } | 440 | size_t len, int advice); } | |
438 | 255 STD { int|linux_sys||statfs64(const char *path, \ | 441 | 255 STD { int|linux_sys||statfs64(const char *path, \ | |
439 | size_t sz, struct linux_statfs64 *sp); } | 442 | size_t sz, struct linux_statfs64 *sp); } | |
440 | 256 STD { int|linux_sys||fstatfs64(int fd, \ | 443 | 256 STD { int|linux_sys||fstatfs64(int fd, \ | |
441 | size_t sz, struct linux_statfs64 *sp); } | 444 | size_t sz, struct linux_statfs64 *sp); } | |
442 | 257 STD { int|linux_sys||timer_create(clockid_t clockid, \ | 445 | 257 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); } | |
444 | 258 STD { int|linux_sys||timer_settime(timer_t timerid, \ | 447 | 258 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); } | |
447 | 259 STD { int|linux_sys||timer_gettime(timer_t timerid, \ | 450 | 259 STD { int|linux_sys||timer_gettime(timer_t timerid, \ | |
448 | struct linux_itimerspec *tim); } | 451 | struct linux_itimerspec *tim); } | |
449 | 260 NOARGS { int|sys||timer_getoverrun(timer_t timerid); } | 452 | 260 NOARGS { int|sys||timer_getoverrun(timer_t timerid); } | |
450 | 261 NOARGS { int|sys||timer_delete(timer_t timerid); } | 453 | 261 NOARGS { int|sys||timer_delete(timer_t timerid); } | |
451 | 262 STD { int|linux_sys||clock_settime(clockid_t which, \ | 454 | 262 STD { int|linux_sys||clock_settime(clockid_t which, \ | |
452 | struct linux_timespec *tp); } | 455 | struct linux_timespec *tp); } | |
453 | 263 STD { int|linux_sys||clock_gettime(clockid_t which, \ | 456 | 263 STD { int|linux_sys||clock_gettime(clockid_t which, \ | |
454 | struct linux_timespec *tp); } | 457 | struct linux_timespec *tp); } | |
455 | 264 STD { int|linux_sys||clock_getres(clockid_t which, \ | 458 | 264 STD { int|linux_sys||clock_getres(clockid_t which, \ | |
456 | struct linux_timespec *tp); } | 459 | struct linux_timespec *tp); } | |
457 | 265 STD { int|linux_sys||clock_nanosleep(clockid_t which, \ | 460 | 265 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); } | |
460 | 266 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); } | 463 | 266 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); } | |
461 | 267 NOARGS { int|compat_50_sys||utimes(const char *path, \ | 464 | 267 NOARGS { int|compat_50_sys||utimes(const char *path, \ | |
462 | const struct timeval50 *tptr); } | 465 | const struct timeval50 *tptr); } | |
463 | 268 UNIMPL mbind | 466 | 268 UNIMPL mbind | |
464 | 269 UNIMPL get_mempolicy | 467 | 269 UNIMPL get_mempolicy | |
465 | 270 UNIMPL set_mempolicy | 468 | 270 UNIMPL set_mempolicy | |
466 | 271 UNIMPL mq_open | 469 | 271 UNIMPL mq_open | |
467 | 272 UNIMPL mq_unlink | 470 | 272 UNIMPL mq_unlink | |
468 | 273 UNIMPL mq_timedsend | 471 | 273 UNIMPL mq_timedsend | |
469 | 274 UNIMPL mq_timedreceive | 472 | 274 UNIMPL mq_timedreceive | |
470 | 275 UNIMPL mq_notify | 473 | 275 UNIMPL mq_notify | |
471 | 276 UNIMPL mq_getsetattr | 474 | 276 UNIMPL mq_getsetattr | |
472 | 277 UNIMPL vserve | 475 | 277 UNIMPL vserve | |
473 | 278 UNIMPL waitid | 476 | 278 UNIMPL waitid | |
474 | 279 UNIMPL setaltroot | 477 | 279 UNIMPL setaltroot | |
475 | 280 UNIMPL add_key | 478 | 280 UNIMPL add_key | |
476 | 281 UNIMPL request_key | 479 | 281 UNIMPL request_key | |
477 | 282 UNIMPL keyctl | 480 | 282 UNIMPL keyctl | |
478 | 283 STD { int|linux_sys||set_thread_area(void *tls); } | 481 | 283 STD { int|linux_sys||set_thread_area(void *tls); } | |
479 | 284 UNIMPL inotify_init | 482 | 284 UNIMPL inotify_init | |
480 | 285 UNIMPL inotify_add_watch | 483 | 285 UNIMPL inotify_add_watch | |
481 | 286 UNIMPL inotify_rm_watch | 484 | 286 UNIMPL inotify_rm_watch | |
482 | 287 UNIMPL migrate_pages | 485 | 287 UNIMPL migrate_pages | |
483 | 288 STD { int|linux_sys||openat(int fd, const char *path, \ | 486 | 288 STD { int|linux_sys||openat(int fd, const char *path, \ | |
484 | int flags, ... linux_umode_t mode); } | 487 | int flags, ... linux_umode_t mode); } | |
485 | 289 NOARGS { int|sys||mkdirat(int fd, const char *path, \ | 488 | 289 NOARGS { int|sys||mkdirat(int fd, const char *path, \ | |
486 | linux_umode_t mode); } | 489 | linux_umode_t mode); } | |
487 | 290 STD { int|linux_sys||mknodat(int fd, const char *path, \ | 490 | 290 STD { int|linux_sys||mknodat(int fd, const char *path, \ | |
488 | linux_umode_t mode, unsigned dev); } | 491 | linux_umode_t mode, unsigned dev); } | |
489 | 291 STD { int|linux_sys||fchownat(int fd, const char *path, \ | 492 | 291 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); } | |
491 | 292 UNIMPL futimesat | 494 | 292 UNIMPL futimesat | |
492 | 293 STD { int|linux_sys||fstatat64(int fd, const char *path, \ | 495 | 293 STD { int|linux_sys||fstatat64(int fd, const char *path, \ | |
493 | struct linux_stat64 *sp, int flag); } | 496 | struct linux_stat64 *sp, int flag); } | |
494 | 294 STD { int|linux_sys||unlinkat(int fd, const char *path, \ | 497 | 294 STD { int|linux_sys||unlinkat(int fd, const char *path, \ | |
495 | int flag); } | 498 | int flag); } | |
496 | 295 NOARGS { int|sys||renameat(int fromfd, const char *from, \ | 499 | 295 NOARGS { int|sys||renameat(int fromfd, const char *from, \ | |
497 | int tofd, const char *to); } | 500 | int tofd, const char *to); } | |
498 | 296 STD { int|linux_sys||linkat(int fd1, const char *name1, \ | 501 | 296 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); } | |
500 | 297 NOARGS { int|sys||symlinkat(const char *path1, int fd, \ | 503 | 297 NOARGS { int|sys||symlinkat(const char *path1, int fd, \ | |
501 | const char *path2); } | 504 | const char *path2); } | |
502 | 298 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \ | 505 | 298 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \ | |
503 | char *buf, size_t bufsize); } | 506 | char *buf, size_t bufsize); } | |
504 | 299 STD { int|linux_sys||fchmodat(int fd, const char *path, \ | 507 | 299 STD { int|linux_sys||fchmodat(int fd, const char *path, \ | |
505 | linux_umode_t mode); } | 508 | linux_umode_t mode); } | |
506 | 300 STD { int|linux_sys||faccessat(int fd, const char *path, \ | 509 | 300 STD { int|linux_sys||faccessat(int fd, const char *path, \ | |
507 | int amode); } | 510 | int amode); } | |
508 | 301 STD { int|linux_sys||pselect6(int nfds, fd_set *readfds, \ | 511 | 301 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); } | |
512 | 302 STD { int|linux_sys||ppoll(struct pollfd *fds, u_int nfds, \ | 515 | 302 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); } | |
515 | 303 UNIMPL unshare | 518 | 303 UNIMPL unshare | |
516 | 304 UNIMPL splice | 519 | 304 UNIMPL splice | |
517 | 305 UNIMPL sync_file_range | 520 | 305 UNIMPL sync_file_range | |
518 | 306 UNIMPL tee | 521 | 306 UNIMPL tee | |
519 | 307 UNIMPL vmsplice | 522 | 307 UNIMPL vmsplice | |
520 | 308 UNIMPL move_pages | 523 | 308 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 | ; | |
526 | 309 NOARGS { int|sys||__futex_set_robust_list(void *head, \ | 529 | 309 NOARGS { int|sys||__futex_set_robust_list(void *head, \ | |
527 | size_t len); } | 530 | size_t len); } | |
528 | 310 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ | 531 | 310 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ | |
529 | void **headp, size_t *lenp); } | 532 | void **headp, size_t *lenp); } | |
530 | 311 UNIMPL kexec_load | 533 | 311 UNIMPL kexec_load | |
531 | 312 UNIMPL getcpu | 534 | 312 UNIMPL getcpu | |
532 | 313 UNIMPL epoll_pwait | 535 | 313 STD { int|linux_sys||epoll_pwait(int epfd, \ | |
536 | struct linux_epoll_event *events, int maxevents, \ | |||
537 | int timeout, const linux_sigset_t *sigmask); } | |||
533 | 314 UNIMPL ioprio_set | 538 | 314 UNIMPL ioprio_set | |
534 | 315 UNIMPL ioprio_get | 539 | 315 UNIMPL ioprio_get | |
535 | 316 STD { int|linux_sys||utimensat(int fd, const char *path, \ | 540 | 316 STD { int|linux_sys||utimensat(int fd, const char *path, \ | |
536 | struct linux_timespec *times, int flag); } | 541 | struct linux_timespec *times, int flag); } | |
537 | 317 UNIMPL signalfd | 542 | 317 UNIMPL signalfd | |
538 | 318 UNIMPL timerfd | 543 | 318 UNIMPL timerfd | |
539 | 319 STD { int|linux_sys||eventfd(unsigned int initval); } | 544 | 319 STD { int|linux_sys||eventfd(unsigned int initval); } | |
540 | 320 STD { int|linux_sys||fallocate(int fd, int mode, \ | 545 | 320 STD { int|linux_sys||fallocate(int fd, int mode, \ | |
541 | off_t offset, off_t len); } | 546 | off_t offset, off_t len); } | |
542 | 321 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ | 547 | 321 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ | |
543 | int flags); } | 548 | int flags); } | |
544 | 322 STD { int|linux_sys||timerfd_gettime(int fd, \ | 549 | 322 STD { int|linux_sys||timerfd_gettime(int fd, \ | |
545 | struct linux_itimerspec *tim); } | 550 | struct linux_itimerspec *tim); } | |
546 | 323 STD { int|linux_sys||timerfd_settime(int fd, int flags, \ | 551 | 323 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); } | |
549 | 324 UNIMPL signalfd4 | 554 | 324 UNIMPL signalfd4 | |
550 | 325 STD { int|linux_sys||eventfd2(unsigned int initval, \ | 555 | 325 STD { int|linux_sys||eventfd2(unsigned int initval, \ | |
551 | int flags); } | 556 | int flags); } | |
552 | 326 UNIMPL epoll_create1 | 557 | 326 STD { int|linux_sys||epoll_create1(int flags); } | |
553 | 327 STD { int|linux_sys||dup3(int from, int to, int flags); } | 558 | 327 STD { int|linux_sys||dup3(int from, int to, int flags); } | |
554 | 328 STD { int|linux_sys||pipe2(int *pfds, int flags); } | 559 | 328 STD { int|linux_sys||pipe2(int *pfds, int flags); } | |
555 | 329 UNIMPL inotify_init1 | 560 | 329 UNIMPL inotify_init1 | |
556 | 330 STD { int|linux_sys||preadv(int fd, \ | 561 | 330 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); } | |
559 | 331 STD { int|linux_sys||pwritev(int fd, \ | 564 | 331 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); } | |
562 | 332 UNIMPL rt_tgsigqueueinfo | 567 | 332 UNIMPL rt_tgsigqueueinfo | |
563 | 333 UNIMPL perf_event_open | 568 | 333 UNIMPL perf_event_open | |
564 | 334 STD { int|linux_sys||accept4(int s, \ | 569 | 334 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); } | |
567 | 335 STD { int|linux_sys||recvmmsg(int s, \ | 572 | 335 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); } | |
570 | 336 UNIMPL getdents64 | 575 | 336 UNIMPL getdents64 | |
571 | 337 UNIMPL fanotify_init | 576 | 337 UNIMPL fanotify_init | |
572 | 338 UNIMPL fanotify_mark | 577 | 338 UNIMPL fanotify_mark | |
573 | 339 STD { int|linux_sys||prlimit64(pid_t pid, int which, \ | 578 | 339 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); } | |
575 | 340 UNIMPL name_to_handle_at | 580 | 340 UNIMPL name_to_handle_at | |
576 | 341 UNIMPL open_by_handle_at | 581 | 341 UNIMPL open_by_handle_at | |
577 | 342 UNIMPL clock_adjtime | 582 | 342 UNIMPL clock_adjtime | |
578 | 343 UNIMPL syncfs | 583 | 343 UNIMPL syncfs | |
579 | 344 STD { int|linux_sys||sendmmsg(int s, \ | 584 | 344 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); } | |
582 | 345 UNIMPL setns | 587 | 345 UNIMPL setns | |
583 | 346 UNIMPL process_vm_readv | 588 | 346 UNIMPL process_vm_readv | |
584 | 347 UNIMPL process_vm_writev | 589 | 347 UNIMPL process_vm_writev | |
585 | 348 UNIMPL kcmp | 590 | 348 UNIMPL kcmp | |
586 | 349 UNIMPL finit_module | 591 | 349 UNIMPL finit_module | |
587 | 350 UNIMPL sched_setattr | 592 | 350 UNIMPL sched_setattr | |
588 | 351 UNIMPL sched_getattr | 593 | 351 UNIMPL sched_getattr | |
589 | 352 UNIMPL renameat2 | 594 | 352 UNIMPL renameat2 | |
590 | 353 UNIMPL seccomp | 595 | 353 UNIMPL seccomp | |
591 | 354 NOARGS { ssize_t|sys||getrandom(void *buf, size_t buflen, \ | 596 | 354 NOARGS { ssize_t|sys||getrandom(void *buf, size_t buflen, \ | |
592 | unsigned int flags); } | 597 | unsigned int flags); } | |
593 | 355 UNIMPL memfd_create | 598 | 355 UNIMPL memfd_create | |
594 | 356 UNIMPL bpf | 599 | 356 UNIMPL bpf | |
595 | 357 UNIMPL execveat | 600 | 357 UNIMPL execveat | |
596 | 358 UNIMPL userfaultfd | 601 | 358 UNIMPL userfaultfd | |
597 | 359 UNIMPL membarrier | 602 | 359 UNIMPL membarrier | |
598 | 360 UNIMPL mlock2 | 603 | 360 UNIMPL mlock2 | |
599 | 361 UNIMPL copy_file_range | 604 | 361 UNIMPL copy_file_range | |
600 | 362 UNIMPL preadv2 | 605 | 362 UNIMPL preadv2 | |
601 | 363 UNIMPL pwritev2 | 606 | 363 UNIMPL pwritev2 | |
602 | 364 UNIMPL pkey_mprotect | 607 | 364 UNIMPL pkey_mprotect | |
603 | 365 UNIMPL pkey_alloc | 608 | 365 UNIMPL pkey_alloc | |
604 | 366 UNIMPL pkey_free | 609 | 366 UNIMPL pkey_free | |
605 | 610 | 367 UNIMPL | ||
611 | 368 UNIMPL | |||
612 | 369 UNIMPL | |||
613 | 370 UNIMPL | |||
614 | 371 UNIMPL | |||
615 | 372 UNIMPL | |||
616 | 373 UNIMPL | |||
617 | 374 UNIMPL | |||
618 | 375 UNIMPL | |||
619 | 376 UNIMPL | |||
620 | 377 UNIMPL | |||
621 | 378 UNIMPL | |||
622 | 379 UNIMPL | |||
623 | 380 UNIMPL | |||
624 | 381 UNIMPL | |||
625 | 382 UNIMPL | |||
626 | 383 UNIMPL | |||
627 | 384 UNIMPL | |||
628 | 385 UNIMPL | |||
629 | 386 UNIMPL | |||
630 | 387 UNIMPL | |||
631 | 388 UNIMPL | |||
632 | 389 UNIMPL | |||
633 | 390 UNIMPL | |||
634 | 391 UNIMPL | |||
635 | 392 UNIMPL | |||
636 | 393 UNIMPL | |||
637 | 394 UNIMPL | |||
638 | 395 UNIMPL | |||
639 | 396 UNIMPL | |||
640 | 397 UNIMPL | |||
641 | 398 UNIMPL | |||
642 | 399 UNIMPL | |||
643 | 400 UNIMPL | |||
644 | 401 UNIMPL | |||
645 | 402 UNIMPL | |||
646 | 403 UNIMPL | |||
647 | 404 UNIMPL | |||
648 | 405 UNIMPL | |||
649 | 406 UNIMPL | |||
650 | 407 UNIMPL | |||
651 | 408 UNIMPL | |||
652 | 409 UNIMPL | |||
653 | 410 UNIMPL | |||
654 | 411 UNIMPL | |||
655 | 412 UNIMPL | |||
656 | 413 UNIMPL | |||
657 | 414 UNIMPL | |||
658 | 415 UNIMPL | |||
659 | 416 UNIMPL | |||
660 | 417 UNIMPL | |||
661 | 418 UNIMPL | |||
662 | 419 UNIMPL | |||
663 | 420 UNIMPL | |||
664 | 421 UNIMPL | |||
665 | 422 UNIMPL | |||
666 | 423 UNIMPL | |||
667 | 424 UNIMPL | |||
668 | 425 UNIMPL | |||
669 | 426 UNIMPL | |||
670 | 427 UNIMPL | |||
671 | 428 UNIMPL | |||
672 | 429 UNIMPL | |||
673 | 430 UNIMPL | |||
674 | 431 UNIMPL | |||
675 | 432 UNIMPL | |||
676 | 433 UNIMPL | |||
677 | 434 UNIMPL | |||
678 | 435 UNIMPL | |||
679 | 436 UNIMPL | |||
680 | 437 UNIMPL | |||
681 | 438 UNIMPL | |||
682 | 439 UNIMPL | |||
683 | 440 UNIMPL | |||
684 | 441 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); } |
--- 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 | |||
82 | 0 NOARGS { int|linux_sys||nosys(void); } syscall | 82 | 0 NOARGS { int|linux_sys||nosys(void); } syscall | |
83 | 1 STD { int|linux_sys||exit(int rval); } | 83 | 1 STD { int|linux_sys||exit(int rval); } | |
84 | 2 NOARGS { int|sys||fork(void); } | 84 | 2 NOARGS { int|sys||fork(void); } | |
85 | 3 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } | 85 | 3 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } | |
86 | 4 NOARGS { ssize_t|sys||write(int fd, const void *buf, \ | 86 | 4 NOARGS { ssize_t|sys||write(int fd, const void *buf, \ | |
87 | size_t nbyte); } | 87 | size_t nbyte); } | |
88 | 5 STD { int|linux_sys||open(const char *path, int flags, \ | 88 | 5 STD { int|linux_sys||open(const char *path, int flags, \ | |
89 | linux_umode_t mode); } | 89 | linux_umode_t mode); } | |
90 | 6 NOARGS { int|sys||close(int fd); } | 90 | 6 NOARGS { int|sys||close(int fd); } | |
91 | 7 STD { int|linux_sys||waitpid(int pid, int *status, \ | 91 | 7 STD { int|linux_sys||waitpid(int pid, int *status, \ | |
92 | int options);} | 92 | int options);} | |
93 | 8 STD { int|linux_sys||creat(const char *path, linux_umode_t mode); } | 93 | 8 STD { int|linux_sys||creat(const char *path, linux_umode_t mode); } | |
94 | 9 NOARGS { int|sys||link(const char *path, const char *link); } | 94 | 9 NOARGS { int|sys||link(const char *path, const char *link); } | |
95 | 10 STD { int|linux_sys||unlink(const char *path); } | 95 | 10 STD { int|linux_sys||unlink(const char *path); } | |
96 | 11 NOARGS { int|sys||execve(const char *path, char **argp, \ | 96 | 11 NOARGS { int|sys||execve(const char *path, char **argp, \ | |
97 | char **envp); } | 97 | char **envp); } | |
98 | 12 NOARGS { int|sys||chdir(const char *path); } | 98 | 12 NOARGS { int|sys||chdir(const char *path); } | |
99 | 13 STD { int|linux_sys||time(linux_time_t *t); } | 99 | 13 STD { int|linux_sys||time(linux_time_t *t); } | |
100 | 14 STD { int|linux_sys||mknod(const char *path, linux_umode_t mode, \ | 100 | 14 STD { int|linux_sys||mknod(const char *path, linux_umode_t mode, \ | |
101 | unsigned dev); } | 101 | unsigned dev); } | |
102 | 15 NOARGS { int|sys||chmod(const char *path, int mode); } | 102 | 15 NOARGS { int|sys||chmod(const char *path, int mode); } | |
103 | 16 NOARGS { int|sys||__posix_lchown(const char *path, uid_t uid, \ | 103 | 16 NOARGS { int|sys||__posix_lchown(const char *path, uid_t uid, \ | |
104 | gid_t gid); } | 104 | gid_t gid); } | |
105 | 17 OBSOL break | 105 | 17 OBSOL break | |
106 | 18 OBSOL ostat | 106 | 18 OBSOL ostat | |
107 | 19 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ | 107 | 19 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ | |
108 | int whence); } | 108 | int whence); } | |
109 | 20 NOARGS { pid_t|sys||getpid(void); } | 109 | 20 NOARGS { pid_t|sys||getpid(void); } | |
110 | 21 UNIMPL mount | 110 | 21 UNIMPL mount | |
111 | 22 OBSOL umount | 111 | 22 OBSOL umount | |
112 | 23 NOARGS { int|sys||setuid(uid_t uid); } | 112 | 23 NOARGS { int|sys||setuid(uid_t uid); } | |
113 | 24 NOARGS { uid_t|sys||getuid(void); } | 113 | 24 NOARGS { uid_t|sys||getuid(void); } | |
114 | 25 STD { int|linux_sys||stime(linux_time_t *t); } | 114 | 25 STD { int|linux_sys||stime(linux_time_t *t); } | |
115 | 26 STD { int|linux_sys||ptrace(int request, int pid, \ | 115 | 26 STD { int|linux_sys||ptrace(int request, int pid, \ | |
116 | long addr, long data); } | 116 | long addr, long data); } | |
117 | 27 STD { int|linux_sys||alarm(unsigned int secs); } | 117 | 27 STD { int|linux_sys||alarm(unsigned int secs); } | |
118 | 28 OBSOL ofstat | 118 | 28 OBSOL ofstat | |
119 | 29 STD { int|linux_sys||pause(void); } | 119 | 29 STD { int|linux_sys||pause(void); } | |
120 | 30 STD { int|linux_sys||utime(const char *path, \ | 120 | 30 STD { int|linux_sys||utime(const char *path, \ | |
121 | struct linux_utimbuf *times); } | 121 | struct linux_utimbuf *times); } | |
122 | 31 OBSOL stty | 122 | 31 OBSOL stty | |
123 | 32 OBSOL gtty | 123 | 32 OBSOL gtty | |
124 | 33 NOARGS { int|sys||access(const char *path, int flags); } | 124 | 33 NOARGS { int|sys||access(const char *path, int flags); } | |
125 | 34 STD { int|linux_sys||nice(int incr); } | 125 | 34 STD { int|linux_sys||nice(int incr); } | |
126 | 35 OBSOL ftime | 126 | 35 OBSOL ftime | |
127 | 36 NOARGS { int|sys||sync(void); } | 127 | 36 NOARGS { int|sys||sync(void); } | |
128 | 37 STD { int|linux_sys||kill(int pid, int signum); } | 128 | 37 STD { int|linux_sys||kill(int pid, int signum); } | |
129 | 38 NOARGS { int|sys||__posix_rename(const char *from, \ | 129 | 38 NOARGS { int|sys||__posix_rename(const char *from, \ | |
130 | const char *to); } | 130 | const char *to); } | |
131 | 39 NOARGS { int|sys||mkdir(const char *path, linux_umode_t mode); } | 131 | 39 NOARGS { int|sys||mkdir(const char *path, linux_umode_t mode); } | |
132 | 40 NOARGS { int|sys||rmdir(const char *path); } | 132 | 40 NOARGS { int|sys||rmdir(const char *path); } | |
133 | 41 NOARGS { int|sys||dup(int fd); } | 133 | 41 NOARGS { int|sys||dup(int fd); } | |
134 | 42 STD { int|linux_sys||pipe(int *pfds); } | 134 | 42 STD { int|linux_sys||pipe(int *pfds); } | |
135 | 43 STD { int|linux_sys||times(struct times *tms); } | 135 | 43 STD { int|linux_sys||times(struct times *tms); } | |
136 | 44 OBSOL prof | 136 | 44 OBSOL prof | |
137 | 45 STD { int|linux_sys||brk(char *nsize); } | 137 | 45 STD { int|linux_sys||brk(char *nsize); } | |
138 | 46 NOARGS { int|sys||setgid(gid_t gid); } | 138 | 46 NOARGS { int|sys||setgid(gid_t gid); } | |
139 | 47 NOARGS { gid_t|sys||getgid(void); } | 139 | 47 NOARGS { gid_t|sys||getgid(void); } | |
140 | 48 STD { int|linux_sys||signal(int signum, \ | 140 | 48 STD { int|linux_sys||signal(int signum, \ | |
141 | linux_handler_t handler); } | 141 | linux_handler_t handler); } | |
142 | 49 NOARGS { uid_t|sys||geteuid(void); } | 142 | 49 NOARGS { uid_t|sys||geteuid(void); } | |
143 | 50 NOARGS { gid_t|sys||getegid(void); } | 143 | 50 NOARGS { gid_t|sys||getegid(void); } | |
144 | 51 NOARGS { int|sys||acct(char *path); } | 144 | 51 NOARGS { int|sys||acct(char *path); } | |
145 | 52 UNIMPL umount | 145 | 52 UNIMPL umount | |
146 | 53 OBSOL lock | 146 | 53 OBSOL lock | |
147 | 54 STD { int|linux_sys||ioctl(int fd, u_long com, \ | 147 | 54 STD { int|linux_sys||ioctl(int fd, u_long com, \ | |
148 | void *data); } | 148 | void *data); } | |
149 | 55 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); } | 149 | 55 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); } | |
150 | 56 OBSOL mpx | 150 | 56 OBSOL mpx | |
151 | 57 NOARGS { int|sys||setpgid(int pid, int pgid); } | 151 | 57 NOARGS { int|sys||setpgid(int pid, int pgid); } | |
152 | 58 OBSOL ulimit | 152 | 58 OBSOL ulimit | |
153 | 59 STD { int|linux_sys||olduname(struct linux_old_utsname \ | 153 | 59 STD { int|linux_sys||olduname(struct linux_old_utsname \ | |
154 | *up); } | 154 | *up); } | |
155 | 60 NOARGS { int|sys||umask(int newmask); } | 155 | 60 NOARGS { int|sys||umask(int newmask); } | |
156 | 61 NOARGS { int|sys||chroot(char *path); } | 156 | 61 NOARGS { int|sys||chroot(char *path); } | |
157 | 62 UNIMPL ustat | 157 | 62 UNIMPL ustat | |
158 | 63 NOARGS { int|sys||dup2(int from, int to); } | 158 | 63 NOARGS { int|sys||dup2(int from, int to); } | |
159 | 64 NOARGS { pid_t|sys||getppid(void); } | 159 | 64 NOARGS { pid_t|sys||getppid(void); } | |
160 | 65 NOARGS { int|sys||getpgrp(void); } | 160 | 65 NOARGS { int|sys||getpgrp(void); } | |
161 | 66 NOARGS { int|sys||setsid(void); } | 161 | 66 NOARGS { int|sys||setsid(void); } | |
162 | 67 STD { int|linux_sys||sigaction(int signum, \ | 162 | 67 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); } | |
165 | 68 STD { int|linux_sys||siggetmask(void); } | 165 | 68 STD { int|linux_sys||siggetmask(void); } | |
166 | 69 STD { int|linux_sys||sigsetmask(linux_old_sigset_t mask); } | 166 | 69 STD { int|linux_sys||sigsetmask(linux_old_sigset_t mask); } | |
167 | 70 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); } | 167 | 70 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); } | |
168 | 71 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); } | 168 | 71 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); } | |
169 | 72 STD { int|linux_sys||sigsuspend(void *restart, \ | 169 | 72 STD { int|linux_sys||sigsuspend(void *restart, \ | |
170 | int oldmask, int mask); } | 170 | int oldmask, int mask); } | |
171 | 73 STD { int|linux_sys||sigpending(linux_old_sigset_t *set); } | 171 | 73 STD { int|linux_sys||sigpending(linux_old_sigset_t *set); } | |
172 | 74 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ | 172 | 74 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ | |
173 | u_int len);} | 173 | u_int len);} | |
174 | 75 STD { int|linux_sys||setrlimit(u_int which, \ | 174 | 75 STD { int|linux_sys||setrlimit(u_int which, \ | |
175 | struct orlimit *rlp); } | 175 | struct orlimit *rlp); } | |
176 | 76 STD { int|linux_sys||getrlimit(u_int which, \ | 176 | 76 STD { int|linux_sys||getrlimit(u_int which, \ | |
177 | struct orlimit *rlp); } | 177 | struct orlimit *rlp); } | |
178 | 77 NOARGS { int|compat_50_sys||getrusage(int who, \ | 178 | 77 NOARGS { int|compat_50_sys||getrusage(int who, \ | |
179 | struct rusage50 *rusage); } | 179 | struct rusage50 *rusage); } | |
180 | 78 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \ | 180 | 78 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \ | |
181 | struct timezone *tzp); } | 181 | struct timezone *tzp); } | |
182 | 79 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \ | 182 | 79 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \ | |
183 | struct timezone *tzp); } | 183 | struct timezone *tzp); } | |
184 | 80 NOARGS { int|sys||getgroups(int gidsetsize, gid_t *gidset); } | 184 | 80 NOARGS { int|sys||getgroups(int gidsetsize, gid_t *gidset); } | |
185 | 81 NOARGS { int|sys||setgroups(int gidsetsize, gid_t *gidset); } | 185 | 81 NOARGS { int|sys||setgroups(int gidsetsize, gid_t *gidset); } | |
186 | 82 STD { int|linux_sys||select(int nfds, fd_set* readfds, \ | 186 | 82 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); } | |
189 | 83 NOARGS { int|sys||symlink(const char *path, const char *to); } | 189 | 83 NOARGS { int|sys||symlink(const char *path, const char *to); } | |
190 | 84 NOARGS { int|compat_43_sys||lstat(const char *path, \ | 190 | 84 NOARGS { int|compat_43_sys||lstat(const char *path, \ | |
191 | struct stat43 *up); } oolstat | 191 | struct stat43 *up); } oolstat | |
192 | 85 NOARGS { ssize_t|sys||readlink(const char *path, char *buf, \ | 192 | 85 NOARGS { ssize_t|sys||readlink(const char *path, char *buf, \ | |
193 | int count); } | 193 | int count); } | |
194 | #ifdef EXEC_AOUT | 194 | #ifdef EXEC_AOUT | |
195 | 86 STD { int|linux_sys||uselib(const char *path); } | 195 | 86 STD { int|linux_sys||uselib(const char *path); } | |
196 | #else | 196 | #else | |
197 | 86 UNIMPL sys_uselib | 197 | 86 UNIMPL sys_uselib | |
198 | #endif | 198 | #endif | |
199 | 87 STD { int|linux_sys||swapon(char *name); } | 199 | 87 STD { int|linux_sys||swapon(char *name); } | |
200 | 88 STD { int|linux_sys||reboot(int magic1, int magic2, \ | 200 | 88 STD { int|linux_sys||reboot(int magic1, int magic2, \ | |
201 | int cmd, void *arg); } | 201 | int cmd, void *arg); } | |
202 | 89 STD { int|linux_sys||readdir(int fd, void *dent, \ | 202 | 89 STD { int|linux_sys||readdir(int fd, void *dent, \ | |
203 | unsigned int count); } | 203 | unsigned int count); } | |
204 | 90 NOARGS { int|linux_sys||mmap(unsigned long addr, size_t len, \ | 204 | 90 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); } | |
206 | 91 NOARGS { int|sys||munmap(void *addr, size_t len); } | 206 | 91 NOARGS { int|sys||munmap(void *addr, size_t len); } | |
207 | 92 NOARGS { int|compat_43_sys||truncate(const char *path, \ | 207 | 92 NOARGS { int|compat_43_sys||truncate(const char *path, \ | |
208 | long length); } | 208 | long length); } | |
209 | 93 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } | 209 | 93 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } | |
210 | 94 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); } | 210 | 94 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); } | |
211 | 95 NOARGS { int|sys||__posix_fchown(int fd, uid_t uid, \ | 211 | 95 NOARGS { int|sys||__posix_fchown(int fd, uid_t uid, \ | |
212 | gid_t gid); } | 212 | gid_t gid); } | |
213 | 96 STD { int|linux_sys||getpriority(int which, int who); } | 213 | 96 STD { int|linux_sys||getpriority(int which, int who); } | |
214 | 97 NOARGS { int|sys||setpriority(int which, int who, int prio); } | 214 | 97 NOARGS { int|sys||setpriority(int which, int who, int prio); } | |
215 | 98 NOARGS { int|sys||profil(void *samples, u_int size, \ | 215 | 98 NOARGS { int|sys||profil(void *samples, u_int size, \ | |
216 | u_int offset, u_int scale); } | 216 | u_int offset, u_int scale); } | |
217 | 99 STD { int|linux_sys||statfs(const char *path, \ | 217 | 99 STD { int|linux_sys||statfs(const char *path, \ | |
218 | struct linux_statfs *sp); } | 218 | struct linux_statfs *sp); } | |
219 | 100 STD { int|linux_sys||fstatfs(int fd, \ | 219 | 100 STD { int|linux_sys||fstatfs(int fd, \ | |
220 | struct linux_statfs *sp); } | 220 | struct linux_statfs *sp); } | |
221 | 101 UNIMPL ioperm | 221 | 101 UNIMPL ioperm | |
222 | 102 STD { int|linux_sys||socketcall(int what, void *args); } | 222 | 102 STD { int|linux_sys||socketcall(int what, void *args); } | |
223 | 103 UNIMPL syslog | 223 | 103 UNIMPL syslog | |
224 | 104 NOARGS { int|compat_50_sys||setitimer(int which, \ | 224 | 104 NOARGS { int|compat_50_sys||setitimer(int which, \ | |
225 | struct itimerval50 *itv, \ | 225 | struct itimerval50 *itv, \ | |
226 | struct itimerval50 *oitv); } | 226 | struct itimerval50 *oitv); } | |
227 | 105 NOARGS { int|compat_50_sys||getitimer(int which, \ | 227 | 105 NOARGS { int|compat_50_sys||getitimer(int which, \ | |
228 | struct itimerval50 *itv); } | 228 | struct itimerval50 *itv); } | |
229 | 106 STD { int|linux_sys||stat(const char *path, \ | 229 | 106 STD { int|linux_sys||stat(const char *path, \ | |
230 | struct linux_stat *sp); } | 230 | struct linux_stat *sp); } | |
231 | 107 STD { int|linux_sys||lstat(const char *path, \ | 231 | 107 STD { int|linux_sys||lstat(const char *path, \ | |
232 | struct linux_stat *sp); } | 232 | struct linux_stat *sp); } | |
233 | 108 STD { int|linux_sys||fstat(int fd, struct linux_stat *sp); } | 233 | 108 STD { int|linux_sys||fstat(int fd, struct linux_stat *sp); } | |
234 | 109 STD { int|linux_sys||uname(struct linux_utsname *up); } | 234 | 109 STD { int|linux_sys||uname(struct linux_utsname *up); } | |
235 | 110 UNIMPL iopl | 235 | 110 UNIMPL iopl | |
236 | 111 UNIMPL vhangup | 236 | 111 UNIMPL vhangup | |
237 | 112 UNIMPL idle | 237 | 112 UNIMPL idle | |
238 | 113 UNIMPL vm86old | 238 | 113 UNIMPL vm86old | |
239 | 114 STD { int|linux_sys||wait4(int pid, int *status, \ | 239 | 114 STD { int|linux_sys||wait4(int pid, int *status, \ | |
240 | int options, struct rusage50 *rusage); } | 240 | int options, struct rusage50 *rusage); } | |
241 | 115 STD { int|linux_sys||swapoff(const char *path); } | 241 | 115 STD { int|linux_sys||swapoff(const char *path); } | |
242 | 116 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); } | 242 | 116 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); } | |
243 | 117 STD { int|linux_sys||ipc(int what, int a1, int a2, int a3, \ | 243 | 117 STD { int|linux_sys||ipc(int what, int a1, int a2, int a3, \ | |
244 | void *ptr); } | 244 | void *ptr); } | |
245 | 118 NOARGS { int|sys||fsync(int fd); } | 245 | 118 NOARGS { int|sys||fsync(int fd); } | |
246 | 119 STD { int|linux_sys||sigreturn(struct linux_sigcontext *scp); } | 246 | 119 STD { int|linux_sys||sigreturn(struct linux_sigcontext *scp); } | |
247 | 120 STD { int|linux_sys||clone(int flags, void *stack, \ | 247 | 120 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); } | |
249 | 121 STD { int|linux_sys||setdomainname(char *domainname, \ | 249 | 121 STD { int|linux_sys||setdomainname(char *domainname, \ | |
250 | int len); } | 250 | int len); } | |
251 | 122 STD { int|linux_sys||new_uname(struct linux_utsname *up); } | 251 | 122 STD { int|linux_sys||new_uname(struct linux_utsname *up); } | |
252 | 123 UNIMPL modify_ldt | 252 | 123 UNIMPL modify_ldt | |
253 | 124 UNIMPL adjtimex | 253 | 124 UNIMPL adjtimex | |
254 | 125 STD { int|linux_sys||mprotect(const void *start, \ | 254 | 125 STD { int|linux_sys||mprotect(const void *start, \ | |
255 | unsigned long len, int prot); } | 255 | unsigned long len, int prot); } | |
256 | 126 STD { int|linux_sys||sigprocmask(int how, \ | 256 | 126 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); } | |
259 | 127 UNIMPL create_module | 259 | 127 UNIMPL create_module | |
260 | 128 UNIMPL init_module | 260 | 128 UNIMPL init_module | |
261 | 129 UNIMPL delete_module | 261 | 129 UNIMPL delete_module | |
262 | 130 UNIMPL get_kernel_syms | 262 | 130 UNIMPL get_kernel_syms | |
263 | 131 UNIMPL quotactl | 263 | 131 UNIMPL quotactl | |
264 | 132 NOARGS { pid_t|sys||getpgid(pid_t pid); } | 264 | 132 NOARGS { pid_t|sys||getpgid(pid_t pid); } | |
265 | 133 NOARGS { int|sys||fchdir(int fd); } | 265 | 133 NOARGS { int|sys||fchdir(int fd); } | |
266 | 134 UNIMPL bdflush | 266 | 134 UNIMPL bdflush | |
267 | 135 UNIMPL sysfs | 267 | 135 UNIMPL sysfs | |
268 | 136 STD { int|linux_sys||personality(unsigned long per); } | 268 | 136 STD { int|linux_sys||personality(unsigned long per); } | |
269 | 137 UNIMPL afs_syscall | 269 | 137 UNIMPL afs_syscall | |
270 | 138 STD { int|linux_sys||setfsuid(uid_t uid); } | 270 | 138 STD { int|linux_sys||setfsuid(uid_t uid); } | |
271 | 139 STD { int|linux_sys||setfsgid(gid_t gid); } | 271 | 139 STD { int|linux_sys||setfsgid(gid_t gid); } | |
272 | 140 STD { int|linux_sys||llseek(int fd, u_int32_t ohigh, \ | 272 | 140 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); } | |
274 | 141 STD { int|linux_sys||getdents(int fd, \ | 274 | 141 STD { int|linux_sys||getdents(int fd, \ | |
275 | struct linux_dirent *dent, unsigned int count); } | 275 | struct linux_dirent *dent, unsigned int count); } | |
276 | 142 STD { int|linux_sys||new_select(int nfds, fd_set *readfds, \ | 276 | 142 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); } | |
279 | 143 NOARGS { int|sys||flock(int fd, int how); } | 279 | 143 NOARGS { int|sys||flock(int fd, int how); } | |
280 | 144 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } | 280 | 144 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } | |
281 | 145 NOARGS { ssize_t|sys||readv(int fd, \ | 281 | 145 NOARGS { ssize_t|sys||readv(int fd, \ | |
282 | const struct iovec *iovp, int iovcnt); } | 282 | const struct iovec *iovp, int iovcnt); } | |
283 | 146 NOARGS { ssize_t|sys||writev(int fd, \ | 283 | 146 NOARGS { ssize_t|sys||writev(int fd, \ | |
284 | const struct iovec *iovp, int iovcnt); } | 284 | const struct iovec *iovp, int iovcnt); } | |
285 | 147 NOARGS { pid_t|sys||getsid(pid_t pid); } | 285 | 147 NOARGS { pid_t|sys||getsid(pid_t pid); } | |
286 | 148 STD { int|linux_sys||fdatasync(int fd); } | 286 | 148 STD { int|linux_sys||fdatasync(int fd); } | |
287 | 149 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); } | 287 | 149 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); } | |
288 | 150 NOARGS { int|sys||mlock(void *addr, size_t len); } | 288 | 150 NOARGS { int|sys||mlock(void *addr, size_t len); } | |
289 | 151 NOARGS { int|sys||munlock(void *addr, size_t len); } | 289 | 151 NOARGS { int|sys||munlock(void *addr, size_t len); } | |
290 | 152 NOARGS { int|sys||mlockall(int flags); } | 290 | 152 NOARGS { int|sys||mlockall(int flags); } | |
291 | 153 NOARGS { int|sys||munlockall(void); } | 291 | 153 NOARGS { int|sys||munlockall(void); } | |
292 | 154 STD { int|linux_sys||sched_setparam(pid_t pid, \ | 292 | 154 STD { int|linux_sys||sched_setparam(pid_t pid, \ | |
293 | const struct linux_sched_param *sp); } | 293 | const struct linux_sched_param *sp); } | |
294 | 155 STD { int|linux_sys||sched_getparam(pid_t pid, \ | 294 | 155 STD { int|linux_sys||sched_getparam(pid_t pid, \ | |
295 | struct linux_sched_param *sp); } | 295 | struct linux_sched_param *sp); } | |
296 | 156 STD { int|linux_sys||sched_setscheduler(pid_t pid, \ | 296 | 156 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); } | |
298 | 157 STD { int|linux_sys||sched_getscheduler(pid_t pid); } | 298 | 157 STD { int|linux_sys||sched_getscheduler(pid_t pid); } | |
299 | 158 STD { int|linux_sys||sched_yield(void); } | 299 | 158 STD { int|linux_sys||sched_yield(void); } | |
300 | 159 STD { int|linux_sys||sched_get_priority_max(int policy); } | 300 | 159 STD { int|linux_sys||sched_get_priority_max(int policy); } | |
301 | 160 STD { int|linux_sys||sched_get_priority_min(int policy); } | 301 | 160 STD { int|linux_sys||sched_get_priority_min(int policy); } | |
302 | 161 UNIMPL sched_rr_get_interval | 302 | 161 UNIMPL sched_rr_get_interval | |
303 | 162 STD { int|linux_sys||nanosleep( \ | 303 | 162 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); } | |
306 | 163 STD { void *|linux_sys||mremap(void *old_address, \ | 306 | 163 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); } | |
308 | 164 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \ | 308 | 164 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \ | |
309 | uid_t suid); } | 309 | uid_t suid); } | |
310 | 165 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \ | 310 | 165 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \ | |
311 | uid_t *suid); } | 311 | uid_t *suid); } | |
312 | 166 UNIMPL query_module | 312 | 166 UNIMPL query_module | |
313 | 167 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ | 313 | 167 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ | |
314 | int timeout); } | 314 | int timeout); } | |
315 | 168 UNIMPL nfsservctl | 315 | 168 UNIMPL nfsservctl | |
316 | 169 STD { int|linux_sys||setresgid(gid_t rgid, gid_t egid, \ | 316 | 169 STD { int|linux_sys||setresgid(gid_t rgid, gid_t egid, \ | |
317 | gid_t sgid); } | 317 | gid_t sgid); } | |
318 | 170 STD { int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \ | 318 | 170 STD { int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \ | |
319 | gid_t *sgid); } | 319 | gid_t *sgid); } | |
320 | 171 UNIMPL prctl | 320 | 171 UNIMPL prctl | |
321 | 172 STD { int|linux_sys||rt_sigreturn( \ | 321 | 172 STD { int|linux_sys||rt_sigreturn( \ | |
322 | struct linux_rt_sigframe *sfp); } | 322 | struct linux_rt_sigframe *sfp); } | |
323 | 173 STD { int|linux_sys||rt_sigaction(int signum, \ | 323 | 173 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); } | |
327 | 174 STD { int|linux_sys||rt_sigprocmask(int how, \ | 327 | 174 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); } | |
331 | 175 STD { int|linux_sys||rt_sigpending( \ | 331 | 175 STD { int|linux_sys||rt_sigpending( \ | |
332 | linux_sigset_t *set, \ | 332 | linux_sigset_t *set, \ | |
333 | size_t sigsetsize); } | 333 | size_t sigsetsize); } | |
334 | 176 STD { int|linux_sys||rt_sigtimedwait( \ | 334 | 176 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); } | |
338 | 177 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \ | 338 | 177 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \ | |
339 | linux_siginfo_t *uinfo); } | 339 | linux_siginfo_t *uinfo); } | |
340 | 178 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \ | 340 | 178 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \ | |
341 | size_t sigsetsize); } | 341 | size_t sigsetsize); } | |
342 | 179 STD { int|linux_sys||pread(int fd, char *buf, \ | 342 | 179 STD { int|linux_sys||pread(int fd, char *buf, \ | |
343 | size_t nbyte, off_t offset); } | 343 | size_t nbyte, off_t offset); } | |
344 | 180 STD { int|linux_sys||pwrite(int fd, char *buf, \ | 344 | 180 STD { int|linux_sys||pwrite(int fd, char *buf, \ | |
345 | size_t nbyte, off_t offset); } | 345 | size_t nbyte, off_t offset); } | |
346 | 181 NOARGS { int|sys||__posix_chown(const char *path, uid_t uid, \ | 346 | 181 NOARGS { int|sys||__posix_chown(const char *path, uid_t uid, \ | |
347 | gid_t gid); } | 347 | gid_t gid); } | |
348 | 182 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } | 348 | 182 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } | |
349 | 183 UNIMPL capget | 349 | 183 UNIMPL capget | |
350 | 184 UNIMPL capset | 350 | 184 UNIMPL capset | |
351 | 185 STD { int|linux_sys||sigaltstack( \ | 351 | 185 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); } | |
354 | 186 UNIMPL sendfile | 354 | 186 UNIMPL sendfile | |
355 | 187 UNIMPL getpmsg | 355 | 187 UNIMPL getpmsg | |
356 | 188 UNIMPL putpmsg | 356 | 188 UNIMPL putpmsg | |
357 | 189 NOARGS { int|sys|14|vfork(void); } | 357 | 189 NOARGS { int|sys|14|vfork(void); } | |
358 | 190 STD { int|linux_sys||ugetrlimit(int which, \ | 358 | 190 STD { int|linux_sys||ugetrlimit(int which, \ | |
359 | struct rlimit *rlp); } | 359 | struct rlimit *rlp); } | |
360 | 191 UNIMPL /* unused */ | 360 | 191 UNIMPL /* unused */ | |
361 | #define linux_sys_mmap2_args linux_sys_mmap_args | 361 | #define linux_sys_mmap2_args linux_sys_mmap_args | |
362 | 192 NOARGS { linux_off_t|linux_sys||mmap2(unsigned long addr, \ | 362 | 192 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); } | |
365 | 193 STD { int|linux_sys||truncate64(const char *path, \ | 365 | 193 STD { int|linux_sys||truncate64(const char *path, \ | |
366 | off_t length); } | 366 | off_t length); } | |
367 | 194 STD { int|linux_sys||ftruncate64(unsigned int fd, \ | 367 | 194 STD { int|linux_sys||ftruncate64(unsigned int fd, \ | |
368 | off_t length); } | 368 | off_t length); } | |
369 | 195 STD { int|linux_sys||stat64(const char *path, \ | 369 | 195 STD { int|linux_sys||stat64(const char *path, \ | |
370 | struct linux_stat64 *sp); } | 370 | struct linux_stat64 *sp); } | |
371 | 196 STD { int|linux_sys||lstat64(const char *path, \ | 371 | 196 STD { int|linux_sys||lstat64(const char *path, \ | |
372 | struct linux_stat64 *sp); } | 372 | struct linux_stat64 *sp); } | |
373 | 197 STD { int|linux_sys||fstat64(int fd, \ | 373 | 197 STD { int|linux_sys||fstat64(int fd, \ | |
374 | struct linux_stat64 *sp); } | 374 | struct linux_stat64 *sp); } | |
375 | 198 UNIMPL sys_pciconfig_read | 375 | 198 UNIMPL sys_pciconfig_read | |
376 | 199 UNIMPL sys_pciconfig_write | 376 | 199 UNIMPL sys_pciconfig_write | |
377 | 200 UNIMPL sys_pciconfig_iobase | 377 | 200 UNIMPL sys_pciconfig_iobase | |
378 | 201 UNIMPL /* Unused (MacOnLinux project) */ | 378 | 201 UNIMPL /* Unused (MacOnLinux project) */ | |
379 | 202 STD { int|linux_sys||getdents64(int fd, \ | 379 | 202 STD { int|linux_sys||getdents64(int fd, \ | |
380 | struct linux_dirent64 *dent, unsigned int count); } | 380 | struct linux_dirent64 *dent, unsigned int count); } | |
381 | 203 UNIMPL pivot_root | 381 | 203 UNIMPL pivot_root | |
382 | 204 STD { int|linux_sys||fcntl64(int fd, int cmd, void *arg); } | 382 | 204 STD { int|linux_sys||fcntl64(int fd, int cmd, void *arg); } | |
383 | 205 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } | 383 | 205 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } | |
384 | 206 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); } | 384 | 206 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); } | |
385 | 207 NOARGS { pid_t|linux_sys||gettid(void); } | 385 | 207 NOARGS { pid_t|linux_sys||gettid(void); } | |
386 | 208 STD { int|linux_sys||tkill(int tid, int sig); } | 386 | 208 STD { int|linux_sys||tkill(int tid, int sig); } | |
387 | 209 STD { int|linux_sys||setxattr(char *path, char *name, \ | 387 | 209 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); } | |
389 | 210 STD { int|linux_sys||lsetxattr(char *path, char *name, \ | 389 | 210 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); } | |
391 | 211 STD { int|linux_sys||fsetxattr(int fd, char *name, \ | 391 | 211 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); } | |
393 | 212 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \ | 393 | 212 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \ | |
394 | void *value, size_t size); } | 394 | void *value, size_t size); } | |
395 | 213 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \ | 395 | 213 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \ | |
396 | void *value, size_t size); } | 396 | void *value, size_t size); } | |
397 | 214 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \ | 397 | 214 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \ | |
398 | void *value, size_t size); } | 398 | void *value, size_t size); } | |
399 | 215 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \ | 399 | 215 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \ | |
400 | size_t size); } | 400 | size_t size); } | |
401 | 216 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \ | 401 | 216 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \ | |
402 | size_t size); } | 402 | size_t size); } | |
403 | 217 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \ | 403 | 217 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \ | |
404 | size_t size); } | 404 | size_t size); } | |
405 | 218 STD { int|linux_sys||removexattr(char *path, char *name); } | 405 | 218 STD { int|linux_sys||removexattr(char *path, char *name); } | |
406 | 219 STD { int|linux_sys||lremovexattr(char *path, char *name); } | 406 | 219 STD { int|linux_sys||lremovexattr(char *path, char *name); } | |
407 | 220 STD { int|linux_sys||fremovexattr(int fd, char *name); } | 407 | 220 STD { int|linux_sys||fremovexattr(int fd, char *name); } | |
408 | 221 STD { int|linux_sys||futex(int *uaddr, int op, int val, \ | 408 | 221 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); } | |
411 | 222 STD { int|linux_sys||sched_setaffinity(pid_t pid, \ | 411 | 222 STD { int|linux_sys||sched_setaffinity(pid_t pid, \ | |
412 | unsigned int len, unsigned long *mask); } | 412 | unsigned int len, unsigned long *mask); } | |
413 | 223 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ | 413 | 223 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ | |
414 | unsigned int len, unsigned long *mask); } | 414 | unsigned int len, unsigned long *mask); } | |
415 | 224 UNIMPL /* unused */ | 415 | 224 UNIMPL /* unused */ | |
416 | 225 UNIMPL tuxcall | 416 | 225 UNIMPL tuxcall | |
417 | 226 UNIMPL sendfile64 | 417 | 226 UNIMPL sendfile64 | |
418 | 227 UNIMPL io_setup | 418 | 227 UNIMPL io_setup | |
419 | 228 UNIMPL io_destroy | 419 | 228 UNIMPL io_destroy | |
420 | 229 UNIMPL io_getevents | 420 | 229 UNIMPL io_getevents | |
421 | 230 UNIMPL io_submit | 421 | 230 UNIMPL io_submit | |
422 | 231 UNIMPL io_cancel | 422 | 231 UNIMPL io_cancel | |
423 | 232 STD { int|linux_sys||set_tid_address(int *tid); } | 423 | 232 STD { int|linux_sys||set_tid_address(int *tid); } | |
424 | 233 STD { int|linux_sys||fadvise64(int fd, off_t offset, \ | 424 | 233 STD { int|linux_sys||fadvise64(int fd, off_t offset, \ | |
425 | size_t len, int advice); } | 425 | size_t len, int advice); } | |
426 | 234 STD { int|linux_sys||exit_group(int error_code); } | 426 | 234 STD { int|linux_sys||exit_group(int error_code); } | |
427 | 235 UNIMPL lookup_dcookie | 427 | 235 UNIMPL lookup_dcookie | |
428 | 236 UNIMPL epoll_create | 428 | 236 STD { int|linux_sys||epoll_create(int size); } | |
429 | 237 UNIMPL epoll_ctl | 429 | 237 STD { int|linux_sys||epoll_ctl(int epfd, int op, int fd, \ | |
430 | 238 UNIMPL epoll_wait | 430 | struct linux_epoll_event *event); } | |
431 | 238 STD { int|linux_sys||epoll_wait(int epfd, \ | |||
432 | struct linux_epoll_event *events, int maxevents, \ | |||
433 | int timeout); } | |||
431 | 239 UNIMPL remap_file_pages | 434 | 239 UNIMPL remap_file_pages | |
432 | 240 STD { int|linux_sys||timer_create(clockid_t clockid, \ | 435 | 240 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); } | |
434 | 241 STD { int|linux_sys||timer_settime(timer_t timerid, \ | 437 | 241 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); } | |
437 | 242 STD { int|linux_sys||timer_gettime(timer_t timerid, \ | 440 | 242 STD { int|linux_sys||timer_gettime(timer_t timerid, \ | |
438 | struct linux_itimerspec *tim); } | 441 | struct linux_itimerspec *tim); } | |
439 | 243 NOARGS { int|sys||timer_getoverrun(timer_t timerid); } | 442 | 243 NOARGS { int|sys||timer_getoverrun(timer_t timerid); } | |
440 | 244 NOARGS { int|sys||timer_delete(timer_t timerid); } | 443 | 244 NOARGS { int|sys||timer_delete(timer_t timerid); } | |
441 | 245 STD { int|linux_sys||clock_settime(clockid_t which, \ | 444 | 245 STD { int|linux_sys||clock_settime(clockid_t which, \ | |
442 | struct linux_timespec *tp); } | 445 | struct linux_timespec *tp); } | |
443 | 246 STD { int|linux_sys||clock_gettime(clockid_t which, \ | 446 | 246 STD { int|linux_sys||clock_gettime(clockid_t which, \ | |
444 | struct linux_timespec *tp); } | 447 | struct linux_timespec *tp); } | |
445 | 247 STD { int|linux_sys||clock_getres(clockid_t which, \ | 448 | 247 STD { int|linux_sys||clock_getres(clockid_t which, \ | |
446 | struct linux_timespec *tp); } | 449 | struct linux_timespec *tp); } | |
447 | 248 STD { int|linux_sys||clock_nanosleep(clockid_t which, \ | 450 | 248 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); } | |
450 | 249 UNIMPL swapcontext | 453 | 249 UNIMPL swapcontext | |
451 | 250 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); } | 454 | 250 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); } | |
452 | 251 NOARGS { int|compat_50_sys||utimes(const char *path, \ | 455 | 251 NOARGS { int|compat_50_sys||utimes(const char *path, \ | |
453 | const struct timeval50 *tptr); } | 456 | const struct timeval50 *tptr); } | |
454 | 252 STD { int|linux_sys||statfs64(const char *path, \ | 457 | 252 STD { int|linux_sys||statfs64(const char *path, \ | |
455 | size_t sz, struct linux_statfs64 *sp); } | 458 | size_t sz, struct linux_statfs64 *sp); } | |
456 | 253 STD { int|linux_sys||fstatfs64(int fd, \ | 459 | 253 STD { int|linux_sys||fstatfs64(int fd, \ | |
457 | size_t sz, struct linux_statfs64 *sp); } | 460 | size_t sz, struct linux_statfs64 *sp); } | |
458 | 254 STD { int|linux_sys||fadvise64_64(int fd, off_t offset, \ | 461 | 254 STD { int|linux_sys||fadvise64_64(int fd, off_t offset, \ | |
459 | off_t len, int advice); } | 462 | off_t len, int advice); } | |
460 | 255 UNIMPL rtas | 463 | 255 UNIMPL rtas | |
461 | 256 UNIMPL /* reserved for sys_debug_setcontext */ | 464 | 256 UNIMPL /* reserved for sys_debug_setcontext */ | |
462 | 257 UNIMPL /* reserved for vserver */ | 465 | 257 UNIMPL /* reserved for vserver */ | |
463 | 258 UNIMPL /* reserved for new sys_remap_file_pages */ | 466 | 258 UNIMPL /* reserved for new sys_remap_file_pages */ | |
464 | 259 UNIMPL /* reserved for new sys_mbind */ | 467 | 259 UNIMPL /* reserved for new sys_mbind */ | |
465 | 260 UNIMPL /* reserved for new sys_get_mempolicy */ | 468 | 260 UNIMPL /* reserved for new sys_get_mempolicy */ | |
466 | 261 UNIMPL /* reserved for new sys_set_mempolicy */ | 469 | 261 UNIMPL /* reserved for new sys_set_mempolicy */ | |
467 | 262 UNIMPL mq_open | 470 | 262 UNIMPL mq_open | |
468 | 263 UNIMPL mq_unlink | 471 | 263 UNIMPL mq_unlink | |
469 | 264 UNIMPL mq_timedsend | 472 | 264 UNIMPL mq_timedsend | |
470 | 265 UNIMPL mq_timedreceive | 473 | 265 UNIMPL mq_timedreceive | |
471 | 266 UNIMPL mq_notify | 474 | 266 UNIMPL mq_notify | |
472 | 267 UNIMPL mq_getsetattr | 475 | 267 UNIMPL mq_getsetattr | |
473 | 268 UNIMPL kexec_load | 476 | 268 UNIMPL kexec_load | |
474 | 269 UNIMPL add_key | 477 | 269 UNIMPL add_key | |
475 | 270 UNIMPL request_key | 478 | 270 UNIMPL request_key | |
476 | 271 UNIMPL keyctl | 479 | 271 UNIMPL keyctl | |
477 | 272 UNIMPL waitid | 480 | 272 UNIMPL waitid | |
478 | 273 UNIMPL ioprio_set | 481 | 273 UNIMPL ioprio_set | |
479 | 274 UNIMPL ioprio_get | 482 | 274 UNIMPL ioprio_get | |
480 | 275 UNIMPL inotify_init | 483 | 275 UNIMPL inotify_init | |
481 | 276 UNIMPL inotify_add_watch | 484 | 276 UNIMPL inotify_add_watch | |
482 | 277 UNIMPL inotify_rm_watch | 485 | 277 UNIMPL inotify_rm_watch | |
483 | 278 UNIMPL spu_run | 486 | 278 UNIMPL spu_run | |
484 | 279 UNIMPL spu_create | 487 | 279 UNIMPL spu_create | |
485 | 280 STD { int|linux_sys||pselect6(int nfds, fd_set *readfds, \ | 488 | 280 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); } | |
489 | 281 STD { int|linux_sys||ppoll(struct pollfd *fds, u_int nfds, \ | 492 | 281 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); } | |
492 | 282 UNIMPL unshare | 495 | 282 UNIMPL unshare | |
493 | 283 UNIMPL splice | 496 | 283 UNIMPL splice | |
494 | 284 UNIMPL tee | 497 | 284 UNIMPL tee | |
495 | 285 UNIMPL vmsplice | 498 | 285 UNIMPL vmsplice | |
496 | 286 STD { int|linux_sys||openat(int fd, const char *path, \ | 499 | 286 STD { int|linux_sys||openat(int fd, const char *path, \ | |
497 | int flags, ... linux_umode_t mode); } | 500 | int flags, ... linux_umode_t mode); } | |
498 | 287 NOARGS { int|sys||mkdirat(int fd, const char *path, \ | 501 | 287 NOARGS { int|sys||mkdirat(int fd, const char *path, \ | |
499 | linux_umode_t mode); } | 502 | linux_umode_t mode); } | |
500 | 288 STD { int|linux_sys||mknodat(int fd, const char *path, \ | 503 | 288 STD { int|linux_sys||mknodat(int fd, const char *path, \ | |
501 | linux_umode_t mode, unsigned dev); } | 504 | linux_umode_t mode, unsigned dev); } | |
502 | 289 STD { int|linux_sys||fchownat(int fd, const char *path, \ | 505 | 289 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); } | |
504 | 290 UNIMPL futimesat | 507 | 290 UNIMPL futimesat | |
505 | 291 STD { int|linux_sys||fstatat64(int fd, const char *path, \ | 508 | 291 STD { int|linux_sys||fstatat64(int fd, const char *path, \ | |
506 | struct linux_stat64 *sp, int flag); } | 509 | struct linux_stat64 *sp, int flag); } | |
507 | 292 STD { int|linux_sys||unlinkat(int fd, const char *path, \ | 510 | 292 STD { int|linux_sys||unlinkat(int fd, const char *path, \ | |
508 | int flag); } | 511 | int flag); } | |
509 | 293 NOARGS { int|sys||renameat(int fromfd, const char *from, \ | 512 | 293 NOARGS { int|sys||renameat(int fromfd, const char *from, \ | |
510 | int tofd, const char *to); } | 513 | int tofd, const char *to); } | |
511 | 294 STD { int|linux_sys||linkat(int fd1, const char *name1, \ | 514 | 294 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); } | |
513 | 295 NOARGS { int|sys||symlinkat(const char *path1, int fd, \ | 516 | 295 NOARGS { int|sys||symlinkat(const char *path1, int fd, \ | |
514 | const char *path2); } | 517 | const char *path2); } | |
515 | 296 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \ | 518 | 296 NOARGS { ssize_t|sys||readlinkat(int fd, const char *path, \ | |
516 | char *buf, size_t bufsize); } | 519 | char *buf, size_t bufsize); } | |
517 | 297 STD { int|linux_sys||fchmodat(int fd, const char *path, \ | 520 | 297 STD { int|linux_sys||fchmodat(int fd, const char *path, \ | |
518 | linux_umode_t mode); } | 521 | linux_umode_t mode); } | |
519 | 298 STD { int|linux_sys||faccessat(int fd, const char *path, \ | 522 | 298 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 | ; | |
526 | 299 NOARGS { int|sys||__futex_set_robust_list(void *head, \ | 529 | 299 NOARGS { int|sys||__futex_set_robust_list(void *head, \ | |
527 | size_t len); } | 530 | size_t len); } | |
528 | 300 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ | 531 | 300 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ | |
529 | void **headp, size_t *lenp); } | 532 | void **headp, size_t *lenp); } | |
530 | 301 UNIMPL move_pages | 533 | 301 UNIMPL move_pages | |
531 | 302 UNIMPL getcpu | 534 | 302 UNIMPL getcpu | |
532 | 303 UNIMPL epoll_wait | 535 | 303 STD { int|linux_sys||epoll_pwait(int epfd, \ | |
536 | struct linux_epoll_event *events, int maxevents, \ | |||
537 | int timeout, const linux_sigset_t *sigmask); } | |||
533 | 304 STD { int|linux_sys||utimensat(int fd, const char *path, \ | 538 | 304 STD { int|linux_sys||utimensat(int fd, const char *path, \ | |
534 | struct linux_timespec *times, int flag); } | 539 | struct linux_timespec *times, int flag); } | |
535 | 305 UNIMPL signalfd | 540 | 305 UNIMPL signalfd | |
536 | 306 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ | 541 | 306 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ | |
537 | int flags); } | 542 | int flags); } | |
538 | 307 STD { int|linux_sys||eventfd(unsigned int initval); } | 543 | 307 STD { int|linux_sys||eventfd(unsigned int initval); } | |
539 | 308 UNIMPL sync_file_range2 | 544 | 308 UNIMPL sync_file_range2 | |
540 | 309 STD { int|linux_sys||fallocate(int fd, int mode, \ | 545 | 309 STD { int|linux_sys||fallocate(int fd, int mode, \ | |
541 | off_t offset, off_t len); } | 546 | off_t offset, off_t len); } | |
542 | 310 UNIMPL subpage_prot | 547 | 310 UNIMPL subpage_prot | |
543 | 311 STD { int|linux_sys||timerfd_settime(int fd, int flags, \ | 548 | 311 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); } | |
546 | 312 STD { int|linux_sys||timerfd_gettime(int fd, \ | 551 | 312 STD { int|linux_sys||timerfd_gettime(int fd, \ | |
547 | struct linux_itimerspec *tim); } | 552 | struct linux_itimerspec *tim); } | |
548 | 313 UNIMPL signalfd4 | 553 | 313 UNIMPL signalfd4 | |
549 | 314 STD { int|linux_sys||eventfd2(unsigned int initval, \ | 554 | 314 STD { int|linux_sys||eventfd2(unsigned int initval, \ | |
550 | int flags); } | 555 | int flags); } | |
551 | 315 UNIMPL epoll_create1 | 556 | 315 STD { int|linux_sys||epoll_create1(int flags); } | |
552 | 316 STD { int|linux_sys||dup3(int from, int to, int flags); } | 557 | 316 STD { int|linux_sys||dup3(int from, int to, int flags); } | |
553 | 317 STD { int|linux_sys||pipe2(int *pfds, int flags); } | 558 | 317 STD { int|linux_sys||pipe2(int *pfds, int flags); } | |
554 | 318 UNIMPL inotify_init1 | 559 | 318 UNIMPL inotify_init1 | |
555 | 319 UNIMPL perf_event_open | 560 | 319 UNIMPL perf_event_open | |
556 | 320 STD { int|linux_sys||preadv(int fd, \ | 561 | 320 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); } | |
559 | 321 STD { int|linux_sys||pwritev(int fd, \ | 564 | 321 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); } | |
562 | 322 UNIMPL rt_tgsigqueueinfo | 567 | 322 UNIMPL rt_tgsigqueueinfo | |
563 | 323 UNIMPL fanotify_init | 568 | 323 UNIMPL fanotify_init | |
564 | 324 UNIMPL fanotify_mark | 569 | 324 UNIMPL fanotify_mark | |
565 | 325 STD { int|linux_sys||prlimit64(pid_t pid, int which, \ | 570 | 325 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); } | |
567 | 326 UNIMPL socket | 572 | 326 UNIMPL socket | |
568 | 327 UNIMPL bind | 573 | 327 UNIMPL bind | |
569 | 328 UNIMPL connect | 574 | 328 UNIMPL connect | |
570 | 329 UNIMPL listen | 575 | 329 UNIMPL listen | |
571 | 330 UNIMPL accept | 576 | 330 UNIMPL accept | |
572 | 331 UNIMPL getsockname | 577 | 331 UNIMPL getsockname | |
573 | 332 UNIMPL getpeername | 578 | 332 UNIMPL getpeername | |
574 | 333 UNIMPL socketpair | 579 | 333 UNIMPL socketpair | |
575 | 334 UNIMPL send | 580 | 334 UNIMPL send | |
576 | 335 UNIMPL sendto | 581 | 335 UNIMPL sendto | |
577 | 336 UNIMPL recv | 582 | 336 UNIMPL recv | |
578 | 337 UNIMPL recvfrom | 583 | 337 UNIMPL recvfrom | |
579 | 338 UNIMPL shutdown | 584 | 338 UNIMPL shutdown | |
580 | 339 UNIMPL setsockopt | 585 | 339 UNIMPL setsockopt | |
581 | 340 UNIMPL getsockopt | 586 | 340 UNIMPL getsockopt | |
582 | 341 UNIMPL sendmsg | 587 | 341 UNIMPL sendmsg | |
583 | 342 UNIMPL recvmsg | 588 | 342 UNIMPL recvmsg | |
584 | 343 STD { int|linux_sys||recvmmsg(int s, \ | 589 | 343 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); } | |
587 | 344 STD { int|linux_sys||accept4(int s, \ | 592 | 344 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); } | |
590 | 345 UNIMPL name_to_handle_at | 595 | 345 UNIMPL name_to_handle_at | |
591 | 346 UNIMPL open_by_handle_at | 596 | 346 UNIMPL open_by_handle_at | |
592 | 347 UNIMPL clock_adjtime | 597 | 347 UNIMPL clock_adjtime | |
593 | 348 UNIMPL syncfs | 598 | 348 UNIMPL syncfs | |
594 | 349 STD { int|linux_sys||sendmmsg(int s, \ | 599 | 349 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); } | |
597 | 350 UNIMPL setns | 602 | 350 UNIMPL setns | |
598 | 351 UNIMPL process_vm_readv | 603 | 351 UNIMPL process_vm_readv | |
599 | 352 UNIMPL process_vm_writev | 604 | 352 UNIMPL process_vm_writev | |
600 | 353 UNIMPL finit_module | 605 | 353 UNIMPL finit_module | |
601 | 354 UNIMPL kcmp | 606 | 354 UNIMPL kcmp | |
602 | 355 UNIMPL sched_setattr | 607 | 355 UNIMPL sched_setattr | |
603 | 356 UNIMPL sched_getattr | 608 | 356 UNIMPL sched_getattr | |
604 | 357 UNIMPL renameat2 | 609 | 357 UNIMPL renameat2 | |
605 | 358 UNIMPL seccomp | 610 | 358 UNIMPL seccomp | |
606 | 359 NOARGS { ssize_t|sys||getrandom(void *buf, size_t buflen, \ | 611 | 359 NOARGS { ssize_t|sys||getrandom(void *buf, size_t buflen, \ | |
607 | unsigned int flags); } | 612 | unsigned int flags); } | |
608 | 360 UNIMPL memfd_create | 613 | 360 UNIMPL memfd_create | |
609 | 361 UNIMPL bpf | 614 | 361 UNIMPL bpf | |
610 | 362 UNIMPL execveat | 615 | 362 UNIMPL execveat | |
611 | 363 UNIMPL switch_endian | 616 | 363 UNIMPL switch_endian | |
612 | 364 UNIMPL userfaultfd | 617 | 364 UNIMPL userfaultfd | |
613 | 365 UNIMPL membarrier | 618 | 365 UNIMPL membarrier | |
614 | 366 UNIMPL | 619 | 366 UNIMPL | |
615 | 367 UNIMPL | 620 | 367 UNIMPL | |
616 | 368 UNIMPL | 621 | 368 UNIMPL | |
617 | 369 UNIMPL | 622 | 369 UNIMPL | |
618 | 370 UNIMPL | 623 | 370 UNIMPL | |
619 | 371 UNIMPL | 624 | 371 UNIMPL | |
620 | 372 UNIMPL | 625 | 372 UNIMPL | |
621 | 373 UNIMPL | 626 | 373 UNIMPL | |
622 | 374 UNIMPL | 627 | 374 UNIMPL | |
623 | 375 UNIMPL | 628 | 375 UNIMPL | |
624 | 376 UNIMPL | 629 | 376 UNIMPL | |
625 | 377 UNIMPL | 630 | 377 UNIMPL | |
626 | 378 UNIMPL mlock2 | 631 | 378 UNIMPL mlock2 | |
627 | 379 UNIMPL copy_file_range | 632 | 379 UNIMPL copy_file_range | |
628 | 380 UNIMPL preadv2 | 633 | 380 UNIMPL preadv2 | |
629 | 381 UNIMPL pwritev2 | 634 | 381 UNIMPL pwritev2 | |
630 | 382 UNIMPL kexec_file_load | 635 | 382 UNIMPL kexec_file_load | |
636 | 383 UNIMPL | |||
637 | 384 UNIMPL | |||
638 | 385 UNIMPL | |||
639 | 386 UNIMPL | |||
640 | 387 UNIMPL | |||
641 | 388 UNIMPL | |||
642 | 389 UNIMPL | |||
643 | 390 UNIMPL | |||
644 | 391 UNIMPL | |||
645 | 392 UNIMPL | |||
646 | 393 UNIMPL | |||
647 | 394 UNIMPL | |||
648 | 395 UNIMPL | |||
649 | 396 UNIMPL | |||
650 | 397 UNIMPL | |||
651 | 398 UNIMPL | |||
652 | 399 UNIMPL | |||
653 | 400 UNIMPL | |||
654 | 401 UNIMPL | |||
655 | 402 UNIMPL | |||
656 | 403 UNIMPL | |||
657 | 404 UNIMPL | |||
658 | 405 UNIMPL | |||
659 | 406 UNIMPL | |||
660 | 407 UNIMPL | |||
661 | 408 UNIMPL | |||
662 | 409 UNIMPL | |||
663 | 410 UNIMPL | |||
664 | 411 UNIMPL | |||
665 | 412 UNIMPL | |||
666 | 413 UNIMPL | |||
667 | 414 UNIMPL | |||
668 | 415 UNIMPL | |||
669 | 416 UNIMPL | |||
670 | 417 UNIMPL | |||
671 | 418 UNIMPL | |||
672 | 419 UNIMPL | |||
673 | 420 UNIMPL | |||
674 | 421 UNIMPL | |||
675 | 422 UNIMPL | |||
676 | 423 UNIMPL | |||
677 | 424 UNIMPL | |||
678 | 425 UNIMPL | |||
679 | 426 UNIMPL | |||
680 | 427 UNIMPL | |||
681 | 428 UNIMPL | |||
682 | 429 UNIMPL | |||
683 | 430 UNIMPL | |||
684 | 431 UNIMPL | |||
685 | 432 UNIMPL | |||
686 | 433 UNIMPL | |||
687 | 434 UNIMPL | |||
688 | 435 UNIMPL | |||
689 | 436 UNIMPL | |||
690 | 437 UNIMPL | |||
691 | 438 UNIMPL | |||
692 | 439 UNIMPL | |||
693 | 440 UNIMPL | |||
694 | 441 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); } |