1 $FreeBSD: head/sys/compat/svr4/syscalls.master 160798 2006-07-28 19:05:28Z jhb $ |
2; from: @(#)syscalls.master 8.1 (Berkeley) 7/19/93 3; 4; System call name/number master file (or rather, slave, from SVR4). 5; Processed to create svr4_sysent.c, svr4_syscalls.c and svr4_syscall.h. 6 7; Columns: number type nargs name alt{name,tag,rtyp}/comments 8; number system call number, must be in order 9; audit the audit event associated with the system call --- 24 unchanged lines hidden (view full) --- 34#include <netinet/in.h> 35 36#include <compat/svr4/svr4.h> 37#include <compat/svr4/svr4_types.h> 38#include <compat/svr4/svr4_signal.h> 39#include <compat/svr4/svr4_proto.h> 40 410 AUE_NULL UNIMPL unused |
421 AUE_NULL NOPROTO { void sys_exit(int rval); } exit \ |
43 sys_exit_args void |
442 AUE_NULL NOPROTO { int fork(void); } 453 AUE_NULL NOPROTO { int read(int fd, char *buf, u_int nbyte); } 464 AUE_NULL NOPROTO { int write(int fd, char *buf, u_int nbyte); } 475 AUE_NULL STD { int svr4_sys_open(char *path, int flags, \ |
48 int mode); } |
496 AUE_NULL NOPROTO { int close(int fd); } 507 AUE_NULL STD { int svr4_sys_wait(int *status); } 518 AUE_NULL STD { int svr4_sys_creat(char *path, int mode); } 529 AUE_NULL NOPROTO { int link(char *path, char *link); } 5310 AUE_NULL NOPROTO { int unlink(char *path); } 5411 AUE_NULL STD { int svr4_sys_execv(char *path, char **argp); } 5512 AUE_NULL NOPROTO { int chdir(char *path); } 5613 AUE_NULL STD { int svr4_sys_time(time_t *t); } 5714 AUE_NULL STD { int svr4_sys_mknod(char* path, int mode, int dev); } 5815 AUE_NULL NOPROTO { int chmod(char *path, int mode); } 5916 AUE_NULL NOPROTO { int chown(char *path, uid_t uid, gid_t gid); } 6017 AUE_NULL STD { int svr4_sys_break(caddr_t nsize); } 6118 AUE_NULL STD { int svr4_sys_stat(char* path, \ |
62 struct svr4_stat* ub); } |
6319 AUE_NULL NOPROTO { int lseek(int filedes, off_t *offset, \ |
64 int whence); } |
6520 AUE_NULL NOPROTO { pid_t getpid(void); } |
6621 AUE_NULL UNIMPL old_mount 6722 AUE_NULL UNIMPL sysv_umount |
6823 AUE_NULL NOPROTO { int setuid(uid_t uid); } 6924 AUE_NULL NOPROTO { uid_t getuid(void); } |
7025 AUE_NULL UNIMPL stime 7126 AUE_NULL UNIMPL ptrace |
7227 AUE_NULL STD { int svr4_sys_alarm(unsigned sec); } 7328 AUE_NULL STD { int svr4_sys_fstat(int fd, \ |
74 struct svr4_stat *sb); } |
7529 AUE_NULL STD { int svr4_sys_pause(void); } 7630 AUE_NULL STD { int svr4_sys_utime(char *path, \ |
77 struct svr4_utimbuf *ubuf); } 7831 AUE_NULL UNIMPL stty 7932 AUE_NULL UNIMPL gtty |
8033 AUE_NULL STD { int svr4_sys_access(char *path, \ |
81 int flags); } |
8234 AUE_NULL STD { int svr4_sys_nice(int prio); } |
8335 AUE_NULL UNIMPL statfs |
8436 AUE_NULL NOPROTO { int sync(void); } 8537 AUE_NULL STD { int svr4_sys_kill(int pid, int signum); } |
8638 AUE_NULL UNIMPL fstatfs |
8739 AUE_NULL STD { int svr4_sys_pgrpsys(int cmd, int pid, \ |
88 int pgid); } 8940 AUE_NULL UNIMPL xenix |
9041 AUE_NULL NOPROTO { int dup(u_int fd); } 9142 AUE_NULL NOPROTO { int pipe(void); } 9243 AUE_NULL STD { int svr4_sys_times(struct tms *tp); } |
9344 AUE_NULL UNIMPL profil 9445 AUE_NULL UNIMPL plock |
9546 AUE_NULL NOPROTO { int setgid(gid_t gid); } 9647 AUE_NULL NOPROTO { gid_t getgid(void); } 9748 AUE_NULL STD { int svr4_sys_signal(int signum, \ |
98 svr4_sig_t handler); } |
9949 AUE_NULL STD { int svr4_sys_msgsys(int what, int a2, \ |
100 int a3, int a4, int a5); } |
10150 AUE_NULL STD { int svr4_sys_sysarch(int op, void *a1); } |
10251 AUE_NULL UNIMPL acct |
10352 AUE_NULL STD { int svr4_sys_shmsys(int what, int a2, \ |
104 int a3, int a4, int a5); } |
10553 AUE_NULL STD { int svr4_sys_semsys(int what, int a2, \ |
106 int a3, int a4, int a5); } |
10754 AUE_NULL STD { int svr4_sys_ioctl(int fd, u_long com, \ |
108 caddr_t data); } 10955 AUE_NULL UNIMPL uadmin 11056 AUE_NULL UNIMPL exch |
11157 AUE_NULL STD { int svr4_sys_utssys(void *a1, void *a2, \ |
112 int sel, void *a3); } |
11358 AUE_NULL NOPROTO { int fsync(int fd); } 11459 AUE_NULL STD { int svr4_sys_execve(char *path, \ |
115 char **argp, char **envp); } |
11660 AUE_NULL NOPROTO { int umask(int newmask); } 11761 AUE_NULL NOPROTO { int chroot(char *path); } 11862 AUE_NULL STD { int svr4_sys_fcntl(int fd, int cmd, \ |
119 char *arg); } |
12063 AUE_NULL STD { int svr4_sys_ulimit(int cmd, \ |
121 long newlimit); } 12264 AUE_NULL UNIMPL reserved 12365 AUE_NULL UNIMPL reserved 12466 AUE_NULL UNIMPL reserved 12567 AUE_NULL UNIMPL reserved 12668 AUE_NULL UNIMPL reserved 12769 AUE_NULL UNIMPL reserved 12870 AUE_NULL UNIMPL advfs 12971 AUE_NULL UNIMPL unadvfs 13072 AUE_NULL UNIMPL rmount 13173 AUE_NULL UNIMPL rumount 13274 AUE_NULL UNIMPL rfstart 13375 AUE_NULL UNIMPL sigret 13476 AUE_NULL UNIMPL rdebug 13577 AUE_NULL UNIMPL rfstop 13678 AUE_NULL UNIMPL rfsys |
13779 AUE_NULL NOPROTO { int rmdir(char *path); } 13880 AUE_NULL NOPROTO { int mkdir(char *path, int mode); } 13981 AUE_NULL STD { int svr4_sys_getdents(int fd, char *buf, \ |
140 int nbytes); } 14182 AUE_NULL UNIMPL libattach 14283 AUE_NULL UNIMPL libdetach 14384 AUE_NULL UNIMPL sysfs |
14485 AUE_NULL STD { int svr4_sys_getmsg(int fd, \ |
145 struct svr4_strbuf *ctl, \ 146 struct svr4_strbuf *dat, int *flags); } |
14786 AUE_NULL STD { int svr4_sys_putmsg(int fd, \ |
148 struct svr4_strbuf *ctl, \ 149 struct svr4_strbuf *dat, int flags); } |
15087 AUE_NULL STD { int svr4_sys_poll(struct pollfd *fds, \ |
151 unsigned int nfds, int timeout); } |
15288 AUE_NULL STD { int svr4_sys_lstat(char *path, \ |
153 struct svr4_stat *ub); } |
15489 AUE_NULL NOPROTO { int symlink(char *path, char *link); } 15590 AUE_NULL NOPROTO { int readlink(char *path, char *buf, \ |
156 int count); } |
15791 AUE_NULL NOPROTO { int getgroups(u_int gidsetsize, \ |
158 gid_t *gidset); } |
15992 AUE_NULL NOPROTO { int setgroups(u_int gidsetsize, \ |
160 gid_t *gidset); } |
16193 AUE_NULL NOPROTO { int fchmod(int fd, int mode); } 16294 AUE_NULL NOPROTO { int fchown(int fd, int uid, int gid); } 16395 AUE_NULL STD { int svr4_sys_sigprocmask(int how, \ |
164 svr4_sigset_t *set, \ 165 svr4_sigset_t *oset); } |
16696 AUE_NULL STD { int svr4_sys_sigsuspend( \ |
167 svr4_sigset_t *ss); } |
16897 AUE_NULL STD { int svr4_sys_sigaltstack( \ |
169 struct svr4_sigaltstack *nss, \ 170 struct svr4_sigaltstack *oss); } |
17198 AUE_NULL STD { int svr4_sys_sigaction(int signum, \ |
172 struct svr4_sigaction *nsa, \ 173 struct svr4_sigaction *osa); } |
17499 AUE_NULL STD { int svr4_sys_sigpending(int what, \ |
175 svr4_sigset_t *mask); } |
176100 AUE_NULL STD { int svr4_sys_context(int func, \ |
177 struct svr4_ucontext *uc); } 178101 AUE_NULL UNIMPL evsys 179102 AUE_NULL UNIMPL evtrapret |
180103 AUE_NULL STD { int svr4_sys_statvfs(char *path, \ |
181 struct svr4_statvfs *fs); } |
182104 AUE_NULL STD { int svr4_sys_fstatvfs(int fd, \ |
183 struct svr4_statvfs *fs); } 184105 AUE_NULL UNIMPL whoknows 185106 AUE_NULL UNIMPL nfssvc |
186107 AUE_NULL STD { int svr4_sys_waitsys(int grp, int id, \ |
187 union svr4_siginfo *info, int options); } 188108 AUE_NULL UNIMPL sigsendsys |
189109 AUE_NULL STD { int svr4_sys_hrtsys(int cmd, int fun, \ |
190 int sub, void *rv1, void *rv2); } 191110 AUE_NULL UNIMPL acancel 192111 AUE_NULL UNIMPL async 193112 AUE_NULL UNIMPL priocntlsys |
194113 AUE_NULL STD { int svr4_sys_pathconf(char *path, \ |
195 int name); } 196114 AUE_NULL UNIMPL mincore |
197115 AUE_NULL STD { caddr_t svr4_sys_mmap(caddr_t addr, \ |
198 svr4_size_t len, int prot, int flags, \ 199 int fd, svr4_off_t pos); } |
200116 AUE_NULL NOPROTO { int mprotect(void *addr, int len, \ |
201 int prot); } |
202117 AUE_NULL NOPROTO { int munmap(void *addr, int len); } 203118 AUE_NULL STD { int svr4_sys_fpathconf(int fd, int name); } 204119 AUE_NULL NOPROTO { int vfork(void); } 205120 AUE_NULL NOPROTO { int fchdir(int fd); } 206121 AUE_NULL NOPROTO { int readv(int fd, struct iovec *iovp, \ |
207 u_int iovcnt); } |
208122 AUE_NULL NOPROTO { int writev(int fd, struct iovec *iovp, \ |
209 u_int iovcnt); } |
210123 AUE_NULL STD { int svr4_sys_xstat(int two, char *path, \ |
211 struct svr4_xstat *ub); } |
212124 AUE_NULL STD { int svr4_sys_lxstat(int two, char *path, \ |
213 struct svr4_xstat *ub); } |
214125 AUE_NULL STD { int svr4_sys_fxstat(int two, int fd, \ |
215 struct svr4_xstat *sb); } |
216126 AUE_NULL STD { int svr4_sys_xmknod(int two, char *path, \ |
217 svr4_mode_t mode, svr4_dev_t dev); } 218127 AUE_NULL UNIMPL clocal |
219128 AUE_NULL STD { int svr4_sys_setrlimit(int which, \ |
220 const struct svr4_rlimit *rlp); } |
221129 AUE_NULL STD { int svr4_sys_getrlimit(int which, \ |
222 struct svr4_rlimit *rlp); } |
223130 AUE_NULL NOPROTO { int lchown(char *path, uid_t uid, \ |
224 gid_t gid); } |
225131 AUE_NULL STD { int svr4_sys_memcntl(void * addr, \ |
226 svr4_size_t len, int cmd, void * arg, \ 227 int attr, int mask); } 228132 AUE_NULL UNIMPL getpmsg 229133 AUE_NULL UNIMPL putpmsg |
230134 AUE_NULL NOPROTO { int rename(char *from, char *to); } 231135 AUE_NULL STD { int svr4_sys_uname( \ |
232 struct svr4_utsname* name, int dummy); } |
233136 AUE_NULL NOPROTO { int setegid(gid_t egid); } 234137 AUE_NULL STD { int svr4_sys_sysconfig(int name); } 235138 AUE_NULL NOPROTO { int adjtime(struct timeval *delta, \ |
236 struct timeval *olddelta); } |
237139 AUE_NULL STD { long svr4_sys_systeminfo(int what, \ |
238 char *buf, long len); } 239140 AUE_NULL UNIMPL notused |
240141 AUE_NULL NOPROTO { int seteuid(uid_t euid); } |
241142 AUE_NULL UNIMPL vtrace 242; fork1 |
243143 AUE_NULL UNIMPL { int fork(void); } |
244144 AUE_NULL UNIMPL sigtimedwait 245145 AUE_NULL UNIMPL lwp_info 246146 AUE_NULL UNIMPL yield 247147 AUE_NULL UNIMPL lwp_sema_wait 248148 AUE_NULL UNIMPL lwp_sema_post 249149 AUE_NULL UNIMPL lwp_sema_trywait 250150 AUE_NULL UNIMPL notused 251151 AUE_NULL UNIMPL notused 252152 AUE_NULL UNIMPL modctl |
253153 AUE_NULL STD { int svr4_sys_fchroot(int fd); } 254154 AUE_NULL STD { int svr4_sys_utimes(char *path, \ |
255 struct timeval *tptr); } |
256155 AUE_NULL STD { int svr4_sys_vhangup(void); } 257156 AUE_NULL STD { int svr4_sys_gettimeofday( \ |
258 struct timeval *tp); } |
259157 AUE_NULL NOPROTO { int getitimer(u_int which, \ |
260 struct itimerval *itv); } |
261158 AUE_NULL NOPROTO { int setitimer(u_int which, \ |
262 struct itimerval *itv, \ 263 struct itimerval *oitv); } 264159 AUE_NULL UNIMPL lwp_create 265160 AUE_NULL UNIMPL lwp_exit 266161 AUE_NULL UNIMPL lwp_suspend 267162 AUE_NULL UNIMPL lwp_continue 268163 AUE_NULL UNIMPL lwp_kill 269164 AUE_NULL UNIMPL lwp_self --- 5 unchanged lines hidden (view full) --- 275170 AUE_NULL UNIMPL lwp_cond_wait 276171 AUE_NULL UNIMPL lwp_cond_signal 277172 AUE_NULL UNIMPL lwp_cond_broadcast 278173 AUE_NULL UNIMPL { ssize_t svr4_sys_pread(int fd, void *buf, \ 279 size_t nbyte, svr4_off_t off); } 280174 AUE_NULL UNIMPL { ssize_t svr4_sys_pwrite(int fd, \ 281 const void *buf, size_t nbyte, \ 282 svr4_off_t off); } |
283175 AUE_NULL STD { svr4_off64_t svr4_sys_llseek(int fd, \ |
284 long offset1, long offset2, int whence); } 285176 AUE_NULL UNIMPL inst_sync 286177 AUE_NULL UNIMPL whoknows 287178 AUE_NULL UNIMPL kaio 288179 AUE_NULL UNIMPL whoknows 289180 AUE_NULL UNIMPL whoknows 290181 AUE_NULL UNIMPL whoknows 291182 AUE_NULL UNIMPL whoknows 292183 AUE_NULL UNIMPL whoknows 293184 AUE_NULL UNIMPL tsolsys |
294185 AUE_NULL STD { int svr4_sys_acl(char *path, int cmd, \ |
295 int num, struct svr4_aclent *buf); } |
296186 AUE_NULL STD { int svr4_sys_auditsys(int code, int a1, \ |
297 int a2, int a3, int a4, int a5); } 298187 AUE_NULL UNIMPL processor_bind 299188 AUE_NULL UNIMPL processor_info 300189 AUE_NULL UNIMPL p_online 301190 AUE_NULL UNIMPL sigqueue 302191 AUE_NULL UNIMPL clock_gettime 303192 AUE_NULL UNIMPL clock_settime 304193 AUE_NULL UNIMPL clock_getres 305194 AUE_NULL UNIMPL timer_create 306195 AUE_NULL UNIMPL timer_delete 307196 AUE_NULL UNIMPL timer_settime 308197 AUE_NULL UNIMPL timer_gettime 309198 AUE_NULL UNIMPL timer_overrun |
310199 AUE_NULL NOPROTO { int nanosleep( \ |
311 const struct timespec *rqtp, \ 312 struct timespec *rmtp); } |
313200 AUE_NULL STD { int svr4_sys_facl(int fd, int cmd, \ |
314 int num, struct svr4_aclent *buf); } 315201 AUE_NULL UNIMPL door |
316202 AUE_NULL NOPROTO { int setreuid(int ruid, int euid); } 317203 AUE_NULL NOPROTO { int setregid(int rgid, int egid); } |
318204 AUE_NULL UNIMPL install_utrap 319205 AUE_NULL UNIMPL signotify 320206 AUE_NULL UNIMPL schedctl 321207 AUE_NULL UNIMPL pset 322208 AUE_NULL UNIMPL whoknows |
323209 AUE_NULL STD { int svr4_sys_resolvepath(const char *path, \ |
324 char *buf, size_t bufsiz); } 325210 AUE_NULL UNIMPL signotifywait 326211 AUE_NULL UNIMPL lwp_sigredirect 327212 AUE_NULL UNIMPL lwp_alarm |
328213 AUE_NULL STD { int svr4_sys_getdents64(int fd, \ |
329 struct svr4_dirent64 *dp, int nbytes); } 330;213 AUE_NULL UNIMPL getdents64 |
331214 AUE_NULL STD { caddr_t svr4_sys_mmap64(void *addr, \ |
332 svr4_size_t len, int prot, int flags, \ 333 int fd, svr4_off64_t pos); } |
334215 AUE_NULL STD { int svr4_sys_stat64(char *path, \ |
335 struct svr4_stat64 *sb); } |
336216 AUE_NULL STD { int svr4_sys_lstat64(char *path, \ |
337 struct svr4_stat64 *sb); } |
338217 AUE_NULL STD { int svr4_sys_fstat64(int fd, \ |
339 struct svr4_stat64 *sb); } |
340218 AUE_NULL STD { int svr4_sys_statvfs64(char *path, \ |
341 struct svr4_statvfs64 *fs); } |
342219 AUE_NULL STD { int svr4_sys_fstatvfs64(int fd, \ |
343 struct svr4_statvfs64 *fs); } |
344220 AUE_NULL STD { int svr4_sys_setrlimit64(int which, \ |
345 const struct svr4_rlimit64 *rlp); } |
346221 AUE_NULL STD { int svr4_sys_getrlimit64(int which, \ |
347 struct svr4_rlimit64 *rlp); } 348222 AUE_NULL UNIMPL pread64 349223 AUE_NULL UNIMPL pwrite64 |
350224 AUE_NULL STD { int svr4_sys_creat64(char *path, \ |
351 int mode); } |
352225 AUE_NULL STD { int svr4_sys_open64(char *path, int flags, \ |
353 int mode); } 354226 AUE_NULL UNIMPL rpcsys 355227 AUE_NULL UNIMPL whoknows 356228 AUE_NULL UNIMPL whoknows 357229 AUE_NULL UNIMPL whoknows |
358230 AUE_NULL STD { int svr4_sys_socket(int domain, int type, \ |
359 int protocol); } |
360231 AUE_NULL NOPROTO { int socketpair(int domain, int type, \ |
361 int protocol, int *rsv); } |
362232 AUE_NULL NOPROTO { int bind(int s, \ |
363 const struct sockaddr *name, \ 364 int namelen); } |
365233 AUE_NULL NOPROTO { int listen(int s, int backlog); } 366234 AUE_NULL NOPROTO { int accept(int s, struct sockaddr *name, \ |
367 int *anamelen); } |
368235 AUE_NULL NOPROTO { int connect(int s, \ |
369 const struct sockaddr *name, \ 370 int namelen); } |
371236 AUE_NULL NOPROTO { int shutdown(int s, int how); } 372237 AUE_NULL STD { int svr4_sys_recv(int s, caddr_t buf, \ |
373 int len, int flags); } |
374238 AUE_NULL NOPROTO { ssize_t recvfrom(int s, void *buf, \ |
375 size_t len, int flags, \ 376 struct sockaddr *from, \ 377 int *fromlenaddr); } |
378239 AUE_NULL NOPROTO { ssize_t recvmsg(int s, struct msghdr *msg, \ |
379 int flags); } |
380240 AUE_NULL STD { int svr4_sys_send(int s, caddr_t buf, \ |
381 int len, int flags); } |
382241 AUE_NULL NOPROTO { ssize_t sendmsg(int s, \ |
383 const struct msghdr *msg, int flags); } |
384242 AUE_NULL STD { ssize_t svr4_sys_sendto(int s, void *buf, \ |
385 size_t len, int flags, \ 386 struct sockaddr *to, int tolen); } |
387243 AUE_NULL NOPROTO { int getpeername(int fdes, \ |
388 struct sockaddr *asa, int *alen); } |
389244 AUE_NULL NOPROTO { int getsockname(int fdes, \ |
390 struct sockaddr *asa, int *alen); } |
391245 AUE_NULL NOPROTO { int getsockopt(int s, int level, int name, \ |
392 void *val, int *avalsize); } |
393246 AUE_NULL NOPROTO { int setsockopt(int s, int level, int name, \ |
394 const void *val, int valsize); } 395247 AUE_NULL UNIMPL sockconfig 396248 AUE_NULL UNIMPL { int ntp_gettime(struct ntptimeval *ntvp); } |
397249 AUE_NULL UNIMPL { int ntp_adjtime(struct timex *tp); } |