diff options
Diffstat (limited to 'vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go | 216 |
1 files changed, 108 insertions, 108 deletions
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go index be1198d..33d1dc5 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go | |||
@@ -1,4 +1,4 @@ | |||
1 | // mksysnum_openbsd.pl | 1 | // go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master |
2 | // Code generated by the command above; see README.md. DO NOT EDIT. | 2 | // Code generated by the command above; see README.md. DO NOT EDIT. |
3 | 3 | ||
4 | // +build arm,openbsd | 4 | // +build arm,openbsd |
@@ -9,35 +9,35 @@ const ( | |||
9 | SYS_EXIT = 1 // { void sys_exit(int rval); } | 9 | SYS_EXIT = 1 // { void sys_exit(int rval); } |
10 | SYS_FORK = 2 // { int sys_fork(void); } | 10 | SYS_FORK = 2 // { int sys_fork(void); } |
11 | SYS_READ = 3 // { ssize_t sys_read(int fd, void *buf, size_t nbyte); } | 11 | SYS_READ = 3 // { ssize_t sys_read(int fd, void *buf, size_t nbyte); } |
12 | SYS_WRITE = 4 // { ssize_t sys_write(int fd, const void *buf, \ | 12 | SYS_WRITE = 4 // { ssize_t sys_write(int fd, const void *buf, size_t nbyte); } |
13 | SYS_OPEN = 5 // { int sys_open(const char *path, \ | 13 | SYS_OPEN = 5 // { int sys_open(const char *path, int flags, ... mode_t mode); } |
14 | SYS_CLOSE = 6 // { int sys_close(int fd); } | 14 | SYS_CLOSE = 6 // { int sys_close(int fd); } |
15 | SYS_GETENTROPY = 7 // { int sys_getentropy(void *buf, size_t nbyte); } | 15 | SYS_GETENTROPY = 7 // { int sys_getentropy(void *buf, size_t nbyte); } |
16 | SYS___TFORK = 8 // { int sys___tfork(const struct __tfork *param, \ | 16 | SYS___TFORK = 8 // { int sys___tfork(const struct __tfork *param, size_t psize); } |
17 | SYS_LINK = 9 // { int sys_link(const char *path, const char *link); } | 17 | SYS_LINK = 9 // { int sys_link(const char *path, const char *link); } |
18 | SYS_UNLINK = 10 // { int sys_unlink(const char *path); } | 18 | SYS_UNLINK = 10 // { int sys_unlink(const char *path); } |
19 | SYS_WAIT4 = 11 // { pid_t sys_wait4(pid_t pid, int *status, \ | 19 | SYS_WAIT4 = 11 // { pid_t sys_wait4(pid_t pid, int *status, int options, struct rusage *rusage); } |
20 | SYS_CHDIR = 12 // { int sys_chdir(const char *path); } | 20 | SYS_CHDIR = 12 // { int sys_chdir(const char *path); } |
21 | SYS_FCHDIR = 13 // { int sys_fchdir(int fd); } | 21 | SYS_FCHDIR = 13 // { int sys_fchdir(int fd); } |
22 | SYS_MKNOD = 14 // { int sys_mknod(const char *path, mode_t mode, \ | 22 | SYS_MKNOD = 14 // { int sys_mknod(const char *path, mode_t mode, dev_t dev); } |
23 | SYS_CHMOD = 15 // { int sys_chmod(const char *path, mode_t mode); } | 23 | SYS_CHMOD = 15 // { int sys_chmod(const char *path, mode_t mode); } |
24 | SYS_CHOWN = 16 // { int sys_chown(const char *path, uid_t uid, \ | 24 | SYS_CHOWN = 16 // { int sys_chown(const char *path, uid_t uid, gid_t gid); } |
25 | SYS_OBREAK = 17 // { int sys_obreak(char *nsize); } break | 25 | SYS_OBREAK = 17 // { int sys_obreak(char *nsize); } break |
26 | SYS_GETDTABLECOUNT = 18 // { int sys_getdtablecount(void); } | 26 | SYS_GETDTABLECOUNT = 18 // { int sys_getdtablecount(void); } |
27 | SYS_GETRUSAGE = 19 // { int sys_getrusage(int who, \ | 27 | SYS_GETRUSAGE = 19 // { int sys_getrusage(int who, struct rusage *rusage); } |
28 | SYS_GETPID = 20 // { pid_t sys_getpid(void); } | 28 | SYS_GETPID = 20 // { pid_t sys_getpid(void); } |
29 | SYS_MOUNT = 21 // { int sys_mount(const char *type, const char *path, \ | 29 | SYS_MOUNT = 21 // { int sys_mount(const char *type, const char *path, int flags, void *data); } |
30 | SYS_UNMOUNT = 22 // { int sys_unmount(const char *path, int flags); } | 30 | SYS_UNMOUNT = 22 // { int sys_unmount(const char *path, int flags); } |
31 | SYS_SETUID = 23 // { int sys_setuid(uid_t uid); } | 31 | SYS_SETUID = 23 // { int sys_setuid(uid_t uid); } |
32 | SYS_GETUID = 24 // { uid_t sys_getuid(void); } | 32 | SYS_GETUID = 24 // { uid_t sys_getuid(void); } |
33 | SYS_GETEUID = 25 // { uid_t sys_geteuid(void); } | 33 | SYS_GETEUID = 25 // { uid_t sys_geteuid(void); } |
34 | SYS_PTRACE = 26 // { int sys_ptrace(int req, pid_t pid, caddr_t addr, \ | 34 | SYS_PTRACE = 26 // { int sys_ptrace(int req, pid_t pid, caddr_t addr, int data); } |
35 | SYS_RECVMSG = 27 // { ssize_t sys_recvmsg(int s, struct msghdr *msg, \ | 35 | SYS_RECVMSG = 27 // { ssize_t sys_recvmsg(int s, struct msghdr *msg, int flags); } |
36 | SYS_SENDMSG = 28 // { ssize_t sys_sendmsg(int s, \ | 36 | SYS_SENDMSG = 28 // { ssize_t sys_sendmsg(int s, const struct msghdr *msg, int flags); } |
37 | SYS_RECVFROM = 29 // { ssize_t sys_recvfrom(int s, void *buf, size_t len, \ | 37 | SYS_RECVFROM = 29 // { ssize_t sys_recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlenaddr); } |
38 | SYS_ACCEPT = 30 // { int sys_accept(int s, struct sockaddr *name, \ | 38 | SYS_ACCEPT = 30 // { int sys_accept(int s, struct sockaddr *name, socklen_t *anamelen); } |
39 | SYS_GETPEERNAME = 31 // { int sys_getpeername(int fdes, struct sockaddr *asa, \ | 39 | SYS_GETPEERNAME = 31 // { int sys_getpeername(int fdes, struct sockaddr *asa, socklen_t *alen); } |
40 | SYS_GETSOCKNAME = 32 // { int sys_getsockname(int fdes, struct sockaddr *asa, \ | 40 | SYS_GETSOCKNAME = 32 // { int sys_getsockname(int fdes, struct sockaddr *asa, socklen_t *alen); } |
41 | SYS_ACCESS = 33 // { int sys_access(const char *path, int amode); } | 41 | SYS_ACCESS = 33 // { int sys_access(const char *path, int amode); } |
42 | SYS_CHFLAGS = 34 // { int sys_chflags(const char *path, u_int flags); } | 42 | SYS_CHFLAGS = 34 // { int sys_chflags(const char *path, u_int flags); } |
43 | SYS_FCHFLAGS = 35 // { int sys_fchflags(int fd, u_int flags); } | 43 | SYS_FCHFLAGS = 35 // { int sys_fchflags(int fd, u_int flags); } |
@@ -46,81 +46,81 @@ const ( | |||
46 | SYS_GETPPID = 39 // { pid_t sys_getppid(void); } | 46 | SYS_GETPPID = 39 // { pid_t sys_getppid(void); } |
47 | SYS_LSTAT = 40 // { int sys_lstat(const char *path, struct stat *ub); } | 47 | SYS_LSTAT = 40 // { int sys_lstat(const char *path, struct stat *ub); } |
48 | SYS_DUP = 41 // { int sys_dup(int fd); } | 48 | SYS_DUP = 41 // { int sys_dup(int fd); } |
49 | SYS_FSTATAT = 42 // { int sys_fstatat(int fd, const char *path, \ | 49 | SYS_FSTATAT = 42 // { int sys_fstatat(int fd, const char *path, struct stat *buf, int flag); } |
50 | SYS_GETEGID = 43 // { gid_t sys_getegid(void); } | 50 | SYS_GETEGID = 43 // { gid_t sys_getegid(void); } |
51 | SYS_PROFIL = 44 // { int sys_profil(caddr_t samples, size_t size, \ | 51 | SYS_PROFIL = 44 // { int sys_profil(caddr_t samples, size_t size, u_long offset, u_int scale); } |
52 | SYS_KTRACE = 45 // { int sys_ktrace(const char *fname, int ops, \ | 52 | SYS_KTRACE = 45 // { int sys_ktrace(const char *fname, int ops, int facs, pid_t pid); } |
53 | SYS_SIGACTION = 46 // { int sys_sigaction(int signum, \ | 53 | SYS_SIGACTION = 46 // { int sys_sigaction(int signum, const struct sigaction *nsa, struct sigaction *osa); } |
54 | SYS_GETGID = 47 // { gid_t sys_getgid(void); } | 54 | SYS_GETGID = 47 // { gid_t sys_getgid(void); } |
55 | SYS_SIGPROCMASK = 48 // { int sys_sigprocmask(int how, sigset_t mask); } | 55 | SYS_SIGPROCMASK = 48 // { int sys_sigprocmask(int how, sigset_t mask); } |
56 | SYS_SETLOGIN = 50 // { int sys_setlogin(const char *namebuf); } | 56 | SYS_SETLOGIN = 50 // { int sys_setlogin(const char *namebuf); } |
57 | SYS_ACCT = 51 // { int sys_acct(const char *path); } | 57 | SYS_ACCT = 51 // { int sys_acct(const char *path); } |
58 | SYS_SIGPENDING = 52 // { int sys_sigpending(void); } | 58 | SYS_SIGPENDING = 52 // { int sys_sigpending(void); } |
59 | SYS_FSTAT = 53 // { int sys_fstat(int fd, struct stat *sb); } | 59 | SYS_FSTAT = 53 // { int sys_fstat(int fd, struct stat *sb); } |
60 | SYS_IOCTL = 54 // { int sys_ioctl(int fd, \ | 60 | SYS_IOCTL = 54 // { int sys_ioctl(int fd, u_long com, ... void *data); } |
61 | SYS_REBOOT = 55 // { int sys_reboot(int opt); } | 61 | SYS_REBOOT = 55 // { int sys_reboot(int opt); } |
62 | SYS_REVOKE = 56 // { int sys_revoke(const char *path); } | 62 | SYS_REVOKE = 56 // { int sys_revoke(const char *path); } |
63 | SYS_SYMLINK = 57 // { int sys_symlink(const char *path, \ | 63 | SYS_SYMLINK = 57 // { int sys_symlink(const char *path, const char *link); } |
64 | SYS_READLINK = 58 // { ssize_t sys_readlink(const char *path, \ | 64 | SYS_READLINK = 58 // { ssize_t sys_readlink(const char *path, char *buf, size_t count); } |
65 | SYS_EXECVE = 59 // { int sys_execve(const char *path, \ | 65 | SYS_EXECVE = 59 // { int sys_execve(const char *path, char * const *argp, char * const *envp); } |
66 | SYS_UMASK = 60 // { mode_t sys_umask(mode_t newmask); } | 66 | SYS_UMASK = 60 // { mode_t sys_umask(mode_t newmask); } |
67 | SYS_CHROOT = 61 // { int sys_chroot(const char *path); } | 67 | SYS_CHROOT = 61 // { int sys_chroot(const char *path); } |
68 | SYS_GETFSSTAT = 62 // { int sys_getfsstat(struct statfs *buf, size_t bufsize, \ | 68 | SYS_GETFSSTAT = 62 // { int sys_getfsstat(struct statfs *buf, size_t bufsize, int flags); } |
69 | SYS_STATFS = 63 // { int sys_statfs(const char *path, \ | 69 | SYS_STATFS = 63 // { int sys_statfs(const char *path, struct statfs *buf); } |
70 | SYS_FSTATFS = 64 // { int sys_fstatfs(int fd, struct statfs *buf); } | 70 | SYS_FSTATFS = 64 // { int sys_fstatfs(int fd, struct statfs *buf); } |
71 | SYS_FHSTATFS = 65 // { int sys_fhstatfs(const fhandle_t *fhp, \ | 71 | SYS_FHSTATFS = 65 // { int sys_fhstatfs(const fhandle_t *fhp, struct statfs *buf); } |
72 | SYS_VFORK = 66 // { int sys_vfork(void); } | 72 | SYS_VFORK = 66 // { int sys_vfork(void); } |
73 | SYS_GETTIMEOFDAY = 67 // { int sys_gettimeofday(struct timeval *tp, \ | 73 | SYS_GETTIMEOFDAY = 67 // { int sys_gettimeofday(struct timeval *tp, struct timezone *tzp); } |
74 | SYS_SETTIMEOFDAY = 68 // { int sys_settimeofday(const struct timeval *tv, \ | 74 | SYS_SETTIMEOFDAY = 68 // { int sys_settimeofday(const struct timeval *tv, const struct timezone *tzp); } |
75 | SYS_SETITIMER = 69 // { int sys_setitimer(int which, \ | 75 | SYS_SETITIMER = 69 // { int sys_setitimer(int which, const struct itimerval *itv, struct itimerval *oitv); } |
76 | SYS_GETITIMER = 70 // { int sys_getitimer(int which, \ | 76 | SYS_GETITIMER = 70 // { int sys_getitimer(int which, struct itimerval *itv); } |
77 | SYS_SELECT = 71 // { int sys_select(int nd, fd_set *in, fd_set *ou, \ | 77 | SYS_SELECT = 71 // { int sys_select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); } |
78 | SYS_KEVENT = 72 // { int sys_kevent(int fd, \ | 78 | SYS_KEVENT = 72 // { int sys_kevent(int fd, const struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); } |
79 | SYS_MUNMAP = 73 // { int sys_munmap(void *addr, size_t len); } | 79 | SYS_MUNMAP = 73 // { int sys_munmap(void *addr, size_t len); } |
80 | SYS_MPROTECT = 74 // { int sys_mprotect(void *addr, size_t len, \ | 80 | SYS_MPROTECT = 74 // { int sys_mprotect(void *addr, size_t len, int prot); } |
81 | SYS_MADVISE = 75 // { int sys_madvise(void *addr, size_t len, \ | 81 | SYS_MADVISE = 75 // { int sys_madvise(void *addr, size_t len, int behav); } |
82 | SYS_UTIMES = 76 // { int sys_utimes(const char *path, \ | 82 | SYS_UTIMES = 76 // { int sys_utimes(const char *path, const struct timeval *tptr); } |
83 | SYS_FUTIMES = 77 // { int sys_futimes(int fd, \ | 83 | SYS_FUTIMES = 77 // { int sys_futimes(int fd, const struct timeval *tptr); } |
84 | SYS_MINCORE = 78 // { int sys_mincore(void *addr, size_t len, \ | 84 | SYS_MINCORE = 78 // { int sys_mincore(void *addr, size_t len, char *vec); } |
85 | SYS_GETGROUPS = 79 // { int sys_getgroups(int gidsetsize, \ | 85 | SYS_GETGROUPS = 79 // { int sys_getgroups(int gidsetsize, gid_t *gidset); } |
86 | SYS_SETGROUPS = 80 // { int sys_setgroups(int gidsetsize, \ | 86 | SYS_SETGROUPS = 80 // { int sys_setgroups(int gidsetsize, const gid_t *gidset); } |
87 | SYS_GETPGRP = 81 // { int sys_getpgrp(void); } | 87 | SYS_GETPGRP = 81 // { int sys_getpgrp(void); } |
88 | SYS_SETPGID = 82 // { int sys_setpgid(pid_t pid, pid_t pgid); } | 88 | SYS_SETPGID = 82 // { int sys_setpgid(pid_t pid, pid_t pgid); } |
89 | SYS_FUTEX = 83 // { int sys_futex(uint32_t *f, int op, int val, \ | 89 | SYS_FUTEX = 83 // { int sys_futex(uint32_t *f, int op, int val, const struct timespec *timeout, uint32_t *g); } |
90 | SYS_UTIMENSAT = 84 // { int sys_utimensat(int fd, const char *path, \ | 90 | SYS_UTIMENSAT = 84 // { int sys_utimensat(int fd, const char *path, const struct timespec *times, int flag); } |
91 | SYS_FUTIMENS = 85 // { int sys_futimens(int fd, \ | 91 | SYS_FUTIMENS = 85 // { int sys_futimens(int fd, const struct timespec *times); } |
92 | SYS_KBIND = 86 // { int sys_kbind(const struct __kbind *param, \ | 92 | SYS_KBIND = 86 // { int sys_kbind(const struct __kbind *param, size_t psize, int64_t proc_cookie); } |
93 | SYS_CLOCK_GETTIME = 87 // { int sys_clock_gettime(clockid_t clock_id, \ | 93 | SYS_CLOCK_GETTIME = 87 // { int sys_clock_gettime(clockid_t clock_id, struct timespec *tp); } |
94 | SYS_CLOCK_SETTIME = 88 // { int sys_clock_settime(clockid_t clock_id, \ | 94 | SYS_CLOCK_SETTIME = 88 // { int sys_clock_settime(clockid_t clock_id, const struct timespec *tp); } |
95 | SYS_CLOCK_GETRES = 89 // { int sys_clock_getres(clockid_t clock_id, \ | 95 | SYS_CLOCK_GETRES = 89 // { int sys_clock_getres(clockid_t clock_id, struct timespec *tp); } |
96 | SYS_DUP2 = 90 // { int sys_dup2(int from, int to); } | 96 | SYS_DUP2 = 90 // { int sys_dup2(int from, int to); } |
97 | SYS_NANOSLEEP = 91 // { int sys_nanosleep(const struct timespec *rqtp, \ | 97 | SYS_NANOSLEEP = 91 // { int sys_nanosleep(const struct timespec *rqtp, struct timespec *rmtp); } |
98 | SYS_FCNTL = 92 // { int sys_fcntl(int fd, int cmd, ... void *arg); } | 98 | SYS_FCNTL = 92 // { int sys_fcntl(int fd, int cmd, ... void *arg); } |
99 | SYS_ACCEPT4 = 93 // { int sys_accept4(int s, struct sockaddr *name, \ | 99 | SYS_ACCEPT4 = 93 // { int sys_accept4(int s, struct sockaddr *name, socklen_t *anamelen, int flags); } |
100 | SYS___THRSLEEP = 94 // { int sys___thrsleep(const volatile void *ident, \ | 100 | SYS___THRSLEEP = 94 // { int sys___thrsleep(const volatile void *ident, clockid_t clock_id, const struct timespec *tp, void *lock, const int *abort); } |
101 | SYS_FSYNC = 95 // { int sys_fsync(int fd); } | 101 | SYS_FSYNC = 95 // { int sys_fsync(int fd); } |
102 | SYS_SETPRIORITY = 96 // { int sys_setpriority(int which, id_t who, int prio); } | 102 | SYS_SETPRIORITY = 96 // { int sys_setpriority(int which, id_t who, int prio); } |
103 | SYS_SOCKET = 97 // { int sys_socket(int domain, int type, int protocol); } | 103 | SYS_SOCKET = 97 // { int sys_socket(int domain, int type, int protocol); } |
104 | SYS_CONNECT = 98 // { int sys_connect(int s, const struct sockaddr *name, \ | 104 | SYS_CONNECT = 98 // { int sys_connect(int s, const struct sockaddr *name, socklen_t namelen); } |
105 | SYS_GETDENTS = 99 // { int sys_getdents(int fd, void *buf, size_t buflen); } | 105 | SYS_GETDENTS = 99 // { int sys_getdents(int fd, void *buf, size_t buflen); } |
106 | SYS_GETPRIORITY = 100 // { int sys_getpriority(int which, id_t who); } | 106 | SYS_GETPRIORITY = 100 // { int sys_getpriority(int which, id_t who); } |
107 | SYS_PIPE2 = 101 // { int sys_pipe2(int *fdp, int flags); } | 107 | SYS_PIPE2 = 101 // { int sys_pipe2(int *fdp, int flags); } |
108 | SYS_DUP3 = 102 // { int sys_dup3(int from, int to, int flags); } | 108 | SYS_DUP3 = 102 // { int sys_dup3(int from, int to, int flags); } |
109 | SYS_SIGRETURN = 103 // { int sys_sigreturn(struct sigcontext *sigcntxp); } | 109 | SYS_SIGRETURN = 103 // { int sys_sigreturn(struct sigcontext *sigcntxp); } |
110 | SYS_BIND = 104 // { int sys_bind(int s, const struct sockaddr *name, \ | 110 | SYS_BIND = 104 // { int sys_bind(int s, const struct sockaddr *name, socklen_t namelen); } |
111 | SYS_SETSOCKOPT = 105 // { int sys_setsockopt(int s, int level, int name, \ | 111 | SYS_SETSOCKOPT = 105 // { int sys_setsockopt(int s, int level, int name, const void *val, socklen_t valsize); } |
112 | SYS_LISTEN = 106 // { int sys_listen(int s, int backlog); } | 112 | SYS_LISTEN = 106 // { int sys_listen(int s, int backlog); } |
113 | SYS_CHFLAGSAT = 107 // { int sys_chflagsat(int fd, const char *path, \ | 113 | SYS_CHFLAGSAT = 107 // { int sys_chflagsat(int fd, const char *path, u_int flags, int atflags); } |
114 | SYS_PLEDGE = 108 // { int sys_pledge(const char *promises, \ | 114 | SYS_PLEDGE = 108 // { int sys_pledge(const char *promises, const char *execpromises); } |
115 | SYS_PPOLL = 109 // { int sys_ppoll(struct pollfd *fds, \ | 115 | SYS_PPOLL = 109 // { int sys_ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *mask); } |
116 | SYS_PSELECT = 110 // { int sys_pselect(int nd, fd_set *in, fd_set *ou, \ | 116 | SYS_PSELECT = 110 // { int sys_pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *mask); } |
117 | SYS_SIGSUSPEND = 111 // { int sys_sigsuspend(int mask); } | 117 | SYS_SIGSUSPEND = 111 // { int sys_sigsuspend(int mask); } |
118 | SYS_SENDSYSLOG = 112 // { int sys_sendsyslog(const char *buf, size_t nbyte, \ | 118 | SYS_SENDSYSLOG = 112 // { int sys_sendsyslog(const char *buf, size_t nbyte, int flags); } |
119 | SYS_UNVEIL = 114 // { int sys_unveil(const char *path, \ | 119 | SYS_UNVEIL = 114 // { int sys_unveil(const char *path, const char *permissions); } |
120 | SYS_GETSOCKOPT = 118 // { int sys_getsockopt(int s, int level, int name, \ | 120 | SYS_GETSOCKOPT = 118 // { int sys_getsockopt(int s, int level, int name, void *val, socklen_t *avalsize); } |
121 | SYS_THRKILL = 119 // { int sys_thrkill(pid_t tid, int signum, void *tcb); } | 121 | SYS_THRKILL = 119 // { int sys_thrkill(pid_t tid, int signum, void *tcb); } |
122 | SYS_READV = 120 // { ssize_t sys_readv(int fd, \ | 122 | SYS_READV = 120 // { ssize_t sys_readv(int fd, const struct iovec *iovp, int iovcnt); } |
123 | SYS_WRITEV = 121 // { ssize_t sys_writev(int fd, \ | 123 | SYS_WRITEV = 121 // { ssize_t sys_writev(int fd, const struct iovec *iovp, int iovcnt); } |
124 | SYS_KILL = 122 // { int sys_kill(int pid, int signum); } | 124 | SYS_KILL = 122 // { int sys_kill(int pid, int signum); } |
125 | SYS_FCHOWN = 123 // { int sys_fchown(int fd, uid_t uid, gid_t gid); } | 125 | SYS_FCHOWN = 123 // { int sys_fchown(int fd, uid_t uid, gid_t gid); } |
126 | SYS_FCHMOD = 124 // { int sys_fchmod(int fd, mode_t mode); } | 126 | SYS_FCHMOD = 124 // { int sys_fchmod(int fd, mode_t mode); } |
@@ -129,90 +129,90 @@ const ( | |||
129 | SYS_RENAME = 128 // { int sys_rename(const char *from, const char *to); } | 129 | SYS_RENAME = 128 // { int sys_rename(const char *from, const char *to); } |
130 | SYS_FLOCK = 131 // { int sys_flock(int fd, int how); } | 130 | SYS_FLOCK = 131 // { int sys_flock(int fd, int how); } |
131 | SYS_MKFIFO = 132 // { int sys_mkfifo(const char *path, mode_t mode); } | 131 | SYS_MKFIFO = 132 // { int sys_mkfifo(const char *path, mode_t mode); } |
132 | SYS_SENDTO = 133 // { ssize_t sys_sendto(int s, const void *buf, \ | 132 | SYS_SENDTO = 133 // { ssize_t sys_sendto(int s, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen); } |
133 | SYS_SHUTDOWN = 134 // { int sys_shutdown(int s, int how); } | 133 | SYS_SHUTDOWN = 134 // { int sys_shutdown(int s, int how); } |
134 | SYS_SOCKETPAIR = 135 // { int sys_socketpair(int domain, int type, \ | 134 | SYS_SOCKETPAIR = 135 // { int sys_socketpair(int domain, int type, int protocol, int *rsv); } |
135 | SYS_MKDIR = 136 // { int sys_mkdir(const char *path, mode_t mode); } | 135 | SYS_MKDIR = 136 // { int sys_mkdir(const char *path, mode_t mode); } |
136 | SYS_RMDIR = 137 // { int sys_rmdir(const char *path); } | 136 | SYS_RMDIR = 137 // { int sys_rmdir(const char *path); } |
137 | SYS_ADJTIME = 140 // { int sys_adjtime(const struct timeval *delta, \ | 137 | SYS_ADJTIME = 140 // { int sys_adjtime(const struct timeval *delta, struct timeval *olddelta); } |
138 | SYS_GETLOGIN_R = 141 // { int sys_getlogin_r(char *namebuf, u_int namelen); } | 138 | SYS_GETLOGIN_R = 141 // { int sys_getlogin_r(char *namebuf, u_int namelen); } |
139 | SYS_SETSID = 147 // { int sys_setsid(void); } | 139 | SYS_SETSID = 147 // { int sys_setsid(void); } |
140 | SYS_QUOTACTL = 148 // { int sys_quotactl(const char *path, int cmd, \ | 140 | SYS_QUOTACTL = 148 // { int sys_quotactl(const char *path, int cmd, int uid, char *arg); } |
141 | SYS_NFSSVC = 155 // { int sys_nfssvc(int flag, void *argp); } | 141 | SYS_NFSSVC = 155 // { int sys_nfssvc(int flag, void *argp); } |
142 | SYS_GETFH = 161 // { int sys_getfh(const char *fname, fhandle_t *fhp); } | 142 | SYS_GETFH = 161 // { int sys_getfh(const char *fname, fhandle_t *fhp); } |
143 | SYS_SYSARCH = 165 // { int sys_sysarch(int op, void *parms); } | 143 | SYS_SYSARCH = 165 // { int sys_sysarch(int op, void *parms); } |
144 | SYS_PREAD = 173 // { ssize_t sys_pread(int fd, void *buf, \ | 144 | SYS_PREAD = 173 // { ssize_t sys_pread(int fd, void *buf, size_t nbyte, int pad, off_t offset); } |
145 | SYS_PWRITE = 174 // { ssize_t sys_pwrite(int fd, const void *buf, \ | 145 | SYS_PWRITE = 174 // { ssize_t sys_pwrite(int fd, const void *buf, size_t nbyte, int pad, off_t offset); } |
146 | SYS_SETGID = 181 // { int sys_setgid(gid_t gid); } | 146 | SYS_SETGID = 181 // { int sys_setgid(gid_t gid); } |
147 | SYS_SETEGID = 182 // { int sys_setegid(gid_t egid); } | 147 | SYS_SETEGID = 182 // { int sys_setegid(gid_t egid); } |
148 | SYS_SETEUID = 183 // { int sys_seteuid(uid_t euid); } | 148 | SYS_SETEUID = 183 // { int sys_seteuid(uid_t euid); } |
149 | SYS_PATHCONF = 191 // { long sys_pathconf(const char *path, int name); } | 149 | SYS_PATHCONF = 191 // { long sys_pathconf(const char *path, int name); } |
150 | SYS_FPATHCONF = 192 // { long sys_fpathconf(int fd, int name); } | 150 | SYS_FPATHCONF = 192 // { long sys_fpathconf(int fd, int name); } |
151 | SYS_SWAPCTL = 193 // { int sys_swapctl(int cmd, const void *arg, int misc); } | 151 | SYS_SWAPCTL = 193 // { int sys_swapctl(int cmd, const void *arg, int misc); } |
152 | SYS_GETRLIMIT = 194 // { int sys_getrlimit(int which, \ | 152 | SYS_GETRLIMIT = 194 // { int sys_getrlimit(int which, struct rlimit *rlp); } |
153 | SYS_SETRLIMIT = 195 // { int sys_setrlimit(int which, \ | 153 | SYS_SETRLIMIT = 195 // { int sys_setrlimit(int which, const struct rlimit *rlp); } |
154 | SYS_MMAP = 197 // { void *sys_mmap(void *addr, size_t len, int prot, \ | 154 | SYS_MMAP = 197 // { void *sys_mmap(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); } |
155 | SYS_LSEEK = 199 // { off_t sys_lseek(int fd, int pad, off_t offset, \ | 155 | SYS_LSEEK = 199 // { off_t sys_lseek(int fd, int pad, off_t offset, int whence); } |
156 | SYS_TRUNCATE = 200 // { int sys_truncate(const char *path, int pad, \ | 156 | SYS_TRUNCATE = 200 // { int sys_truncate(const char *path, int pad, off_t length); } |
157 | SYS_FTRUNCATE = 201 // { int sys_ftruncate(int fd, int pad, off_t length); } | 157 | SYS_FTRUNCATE = 201 // { int sys_ftruncate(int fd, int pad, off_t length); } |
158 | SYS_SYSCTL = 202 // { int sys_sysctl(const int *name, u_int namelen, \ | 158 | SYS_SYSCTL = 202 // { int sys_sysctl(const int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } |
159 | SYS_MLOCK = 203 // { int sys_mlock(const void *addr, size_t len); } | 159 | SYS_MLOCK = 203 // { int sys_mlock(const void *addr, size_t len); } |
160 | SYS_MUNLOCK = 204 // { int sys_munlock(const void *addr, size_t len); } | 160 | SYS_MUNLOCK = 204 // { int sys_munlock(const void *addr, size_t len); } |
161 | SYS_GETPGID = 207 // { pid_t sys_getpgid(pid_t pid); } | 161 | SYS_GETPGID = 207 // { pid_t sys_getpgid(pid_t pid); } |
162 | SYS_UTRACE = 209 // { int sys_utrace(const char *label, const void *addr, \ | 162 | SYS_UTRACE = 209 // { int sys_utrace(const char *label, const void *addr, size_t len); } |
163 | SYS_SEMGET = 221 // { int sys_semget(key_t key, int nsems, int semflg); } | 163 | SYS_SEMGET = 221 // { int sys_semget(key_t key, int nsems, int semflg); } |
164 | SYS_MSGGET = 225 // { int sys_msgget(key_t key, int msgflg); } | 164 | SYS_MSGGET = 225 // { int sys_msgget(key_t key, int msgflg); } |
165 | SYS_MSGSND = 226 // { int sys_msgsnd(int msqid, const void *msgp, size_t msgsz, \ | 165 | SYS_MSGSND = 226 // { int sys_msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); } |
166 | SYS_MSGRCV = 227 // { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, \ | 166 | SYS_MSGRCV = 227 // { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); } |
167 | SYS_SHMAT = 228 // { void *sys_shmat(int shmid, const void *shmaddr, \ | 167 | SYS_SHMAT = 228 // { void *sys_shmat(int shmid, const void *shmaddr, int shmflg); } |
168 | SYS_SHMDT = 230 // { int sys_shmdt(const void *shmaddr); } | 168 | SYS_SHMDT = 230 // { int sys_shmdt(const void *shmaddr); } |
169 | SYS_MINHERIT = 250 // { int sys_minherit(void *addr, size_t len, \ | 169 | SYS_MINHERIT = 250 // { int sys_minherit(void *addr, size_t len, int inherit); } |
170 | SYS_POLL = 252 // { int sys_poll(struct pollfd *fds, \ | 170 | SYS_POLL = 252 // { int sys_poll(struct pollfd *fds, u_int nfds, int timeout); } |
171 | SYS_ISSETUGID = 253 // { int sys_issetugid(void); } | 171 | SYS_ISSETUGID = 253 // { int sys_issetugid(void); } |
172 | SYS_LCHOWN = 254 // { int sys_lchown(const char *path, uid_t uid, gid_t gid); } | 172 | SYS_LCHOWN = 254 // { int sys_lchown(const char *path, uid_t uid, gid_t gid); } |
173 | SYS_GETSID = 255 // { pid_t sys_getsid(pid_t pid); } | 173 | SYS_GETSID = 255 // { pid_t sys_getsid(pid_t pid); } |
174 | SYS_MSYNC = 256 // { int sys_msync(void *addr, size_t len, int flags); } | 174 | SYS_MSYNC = 256 // { int sys_msync(void *addr, size_t len, int flags); } |
175 | SYS_PIPE = 263 // { int sys_pipe(int *fdp); } | 175 | SYS_PIPE = 263 // { int sys_pipe(int *fdp); } |
176 | SYS_FHOPEN = 264 // { int sys_fhopen(const fhandle_t *fhp, int flags); } | 176 | SYS_FHOPEN = 264 // { int sys_fhopen(const fhandle_t *fhp, int flags); } |
177 | SYS_PREADV = 267 // { ssize_t sys_preadv(int fd, \ | 177 | SYS_PREADV = 267 // { ssize_t sys_preadv(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); } |
178 | SYS_PWRITEV = 268 // { ssize_t sys_pwritev(int fd, \ | 178 | SYS_PWRITEV = 268 // { ssize_t sys_pwritev(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); } |
179 | SYS_KQUEUE = 269 // { int sys_kqueue(void); } | 179 | SYS_KQUEUE = 269 // { int sys_kqueue(void); } |
180 | SYS_MLOCKALL = 271 // { int sys_mlockall(int flags); } | 180 | SYS_MLOCKALL = 271 // { int sys_mlockall(int flags); } |
181 | SYS_MUNLOCKALL = 272 // { int sys_munlockall(void); } | 181 | SYS_MUNLOCKALL = 272 // { int sys_munlockall(void); } |
182 | SYS_GETRESUID = 281 // { int sys_getresuid(uid_t *ruid, uid_t *euid, \ | 182 | SYS_GETRESUID = 281 // { int sys_getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); } |
183 | SYS_SETRESUID = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, \ | 183 | SYS_SETRESUID = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, uid_t suid); } |
184 | SYS_GETRESGID = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, \ | 184 | SYS_GETRESGID = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); } |
185 | SYS_SETRESGID = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, \ | 185 | SYS_SETRESGID = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid); } |
186 | SYS_MQUERY = 286 // { void *sys_mquery(void *addr, size_t len, int prot, \ | 186 | SYS_MQUERY = 286 // { void *sys_mquery(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); } |
187 | SYS_CLOSEFROM = 287 // { int sys_closefrom(int fd); } | 187 | SYS_CLOSEFROM = 287 // { int sys_closefrom(int fd); } |
188 | SYS_SIGALTSTACK = 288 // { int sys_sigaltstack(const struct sigaltstack *nss, \ | 188 | SYS_SIGALTSTACK = 288 // { int sys_sigaltstack(const struct sigaltstack *nss, struct sigaltstack *oss); } |
189 | SYS_SHMGET = 289 // { int sys_shmget(key_t key, size_t size, int shmflg); } | 189 | SYS_SHMGET = 289 // { int sys_shmget(key_t key, size_t size, int shmflg); } |
190 | SYS_SEMOP = 290 // { int sys_semop(int semid, struct sembuf *sops, \ | 190 | SYS_SEMOP = 290 // { int sys_semop(int semid, struct sembuf *sops, size_t nsops); } |
191 | SYS_FHSTAT = 294 // { int sys_fhstat(const fhandle_t *fhp, \ | 191 | SYS_FHSTAT = 294 // { int sys_fhstat(const fhandle_t *fhp, struct stat *sb); } |
192 | SYS___SEMCTL = 295 // { int sys___semctl(int semid, int semnum, int cmd, \ | 192 | SYS___SEMCTL = 295 // { int sys___semctl(int semid, int semnum, int cmd, union semun *arg); } |
193 | SYS_SHMCTL = 296 // { int sys_shmctl(int shmid, int cmd, \ | 193 | SYS_SHMCTL = 296 // { int sys_shmctl(int shmid, int cmd, struct shmid_ds *buf); } |
194 | SYS_MSGCTL = 297 // { int sys_msgctl(int msqid, int cmd, \ | 194 | SYS_MSGCTL = 297 // { int sys_msgctl(int msqid, int cmd, struct msqid_ds *buf); } |
195 | SYS_SCHED_YIELD = 298 // { int sys_sched_yield(void); } | 195 | SYS_SCHED_YIELD = 298 // { int sys_sched_yield(void); } |
196 | SYS_GETTHRID = 299 // { pid_t sys_getthrid(void); } | 196 | SYS_GETTHRID = 299 // { pid_t sys_getthrid(void); } |
197 | SYS___THRWAKEUP = 301 // { int sys___thrwakeup(const volatile void *ident, \ | 197 | SYS___THRWAKEUP = 301 // { int sys___thrwakeup(const volatile void *ident, int n); } |
198 | SYS___THREXIT = 302 // { void sys___threxit(pid_t *notdead); } | 198 | SYS___THREXIT = 302 // { void sys___threxit(pid_t *notdead); } |
199 | SYS___THRSIGDIVERT = 303 // { int sys___thrsigdivert(sigset_t sigmask, \ | 199 | SYS___THRSIGDIVERT = 303 // { int sys___thrsigdivert(sigset_t sigmask, siginfo_t *info, const struct timespec *timeout); } |
200 | SYS___GETCWD = 304 // { int sys___getcwd(char *buf, size_t len); } | 200 | SYS___GETCWD = 304 // { int sys___getcwd(char *buf, size_t len); } |
201 | SYS_ADJFREQ = 305 // { int sys_adjfreq(const int64_t *freq, \ | 201 | SYS_ADJFREQ = 305 // { int sys_adjfreq(const int64_t *freq, int64_t *oldfreq); } |
202 | SYS_SETRTABLE = 310 // { int sys_setrtable(int rtableid); } | 202 | SYS_SETRTABLE = 310 // { int sys_setrtable(int rtableid); } |
203 | SYS_GETRTABLE = 311 // { int sys_getrtable(void); } | 203 | SYS_GETRTABLE = 311 // { int sys_getrtable(void); } |
204 | SYS_FACCESSAT = 313 // { int sys_faccessat(int fd, const char *path, \ | 204 | SYS_FACCESSAT = 313 // { int sys_faccessat(int fd, const char *path, int amode, int flag); } |
205 | SYS_FCHMODAT = 314 // { int sys_fchmodat(int fd, const char *path, \ | 205 | SYS_FCHMODAT = 314 // { int sys_fchmodat(int fd, const char *path, mode_t mode, int flag); } |
206 | SYS_FCHOWNAT = 315 // { int sys_fchownat(int fd, const char *path, \ | 206 | SYS_FCHOWNAT = 315 // { int sys_fchownat(int fd, const char *path, uid_t uid, gid_t gid, int flag); } |
207 | SYS_LINKAT = 317 // { int sys_linkat(int fd1, const char *path1, int fd2, \ | 207 | SYS_LINKAT = 317 // { int sys_linkat(int fd1, const char *path1, int fd2, const char *path2, int flag); } |
208 | SYS_MKDIRAT = 318 // { int sys_mkdirat(int fd, const char *path, \ | 208 | SYS_MKDIRAT = 318 // { int sys_mkdirat(int fd, const char *path, mode_t mode); } |
209 | SYS_MKFIFOAT = 319 // { int sys_mkfifoat(int fd, const char *path, \ | 209 | SYS_MKFIFOAT = 319 // { int sys_mkfifoat(int fd, const char *path, mode_t mode); } |
210 | SYS_MKNODAT = 320 // { int sys_mknodat(int fd, const char *path, \ | 210 | SYS_MKNODAT = 320 // { int sys_mknodat(int fd, const char *path, mode_t mode, dev_t dev); } |
211 | SYS_OPENAT = 321 // { int sys_openat(int fd, const char *path, int flags, \ | 211 | SYS_OPENAT = 321 // { int sys_openat(int fd, const char *path, int flags, ... mode_t mode); } |
212 | SYS_READLINKAT = 322 // { ssize_t sys_readlinkat(int fd, const char *path, \ | 212 | SYS_READLINKAT = 322 // { ssize_t sys_readlinkat(int fd, const char *path, char *buf, size_t count); } |
213 | SYS_RENAMEAT = 323 // { int sys_renameat(int fromfd, const char *from, \ | 213 | SYS_RENAMEAT = 323 // { int sys_renameat(int fromfd, const char *from, int tofd, const char *to); } |
214 | SYS_SYMLINKAT = 324 // { int sys_symlinkat(const char *path, int fd, \ | 214 | SYS_SYMLINKAT = 324 // { int sys_symlinkat(const char *path, int fd, const char *link); } |
215 | SYS_UNLINKAT = 325 // { int sys_unlinkat(int fd, const char *path, \ | 215 | SYS_UNLINKAT = 325 // { int sys_unlinkat(int fd, const char *path, int flag); } |
216 | SYS___SET_TCB = 329 // { void sys___set_tcb(void *tcb); } | 216 | SYS___SET_TCB = 329 // { void sys___set_tcb(void *tcb); } |
217 | SYS___GET_TCB = 330 // { void *sys___get_tcb(void); } | 217 | SYS___GET_TCB = 330 // { void *sys___get_tcb(void); } |
218 | ) | 218 | ) |