Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
7b5ae29a
Commit
7b5ae29a
authored
Dec 13, 2011
by
Joel Sing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
syscall: regenerate z-files for openbsd
R=golang-dev, bradfitz CC=golang-dev
https://golang.org/cl/5414053
parent
26239417
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
249 additions
and
216 deletions
+249
-216
zerrors_openbsd_386.go
src/pkg/syscall/zerrors_openbsd_386.go
+23
-8
zerrors_openbsd_amd64.go
src/pkg/syscall/zerrors_openbsd_amd64.go
+23
-8
zsysnum_openbsd_386.go
src/pkg/syscall/zsysnum_openbsd_386.go
+200
-200
zsysnum_openbsd_amd64.go
src/pkg/syscall/zsysnum_openbsd_amd64.go
+3
-0
No files found.
src/pkg/syscall/zerrors_openbsd_386.go
View file @
7b5ae29a
...
...
@@ -149,6 +149,13 @@ const (
DT_REG
=
0x8
DT_SOCK
=
0xc
DT_UNKNOWN
=
0x0
ECHO
=
0x8
ECHOCTL
=
0x40
ECHOE
=
0x2
ECHOK
=
0x4
ECHOKE
=
0x1
ECHONL
=
0x10
ECHOPRT
=
0x20
EFER_LMA
=
0x400
EFER_LME
=
0x100
EFER_NXE
=
0x800
...
...
@@ -156,6 +163,7 @@ const (
EMT_TAGOVF
=
0x1
EMUL_ENABLED
=
0x1
EMUL_NATIVE
=
0x2
ENDRUNDISC
=
0x9
ETHERMIN
=
0x2e
ETHERMTU
=
0x5dc
ETHERTYPE_8023
=
0x4
...
...
@@ -383,6 +391,7 @@ const (
F_GETFL
=
0x3
F_GETLK
=
0x7
F_GETOWN
=
0x5
F_OK
=
0x0
F_RDLCK
=
0x1
F_SETFD
=
0x2
F_SETFL
=
0x4
...
...
@@ -787,6 +796,10 @@ const (
IP_RTABLE
=
0x1021
IP_TOS
=
0x3
IP_TTL
=
0x4
LOCK_EX
=
0x2
LOCK_NB
=
0x4
LOCK_SH
=
0x1
LOCK_UN
=
0x8
MAP_ET_KVAGUARD
=
0x10
MSG_BCAST
=
0x100
MSG_CTRUNC
=
0x20
...
...
@@ -826,6 +839,13 @@ const (
O_SYNC
=
0x80
O_TRUNC
=
0x400
O_WRONLY
=
0x1
RLIMIT_CORE
=
0x4
RLIMIT_CPU
=
0x0
RLIMIT_DATA
=
0x2
RLIMIT_FSIZE
=
0x1
RLIMIT_NOFILE
=
0x8
RLIMIT_STACK
=
0x3
RLIM_INFINITY
=
0x7fffffffffffffff
RTAX_AUTHOR
=
0x6
RTAX_BRD
=
0x7
RTAX_DST
=
0x0
...
...
@@ -901,6 +921,9 @@ const (
RTV_SPIPE
=
0x10
RTV_SSTHRESH
=
0x20
RT_TABLEID_MAX
=
0xff
RUSAGE_CHILDREN
=
-
0x1
RUSAGE_SELF
=
0x0
RUSAGE_THREAD
=
0x1
SCM_CREDS
=
0x2
SCM_RIGHTS
=
0x1
SCM_TIMESTAMP
=
0x4
...
...
@@ -1182,13 +1205,6 @@ const (
EBUSY
=
Errno
(
0x10
)
ECANCELED
=
Errno
(
0x58
)
ECHILD
=
Errno
(
0xa
)
ECHO
=
Errno
(
0x8
)
ECHOCTL
=
Errno
(
0x40
)
ECHOE
=
Errno
(
0x2
)
ECHOK
=
Errno
(
0x4
)
ECHOKE
=
Errno
(
0x1
)
ECHONL
=
Errno
(
0x10
)
ECHOPRT
=
Errno
(
0x20
)
ECONNABORTED
=
Errno
(
0x35
)
ECONNREFUSED
=
Errno
(
0x3d
)
ECONNRESET
=
Errno
(
0x36
)
...
...
@@ -1218,7 +1234,6 @@ const (
EMLINK
=
Errno
(
0x1f
)
EMSGSIZE
=
Errno
(
0x28
)
ENAMETOOLONG
=
Errno
(
0x3f
)
ENDRUNDISC
=
Errno
(
0x9
)
ENEEDAUTH
=
Errno
(
0x51
)
ENETDOWN
=
Errno
(
0x32
)
ENETRESET
=
Errno
(
0x34
)
...
...
src/pkg/syscall/zerrors_openbsd_amd64.go
View file @
7b5ae29a
...
...
@@ -149,6 +149,13 @@ const (
DT_REG
=
0x8
DT_SOCK
=
0xc
DT_UNKNOWN
=
0x0
ECHO
=
0x8
ECHOCTL
=
0x40
ECHOE
=
0x2
ECHOK
=
0x4
ECHOKE
=
0x1
ECHONL
=
0x10
ECHOPRT
=
0x20
EFER_LMA
=
0x400
EFER_LME
=
0x100
EFER_NXE
=
0x800
...
...
@@ -156,6 +163,7 @@ const (
EMT_TAGOVF
=
0x1
EMUL_ENABLED
=
0x1
EMUL_NATIVE
=
0x2
ENDRUNDISC
=
0x9
ETHERMIN
=
0x2e
ETHERMTU
=
0x5dc
ETHERTYPE_8023
=
0x4
...
...
@@ -383,6 +391,7 @@ const (
F_GETFL
=
0x3
F_GETLK
=
0x7
F_GETOWN
=
0x5
F_OK
=
0x0
F_RDLCK
=
0x1
F_SETFD
=
0x2
F_SETFL
=
0x4
...
...
@@ -787,6 +796,10 @@ const (
IP_RTABLE
=
0x1021
IP_TOS
=
0x3
IP_TTL
=
0x4
LOCK_EX
=
0x2
LOCK_NB
=
0x4
LOCK_SH
=
0x1
LOCK_UN
=
0x8
MAP_ET_KVAGUARD
=
0x10
MSG_BCAST
=
0x100
MSG_CTRUNC
=
0x20
...
...
@@ -826,6 +839,13 @@ const (
O_SYNC
=
0x80
O_TRUNC
=
0x400
O_WRONLY
=
0x1
RLIMIT_CORE
=
0x4
RLIMIT_CPU
=
0x0
RLIMIT_DATA
=
0x2
RLIMIT_FSIZE
=
0x1
RLIMIT_NOFILE
=
0x8
RLIMIT_STACK
=
0x3
RLIM_INFINITY
=
0x7fffffffffffffff
RTAX_AUTHOR
=
0x6
RTAX_BRD
=
0x7
RTAX_DST
=
0x0
...
...
@@ -901,6 +921,9 @@ const (
RTV_SPIPE
=
0x10
RTV_SSTHRESH
=
0x20
RT_TABLEID_MAX
=
0xff
RUSAGE_CHILDREN
=
-
0x1
RUSAGE_SELF
=
0x0
RUSAGE_THREAD
=
0x1
SCM_CREDS
=
0x2
SCM_RIGHTS
=
0x1
SCM_TIMESTAMP
=
0x4
...
...
@@ -1182,13 +1205,6 @@ const (
EBUSY
=
Errno
(
0x10
)
ECANCELED
=
Errno
(
0x58
)
ECHILD
=
Errno
(
0xa
)
ECHO
=
Errno
(
0x8
)
ECHOCTL
=
Errno
(
0x40
)
ECHOE
=
Errno
(
0x2
)
ECHOK
=
Errno
(
0x4
)
ECHOKE
=
Errno
(
0x1
)
ECHONL
=
Errno
(
0x10
)
ECHOPRT
=
Errno
(
0x20
)
ECONNABORTED
=
Errno
(
0x35
)
ECONNREFUSED
=
Errno
(
0x3d
)
ECONNRESET
=
Errno
(
0x36
)
...
...
@@ -1218,7 +1234,6 @@ const (
EMLINK
=
Errno
(
0x1f
)
EMSGSIZE
=
Errno
(
0x28
)
ENAMETOOLONG
=
Errno
(
0x3f
)
ENDRUNDISC
=
Errno
(
0x9
)
ENEEDAUTH
=
Errno
(
0x51
)
ENETDOWN
=
Errno
(
0x32
)
ENETRESET
=
Errno
(
0x34
)
...
...
src/pkg/syscall/zsysnum_openbsd_386.go
View file @
7b5ae29a
...
...
@@ -4,204 +4,204 @@
package
syscall
const
(
SYS_EXIT
=
1
// { void sys_exit(int rval); }
SYS_FORK
=
2
// { int sys_fork(void); }
SYS_READ
=
3
// { ssize_t sys_read(int fd, void *buf, size_t nbyte); }
SYS_WRITE
=
4
// { ssize_t sys_write(int fd, const void *buf, \
SYS_OPEN
=
5
// { int sys_open(const char *path, \
SYS_CLOSE
=
6
// { int sys_close(int fd); }
SYS_WAIT4
=
7
// { pid_t sys_wait4(pid_t pid, int *status, int options, \
SYS_LINK
=
9
// { int sys_link(const char *path, const char *link); }
SYS_UNLINK
=
10
// { int sys_unlink(const char *path); }
SYS_CHDIR
=
12
// { int sys_chdir(const char *path); }
SYS_FCHDIR
=
13
// { int sys_fchdir(int fd); }
SYS_MKNOD
=
14
// { int sys_mknod(const char *path, mode_t mode, \
SYS_CHMOD
=
15
// { int sys_chmod(const char *path, mode_t mode); }
SYS_CHOWN
=
16
// { int sys_chown(const char *path, uid_t uid, \
SYS_OBREAK
=
17
// { int sys_obreak(char *nsize); } break
SYS_GETPID
=
20
// { pid_t sys_getpid(void); }
SYS_MOUNT
=
21
// { int sys_mount(const char *type, const char *path, \
SYS_UNMOUNT
=
22
// { int sys_unmount(const char *path, int flags); }
SYS_SETUID
=
23
// { int sys_setuid(uid_t uid); }
SYS_GETUID
=
24
// { uid_t sys_getuid(void); }
SYS_GETEUID
=
25
// { uid_t sys_geteuid(void); }
SYS_PTRACE
=
26
// { int sys_ptrace(int req, pid_t pid, caddr_t addr, \
SYS_RECVMSG
=
27
// { ssize_t sys_recvmsg(int s, struct msghdr *msg, \
SYS_SENDMSG
=
28
// { ssize_t sys_sendmsg(int s, \
SYS_RECVFROM
=
29
// { ssize_t sys_recvfrom(int s, void *buf, size_t len, \
SYS_ACCEPT
=
30
// { int sys_accept(int s, struct sockaddr *name, \
SYS_GETPEERNAME
=
31
// { int sys_getpeername(int fdes, struct sockaddr *asa, \
SYS_GETSOCKNAME
=
32
// { int sys_getsockname(int fdes, struct sockaddr *asa, \
SYS_ACCESS
=
33
// { int sys_access(const char *path, int flags); }
SYS_CHFLAGS
=
34
// { int sys_chflags(const char *path, u_int flags); }
SYS_FCHFLAGS
=
35
// { int sys_fchflags(int fd, u_int flags); }
SYS_SYNC
=
36
// { void sys_sync(void); }
SYS_KILL
=
37
// { int sys_kill(int pid, int signum); }
SYS_GETPPID
=
39
// { pid_t sys_getppid(void); }
SYS_DUP
=
41
// { int sys_dup(int fd); }
SYS_GETEGID
=
43
// { gid_t sys_getegid(void); }
SYS_PROFIL
=
44
// { int sys_profil(caddr_t samples, size_t size, \
SYS_KTRACE
=
45
// { int sys_ktrace(const char *fname, int ops, \
SYS_SIGACTION
=
46
// { int sys_sigaction(int signum, \
SYS_GETGID
=
47
// { gid_t sys_getgid(void); }
SYS_SIGPROCMASK
=
48
// { int sys_sigprocmask(int how, sigset_t mask); }
SYS_GETLOGIN
=
49
// { int sys_getlogin(char *namebuf, u_int namelen); }
SYS_SETLOGIN
=
50
// { int sys_setlogin(const char *namebuf); }
SYS_ACCT
=
51
// { int sys_acct(const char *path); }
SYS_SIGPENDING
=
52
// { int sys_sigpending(void); }
SYS_
OSIGALTSTACK
=
53
// { int sys_osigaltstack(const struct osigaltstack *nss
, \
SYS_
IOCTL
=
54
// { int sys_ioctl(int fd, \
SYS_RE
BOOT
=
55
// { int sys_reboot(int opt
); }
SYS_
REVOKE
=
56
// { int sys_revoke(const char *path); }
SYS_
SYMLINK
=
57
// { int sys_symlink(const char *path
, \
SYS_
READLINK
=
58
// { int sys_readlink(const char *path, char *buf
, \
SYS_
EXECVE
=
59
// { int sys_execve(const char *path, \
SYS_
UMASK
=
60
// { mode_t sys_umask(mode_t newmask
); }
SYS_
CHROOT
=
61
// { int sys_chroot(const char *path
); }
SYS_
VFORK
=
66
// { int sys_vfork(void
); }
SYS_
SBRK
=
69
// { int sys_sbrk(int incr); }
SYS_
SSTK
=
70
// { int sys_sstk(int incr); }
SYS_M
UNMAP
=
73
// { int sys_munmap(void *addr, size_t len); }
SYS_
MPROTECT
=
74
// { int sys_mprotect(void *addr, size_t len
, \
SYS_
MADVISE
=
75
// { int sys_madvise(void *addr, size_t len
, \
SYS_
MINCORE
=
78
// { int sys_mincore(void *addr, size_t len, \
SYS_
GETGROUPS
=
79
// { int sys_getgroups(int gidsetsize, \
SYS_SET
GROUPS
=
80
// { int sys_setgroups(int gidsetsize
, \
SYS_GET
PGRP
=
81
// { int sys_getpgrp(void); }
SYS_
SETPGID
=
82
// { int sys_setpgid(pid_t pid, int pgid
); }
SYS_
SETITIMER
=
83
// { int sys_setitimer(int which, \
SYS_
GETITIMER
=
86
// { int sys_getitimer(int which
, \
SYS_
DUP2
=
90
// { int sys_dup2(int from, int to
); }
SYS_
FCNTL
=
92
// { int sys_fcntl(int fd, int cmd, ... void *arg
); }
SYS_S
ELECT
=
93
// { int sys_select(int nd, fd_set *in, fd_set *ou, \
SYS_
FSYNC
=
95
// { int sys_fsync(int fd); }
SYS_
SETPRIORITY
=
96
// { int sys_setpriority(int which, id_t who, int pri
o); }
SYS_S
OCKET
=
97
// { int sys_socket(int domain, int type, int protocol
); }
SYS_
CONNECT
=
98
// { int sys_connect
(int s, const struct sockaddr *name, \
SYS_
GETPRIORITY
=
100
// { int sys_getpriority(int which, id_t who); }
SYS_
SIGRETURN
=
103
// { int sys_sigreturn(struct sigcontext *sigcntxp
); }
SYS_
BIND
=
104
// { int sys_bind(int s, const struct sockaddr *name, \
SYS_
SETSOCKOPT
=
105
// { int sys_setsockopt(int s, int level, int name
, \
SYS_
LISTEN
=
106
// { int sys_listen(int s, int backlog
); }
SYS_
SIGSUSPEND
=
111
// { int sys_sigsuspend(int mask); }
SYS_
GETTIMEOFDAY
=
116
// { int sys_gettimeofday(struct timeval *tp
, \
SYS_
GETRUSAGE
=
117
// { int sys_getrusage(int who, struct rusage *rusage); }
SYS_
GETSOCKOPT
=
118
// { int sys_getsockopt(int s, int level, int name
, \
SYS_
READV
=
120
// { ssize_t sys_readv(int fd, \
SYS_
WRITEV
=
121
// { ssize_t sys_writev(int fd, \
SYS_SET
TIMEOFDAY
=
122
// { int sys_settimeofday(const struct timeval *tv, \
SYS_
FCHOWN
=
123
// { int sys_fchown(int fd, uid_t uid, gid_t
gid); }
SYS_
FCHMOD
=
124
// { int sys_fchmod(int fd, mode_t mode
); }
SYS_
SETREUID
=
126
// { int sys_setreuid(uid_t ruid, uid_t euid
); }
SYS_
SETREGID
=
127
// { int sys_setregid(gid_t rgid, gid_t egid
); }
SYS_
RENAME
=
128
// { int sys_rename(const char *from, const char *to); }
SYS_
FLOCK
=
131
// { int sys_flock(int fd
, int how); }
SYS_
MKFIFO
=
132
// { int sys_mkfifo(const char *path, mode_t mode); }
SYS_
SENDTO
=
133
// { ssize_t sys_sendto(int s, const void *buf, \
SYS_
SHUTDOWN
=
134
// { int sys_shutdown(int s, int how
); }
SYS_
SOCKETPAIR
=
135
// { int sys_socketpair(int domain, int type
, \
SYS_
MKDIR
=
136
// { int sys_mkdir(const char *path, mode_t mode); }
SYS_
RMDIR
=
137
// { int sys_rmdir(const char *path
); }
SYS_
UTIMES
=
138
// { int sys_utimes(const char *path
, \
SYS_
ADJTIME
=
140
// { int sys_adjtime(const struct timeval *delta, \
SYS_
SETSID
=
147
// { int sys_setsid(void
); }
SYS_
QUOTACTL
=
148
// { int sys_quotactl(const char *path, int cmd, \
SYS_
NFSSVC
=
155
// { int sys_nfssvc(int flag, void *argp); }
SYS_
GETFH
=
161
// { int sys_getfh(const char *fname, fhandle_t *fhp); }
SYS_S
YSARCH
=
165
// { int sys_sysarch(int op, void *parms
); }
SYS_
PREAD
=
173
// { ssize_t sys_pread(int fd, void *buf, \
SYS_
PWRITE
=
174
// { ssize_t sys_pwrite(int fd, const void *buf, \
SYS_SETGID
=
181
// { int sys_setgid(gid_t gid); }
SYS_SETEGID
=
182
// { int sys_setegid(gid_t egid); }
SYS_SETEUID
=
183
// { int sys_seteuid(uid_t euid
); }
LFS_
BMAPV
=
184
// { int lfs_bmapv(fsid_t *fsidp, \
LFS_MARKV
=
185
// { int lfs_markv(fsid_t *fsidp, \
LFS_SEGCLEAN
=
186
// { int lfs_segclean(fsid_t *fsidp, u_long segment
); }
LFS_SEGWAIT
=
187
// { int lfs_segwait(fsid_t *fsidp, struct timeval *tv
); }
SYS_
PATHCONF
=
191
// { long sys_pathconf(const char *path, int name); }
SYS_
FPATHCONF
=
192
// { long sys_fpathconf(int fd, int name); }
SYS_
SWAPCTL
=
193
// { int sys_swapctl(int cmd, const void *arg, int misc); }
SYS_
GETRLIMIT
=
194
// { int sys_getrlimit(int which
, \
SYS_
SETRLIMIT
=
195
// { int sys_setrlimit(int which
, \
SYS_
OGETDIRENTRIES
=
196
// { int sys_ogetdirentries(int fd, char *buf, \
SYS_
MMAP
=
197
// { void *sys_mmap(void *addr, size_t len, int prot
, \
SYS_
LSEEK
=
199
// { off_t sys_lseek(int fd, int pad, off_t offset, \
SYS_
TRUNCATE
=
200
// { int sys_truncate(const char *path, int pad, \
SYS_F
TRUNCATE
=
201
// { int sys_ftruncate(int fd, int pad, off_t length); }
SYS_
__SYSCTL
=
202
// { int sys___sysctl(int *name, u_int namelen, \
SYS_
MLOCK
=
203
// { int sys_mlock(const void *addr, size_t len); }
SYS_
MUNLOCK
=
204
// { int sys_munlock(const void *addr, size_t len
); }
SYS_
FUTIMES
=
206
// { int sys_futimes(int fd, \
SYS_
GETPGID
=
207
// { pid_t sys_getpgid(pid_t pid); }
SYS_
NNPFSPIOCTL
=
208
// { int sys_nnpfspioctl(int operation, char *a_pathP
, \
SYS_S
EMGET
=
221
// { int sys_semget(key_t key, int nsems, int semflg); }
SYS_
MSGGET
=
225
// { int sys_msgget(key_t key, int msgflg
); }
SYS_
MSGSND
=
226
// { int sys_msgsnd(int msqid, const void *msgp, size_t msgsz
, \
SYS_
MSGRCV
=
227
// { int sys_msgrcv(int msqid, void *msgp, size_t msgsz
, \
SYS_
SHMAT
=
228
// { void *sys_shmat(int shmid, const void *shmaddr
, \
SYS_
SHMDT
=
230
// { int sys_shmdt(const void *shmaddr); }
SYS_
CLOCK_GETTIME
=
232
// { int sys_clock_gettime(clockid_t clock_id
, \
SYS_
CLOCK_SETTIME
=
233
// { int sys_clock_settime(clockid_t clock_id, \
SYS_
CLOCK_GETRES
=
234
// { int sys_clock_getres(clockid_t clock_id
, \
SYS_
NANOSLEEP
=
240
// { int sys_nanosleep(const struct timespec *rqtp, \
SYS_
MINHERIT
=
250
// { int sys_minherit(void *addr, size_t len, \
SYS_
RFORK
=
251
// { int sys_rfork(int flags
); }
SYS_
POLL
=
252
// { int sys_poll(struct pollfd *fds, \
SYS_
ISSETUGID
=
253
// { int sys_issetugid(void
); }
SYS_
LCHOWN
=
254
// { int sys_lchown(const char *path, uid_t uid, gid_t gid
); }
SYS_
GETSID
=
255
// { pid_t sys_getsid(pid_t pid); }
SYS_
MSYNC
=
256
// { int sys_msync(void *addr, size_t len, int flags); }
SYS_
PIPE
=
263
// { int sys_pipe(int *fdp
); }
SYS_
FHOPEN
=
264
// { int sys_fhopen(const fhandle_t *fhp, int flags); }
SYS_
PREADV
=
267
// { ssize_t sys_preadv(int fd, \
SYS_
PWRITEV
=
268
// { ssize_t sys_pwritev(int fd, \
SYS_
KQUEUE
=
269
// { int sys_kqueue(void); }
SYS_
KEVENT
=
270
// { int sys_kevent(int f
d, \
SYS_
MLOCKALL
=
271
// { int sys_mlockall(int flags); }
SYS_
MUNLOCKALL
=
272
// { int sys_munlockall(void); }
SYS_
GETRESUID
=
281
// { int sys_getresuid(uid_t *ruid, uid_t *euid
, \
SYS_
SETRESUID
=
282
// { int sys_setresuid(uid_t ruid, uid_t euid, \
SYS_
GETRESGID
=
283
// { int sys_getresgid(gid_t *rgid, gid_t *egid
, \
SYS_S
ETRESGID
=
284
// { int sys_setresgid(gid_t rgid, gid_t egid, \
SYS_
MQUERY
=
286
// { void *sys_mquery(void *addr, size_t len, int prot
, \
SYS_
CLOSEFROM
=
287
// { int sys_closefrom(int fd
); }
SYS_
SIGALTSTACK
=
288
// { int sys_sigaltstack(const struct sigaltstack *nss, \
SYS_
SHMGET
=
289
// { int sys_shmget(key_t key, size_t size, int shmflg
); }
SYS_
SEMOP
=
290
// { int sys_semop(int semid, struct sembuf *sops
, \
SYS_
STAT
=
291
// { int sys_stat(const char *path, struct stat *ub); }
SYS_
FSTAT
=
292
// { int sys_fstat(int fd, struct stat *sb); }
SYS_
LSTAT
=
293
// { int sys_lstat(const char *path, struct stat *ub); }
SYS_
FHSTAT
=
294
// { int sys_fhstat(const fhandle_t *fhp, \
SYS_
__SEMCTL
=
295
// { int sys___semctl(int semid, int semnum, int cmd, \
SYS_
SHMCTL
=
296
// { int sys_shmctl(int shmid, int cm
d, \
SYS_
MSGCTL
=
297
// { int sys_msgctl(int msqid, int cmd, \
SYS_
SCHED_YIELD
=
298
// { int sys_sched_yield(voi
d); }
SYS_
GETTHRID
=
299
// { pid_t sys_getthrid(void); }
SYS_
THRSLEEP
=
300
// { int sys_thrsleep(void *ident, clockid_t clock_id, \
SYS_
THRWAKEUP
=
301
// { int sys_thrwakeup(void *ident, int n); }
SYS_
THREXIT
=
302
// { void sys_threxit(pid_t *notdead); }
SYS_
THRSIGDIVERT
=
303
// { int sys_thrsigdivert(sigset_t sigmask
, \
SYS_
__GETCWD
=
304
// { int sys___getcwd(char *buf, size_t len
); }
SYS_
ADJFREQ
=
305
// { int sys_adjfreq(const int64_t *freq
, \
SYS_
GETFSSTAT
=
306
// { int sys_getfsstat(struct statfs *buf, size_t bufsize, \
SYS_
STATFS
=
307
// { int sys_statfs(const char *path, \
SYS_
FSTATFS
=
308
// { int sys_fstatfs(int fd, struct statfs *buf); }
SYS_F
HSTATFS
=
309
// { int sys_fhstatfs(const fhandle_t *fhp
, \
SYS_
SETRTABLE
=
310
// { int sys_setrtable(int rtableid); }
SYS_
GETRTABLE
=
311
// { int sys_getrtable(void); }
SYS_
GETDIRENTRIES
=
312
// { int sys_getdirentries(int fd, char *buf
, \
SYS_
FACCESSAT
=
313
// { int sys_faccessat(int fd, const char *path
, \
SYS_
FCHMODAT
=
314
// { int sys_fchmod
at(int fd, const char *path, \
SYS_
FCHOWNAT
=
315
// { int sys_fchown
at(int fd, const char *path, \
SYS_
FSTATAT
=
316
// { int sys_fstat
at(int fd, const char *path, \
SYS_
LINKAT
=
317
// { int sys_linkat(int fd1, const char *path1, int fd2
, \
SYS_
MKDIRAT
=
318
// { int sys_mkdir
at(int fd, const char *path, \
SYS_
MKFIFOAT
=
319
// { int sys_mkfifoat(int fd, const char *path
, \
SYS_
MKNODAT
=
320
// { int sys_mknodat(int fd, const char *path
, \
SYS_
OPENAT
=
321
// { int sys_openat(int fd, const char *path, int flags
, \
SYS_
READLINKAT
=
322
// { ssize_t sys_readlink
at(int fd, const char *path, \
SYS_
RENAMEAT
=
323
// { int sys_renameat(int fromfd, const char *from
, \
SYS_
SYMLINKAT
=
324
// { int sys_symlinkat(const char *path, int fd, \
SYS_
UNLINKAT
=
325
// { int sys_unlinkat(int fd, const char *path, \
SYS_
UTIMENSAT
=
326
// { int sys_utimensat(int fd, const char *path, \
SYS_EXIT
=
1
// { void sys_exit(int rval); }
SYS_FORK
=
2
// { int sys_fork(void); }
SYS_READ
=
3
// { ssize_t sys_read(int fd, void *buf, size_t nbyte); }
SYS_WRITE
=
4
// { ssize_t sys_write(int fd, const void *buf, \
SYS_OPEN
=
5
// { int sys_open(const char *path, \
SYS_CLOSE
=
6
// { int sys_close(int fd); }
SYS_WAIT4
=
7
// { pid_t sys_wait4(pid_t pid, int *status, int options, \
SYS_LINK
=
9
// { int sys_link(const char *path, const char *link); }
SYS_UNLINK
=
10
// { int sys_unlink(const char *path); }
SYS_CHDIR
=
12
// { int sys_chdir(const char *path); }
SYS_FCHDIR
=
13
// { int sys_fchdir(int fd); }
SYS_MKNOD
=
14
// { int sys_mknod(const char *path, mode_t mode, \
SYS_CHMOD
=
15
// { int sys_chmod(const char *path, mode_t mode); }
SYS_CHOWN
=
16
// { int sys_chown(const char *path, uid_t uid, \
SYS_OBREAK
=
17
// { int sys_obreak(char *nsize); } break
SYS_GETPID
=
20
// { pid_t sys_getpid(void); }
SYS_MOUNT
=
21
// { int sys_mount(const char *type, const char *path, \
SYS_UNMOUNT
=
22
// { int sys_unmount(const char *path, int flags); }
SYS_SETUID
=
23
// { int sys_setuid(uid_t uid); }
SYS_GETUID
=
24
// { uid_t sys_getuid(void); }
SYS_GETEUID
=
25
// { uid_t sys_geteuid(void); }
SYS_PTRACE
=
26
// { int sys_ptrace(int req, pid_t pid, caddr_t addr, \
SYS_RECVMSG
=
27
// { ssize_t sys_recvmsg(int s, struct msghdr *msg, \
SYS_SENDMSG
=
28
// { ssize_t sys_sendmsg(int s, \
SYS_RECVFROM
=
29
// { ssize_t sys_recvfrom(int s, void *buf, size_t len, \
SYS_ACCEPT
=
30
// { int sys_accept(int s, struct sockaddr *name, \
SYS_GETPEERNAME
=
31
// { int sys_getpeername(int fdes, struct sockaddr *asa, \
SYS_GETSOCKNAME
=
32
// { int sys_getsockname(int fdes, struct sockaddr *asa, \
SYS_ACCESS
=
33
// { int sys_access(const char *path, int flags); }
SYS_CHFLAGS
=
34
// { int sys_chflags(const char *path, u_int flags); }
SYS_FCHFLAGS
=
35
// { int sys_fchflags(int fd, u_int flags); }
SYS_SYNC
=
36
// { void sys_sync(void); }
SYS_KILL
=
37
// { int sys_kill(int pid, int signum); }
SYS_GETPPID
=
39
// { pid_t sys_getppid(void); }
SYS_DUP
=
41
// { int sys_dup(int fd); }
SYS_GETEGID
=
43
// { gid_t sys_getegid(void); }
SYS_PROFIL
=
44
// { int sys_profil(caddr_t samples, size_t size, \
SYS_KTRACE
=
45
// { int sys_ktrace(const char *fname, int ops, \
SYS_SIGACTION
=
46
// { int sys_sigaction(int signum, \
SYS_GETGID
=
47
// { gid_t sys_getgid(void); }
SYS_SIGPROCMASK
=
48
// { int sys_sigprocmask(int how, sigset_t mask); }
SYS_GETLOGIN
=
49
// { int sys_getlogin(char *namebuf, u_int namelen); }
SYS_SETLOGIN
=
50
// { int sys_setlogin(const char *namebuf); }
SYS_ACCT
=
51
// { int sys_acct(const char *path); }
SYS_SIGPENDING
=
52
// { int sys_sigpending(void); }
SYS_
IOCTL
=
54
// { int sys_ioctl(int fd
, \
SYS_
REBOOT
=
55
// { int sys_reboot(int opt); }
SYS_RE
VOKE
=
56
// { int sys_revoke(const char *path
); }
SYS_
SYMLINK
=
57
// { int sys_symlink(const char *path, \
SYS_
READLINK
=
58
// { int sys_readlink(const char *path, char *buf
, \
SYS_
EXECVE
=
59
// { int sys_execve(const char *path
, \
SYS_
UMASK
=
60
// { mode_t sys_umask(mode_t newmask); }
SYS_
CHROOT
=
61
// { int sys_chroot(const char *path
); }
SYS_
VFORK
=
66
// { int sys_vfork(void
); }
SYS_
MUNMAP
=
73
// { int sys_munmap(void *addr, size_t len
); }
SYS_
MPROTECT
=
74
// { int sys_mprotect(void *addr, size_t len, \
SYS_
MADVISE
=
75
// { int sys_madvise(void *addr, size_t len, \
SYS_M
INCORE
=
78
// { int sys_mincore(void *addr, size_t len, \
SYS_
GETGROUPS
=
79
// { int sys_getgroups(int gidsetsize
, \
SYS_
SETGROUPS
=
80
// { int sys_setgroups(int gidsetsize
, \
SYS_
GETPGRP
=
81
// { int sys_getpgrp(void); }
SYS_
SETPGID
=
82
// { int sys_setpgid(pid_t pid, int pgid); }
SYS_SET
ITIMER
=
83
// { int sys_setitimer(int which
, \
SYS_GET
ITIMER
=
86
// { int sys_getitimer(int which, \
SYS_
DUP2
=
90
// { int sys_dup2(int from, int to
); }
SYS_
FCNTL
=
92
// { int sys_fcntl(int fd, int cmd, ... void *arg); }
SYS_
SELECT
=
93
// { int sys_select(int nd, fd_set *in, fd_set *ou
, \
SYS_
FSYNC
=
95
// { int sys_fsync(int fd
); }
SYS_
SETPRIORITY
=
96
// { int sys_setpriority(int which, id_t who, int prio
); }
SYS_S
OCKET
=
97
// { int sys_socket(int domain, int type, int protocol); }
SYS_
CONNECT
=
98
// { int sys_connect(int s, const struct sockaddr *name, \
SYS_
GETPRIORITY
=
100
// { int sys_getpriority(int which, id_t wh
o); }
SYS_S
IGRETURN
=
103
// { int sys_sigreturn(struct sigcontext *sigcntxp
); }
SYS_
BIND
=
104
// { int sys_bind
(int s, const struct sockaddr *name, \
SYS_
SETSOCKOPT
=
105
// { int sys_setsockopt(int s, int level, int name, \
SYS_
LISTEN
=
106
// { int sys_listen(int s, int backlog
); }
SYS_
SIGSUSPEND
=
111
// { int sys_sigsuspend(int mask); }
SYS_
GETTIMEOFDAY
=
116
// { int sys_gettimeofday(struct timeval *tp
, \
SYS_
GETRUSAGE
=
117
// { int sys_getrusage(int who, struct rusage *rusage
); }
SYS_
GETSOCKOPT
=
118
// { int sys_getsockopt(int s, int level, int name, \
SYS_
READV
=
120
// { ssize_t sys_readv(int fd
, \
SYS_
WRITEV
=
121
// { ssize_t sys_writev(int fd, \
SYS_
SETTIMEOFDAY
=
122
// { int sys_settimeofday(const struct timeval *tv
, \
SYS_
FCHOWN
=
123
// { int sys_fchown(int fd, uid_t uid, gid_t gid); }
SYS_
FCHMOD
=
124
// { int sys_fchmod(int fd, mode_t mode); }
SYS_SET
REUID
=
126
// { int sys_setreuid(uid_t ruid, uid_t euid); }
SYS_
SETREGID
=
127
// { int sys_setregid(gid_t rgid, gid_t e
gid); }
SYS_
RENAME
=
128
// { int sys_rename(const char *from, const char *to
); }
SYS_
FLOCK
=
131
// { int sys_flock(int fd, int how
); }
SYS_
MKFIFO
=
132
// { int sys_mkfifo(const char *path, mode_t mode
); }
SYS_
SENDTO
=
133
// { ssize_t sys_sendto(int s, const void *buf, \
SYS_
SHUTDOWN
=
134
// { int sys_shutdown(int s
, int how); }
SYS_
SOCKETPAIR
=
135
// { int sys_socketpair(int domain, int type, \
SYS_
MKDIR
=
136
// { int sys_mkdir(const char *path, mode_t mode); }
SYS_
RMDIR
=
137
// { int sys_rmdir(const char *path
); }
SYS_
UTIMES
=
138
// { int sys_utimes(const char *path
, \
SYS_
ADJTIME
=
140
// { int sys_adjtime(const struct timeval *delta, \
SYS_
SETSID
=
147
// { int sys_setsid(void
); }
SYS_
QUOTACTL
=
148
// { int sys_quotactl(const char *path, int cmd
, \
SYS_
NFSSVC
=
155
// { int sys_nfssvc(int flag, void *argp); }
SYS_
GETFH
=
161
// { int sys_getfh(const char *fname, fhandle_t *fhp
); }
SYS_
SYSARCH
=
165
// { int sys_sysarch(int op, void *parms); }
SYS_
PREAD
=
173
// { ssize_t sys_pread(int fd, void *buf, \
SYS_
PWRITE
=
174
// { ssize_t sys_pwrite(int fd, const void *buf, \
SYS_S
ETGID
=
181
// { int sys_setgid(gid_t gid
); }
SYS_
SETEGID
=
182
// { int sys_setegid(gid_t egid); }
SYS_
SETEUID
=
183
// { int sys_seteuid(uid_t euid); }
LFS_BMAPV
=
184
// { int lfs_bmapv(fsid_t *fsidp, \
LFS_MARKV
=
185
// { int lfs_markv(fsid_t *fsidp, \
LFS_SEGCLEAN
=
186
// { int lfs_segclean(fsid_t *fsidp, u_long segment
); }
LFS_
SEGWAIT
=
187
// { int lfs_segwait(fsid_t *fsidp, struct timeval *tv); }
SYS_PATHCONF
=
191
// { long sys_pathconf(const char *path, int name); }
SYS_FPATHCONF
=
192
// { long sys_fpathconf(int fd, int name
); }
SYS_SWAPCTL
=
193
// { int sys_swapctl(int cmd, const void *arg, int misc
); }
SYS_
GETRLIMIT
=
194
// { int sys_getrlimit(int which, \
SYS_
SETRLIMIT
=
195
// { int sys_setrlimit(int which, \
SYS_
MMAP
=
197
// { void *sys_mmap(void *addr, size_t len, int prot, \
SYS_
LSEEK
=
199
// { off_t sys_lseek(int fd, int pad, off_t offset
, \
SYS_
TRUNCATE
=
200
// { int sys_truncate(const char *path, int pad
, \
SYS_
FTRUNCATE
=
201
// { int sys_ftruncate(int fd, int pad, off_t length); }
SYS_
__SYSCTL
=
202
// { int sys___sysctl(int *name, u_int namelen
, \
SYS_
MLOCK
=
203
// { int sys_mlock(const void *addr, size_t len); }
SYS_
MUNLOCK
=
204
// { int sys_munlock(const void *addr, size_t len); }
SYS_F
UTIMES
=
206
// { int sys_futimes(int fd, \
SYS_
GETPGID
=
207
// { pid_t sys_getpgid(pid_t pid); }
SYS_
NNPFSPIOCTL
=
208
// { int sys_nnpfspioctl(int operation, char *a_pathP, \
SYS_
SEMGET
=
221
// { int sys_semget(key_t key, int nsems, int semflg
); }
SYS_
MSGGET
=
225
// { int sys_msgget(key_t key, int msgflg); }
SYS_
MSGSND
=
226
// { int sys_msgsnd(int msqid, const void *msgp, size_t msgsz, \
SYS_
MSGRCV
=
227
// { int sys_msgrcv(int msqid, void *msgp, size_t msgsz
, \
SYS_S
HMAT
=
228
// { void *sys_shmat(int shmid, const void *shmaddr, \
SYS_
SHMDT
=
230
// { int sys_shmdt(const void *shmaddr
); }
SYS_
CLOCK_GETTIME
=
232
// { int sys_clock_gettime(clockid_t clock_id
, \
SYS_
CLOCK_SETTIME
=
233
// { int sys_clock_settime(clockid_t clock_id
, \
SYS_
CLOCK_GETRES
=
234
// { int sys_clock_getres(clockid_t clock_id
, \
SYS_
NANOSLEEP
=
240
// { int sys_nanosleep(const struct timespec *rqtp, \
SYS_
MINHERIT
=
250
// { int sys_minherit(void *addr, size_t len
, \
SYS_
RFORK
=
251
// { int sys_rfork(int flags); }
SYS_
POLL
=
252
// { int sys_poll(struct pollfd *fds
, \
SYS_
ISSETUGID
=
253
// { int sys_issetugid(void); }
SYS_
LCHOWN
=
254
// { int sys_lchown(const char *path, uid_t uid, gid_t gid); }
SYS_
GETSID
=
255
// { pid_t sys_getsid(pid_t pid
); }
SYS_
MSYNC
=
256
// { int sys_msync(void *addr, size_t len, int flags); }
SYS_
PIPE
=
263
// { int sys_pipe(int *fdp
); }
SYS_
FHOPEN
=
264
// { int sys_fhopen(const fhandle_t *fhp, int flags
); }
SYS_
PREADV
=
267
// { ssize_t sys_preadv(int fd, \
SYS_
PWRITEV
=
268
// { ssize_t sys_pwritev(int fd, \
SYS_
KQUEUE
=
269
// { int sys_kqueue(void
); }
SYS_
KEVENT
=
270
// { int sys_kevent(int fd, \
SYS_
MLOCKALL
=
271
// { int sys_mlockall(int flags); }
SYS_
MUNLOCKALL
=
272
// { int sys_munlockall(void); }
SYS_
GETRESUID
=
281
// { int sys_getresuid(uid_t *ruid, uid_t *euid, \
SYS_
SETRESUID
=
282
// { int sys_setresuid(uid_t ruid, uid_t eui
d, \
SYS_
GETRESGID
=
283
// { int sys_getresgid(gid_t *rgid, gid_t *egid, \
SYS_
SETRESGID
=
284
// { int sys_setresgid(gid_t rgid, gid_t egid, \
SYS_
MQUERY
=
286
// { void *sys_mquery(void *addr, size_t len, int prot
, \
SYS_
CLOSEFROM
=
287
// { int sys_closefrom(int fd); }
SYS_
SIGALTSTACK
=
288
// { int sys_sigaltstack(const struct sigaltstack *nss
, \
SYS_S
HMGET
=
289
// { int sys_shmget(key_t key, size_t size, int shmflg); }
SYS_
SEMOP
=
290
// { int sys_semop(int semid, struct sembuf *sops
, \
SYS_
STAT
=
291
// { int sys_stat(const char *path, struct stat *ub
); }
SYS_
FSTAT
=
292
// { int sys_fstat(int fd, struct stat *sb); }
SYS_
LSTAT
=
293
// { int sys_lstat(const char *path, struct stat *ub
); }
SYS_
FHSTAT
=
294
// { int sys_fhstat(const fhandle_t *fhp
, \
SYS_
__SEMCTL
=
295
// { int sys___semctl(int semid, int semnum, int cmd, \
SYS_
SHMCTL
=
296
// { int sys_shmctl(int shmid, int cmd, \
SYS_
MSGCTL
=
297
// { int sys_msgctl(int msqid, int cmd, \
SYS_
SCHED_YIELD
=
298
// { int sys_sched_yield(void); }
SYS_
GETTHRID
=
299
// { pid_t sys_getthrid(void); }
SYS_
THRSLEEP
=
300
// { int sys_thrsleep(void *ident, clockid_t clock_i
d, \
SYS_
THRWAKEUP
=
301
// { int sys_thrwakeup(void *ident, int n); }
SYS_
THREXIT
=
302
// { void sys_threxit(pid_t *notdea
d); }
SYS_
THRSIGDIVERT
=
303
// { int sys_thrsigdivert(sigset_t sigmask, \
SYS_
__GETCWD
=
304
// { int sys___getcwd(char *buf, size_t len); }
SYS_
ADJFREQ
=
305
// { int sys_adjfreq(const int64_t *freq, \
SYS_
GETFSSTAT
=
306
// { int sys_getfsstat(struct statfs *buf, size_t bufsize, \
SYS_
STATFS
=
307
// { int sys_statfs(const char *path
, \
SYS_
FSTATFS
=
308
// { int sys_fstatfs(int fd, struct statfs *buf
); }
SYS_
FHSTATFS
=
309
// { int sys_fhstatfs(const fhandle_t *fhp
, \
SYS_
SETRTABLE
=
310
// { int sys_setrtable(int rtableid); }
SYS_
GETRTABLE
=
311
// { int sys_getrtable(void); }
SYS_
GETDIRENTRIES
=
312
// { int sys_getdirentries(int fd, char *buf, \
SYS_F
ACCESSAT
=
313
// { int sys_faccessat(int fd, const char *path
, \
SYS_
FCHMODAT
=
314
// { int sys_fchmodat(int fd, const char *path, \
SYS_
FCHOWNAT
=
315
// { int sys_fchownat(int fd, const char *path, \
SYS_
FSTATAT
=
316
// { int sys_fstatat(int fd, const char *path
, \
SYS_
LINKAT
=
317
// { int sys_linkat(int fd1, const char *path1, int fd2
, \
SYS_
MKDIRAT
=
318
// { int sys_mkdir
at(int fd, const char *path, \
SYS_
MKFIFOAT
=
319
// { int sys_mkfifo
at(int fd, const char *path, \
SYS_
MKNODAT
=
320
// { int sys_mknod
at(int fd, const char *path, \
SYS_
OPENAT
=
321
// { int sys_openat(int fd, const char *path, int flags
, \
SYS_
READLINKAT
=
322
// { ssize_t sys_readlink
at(int fd, const char *path, \
SYS_
RENAMEAT
=
323
// { int sys_renameat(int fromfd, const char *from
, \
SYS_
SYMLINKAT
=
324
// { int sys_symlinkat(const char *path, int fd
, \
SYS_
UNLINKAT
=
325
// { int sys_unlinkat(int fd, const char *path
, \
SYS_
UTIMENSAT
=
326
// { int sys_utimens
at(int fd, const char *path, \
SYS_
FUTIMENS
=
327
// { int sys_futimens(int fd
, \
SYS_
__TFORK
=
328
// { int sys___tfork(struct __tfork *param); }
SYS_
__SET_TCB
=
329
// { void sys___set_tcb(void *tcb); }
SYS_
__GET_TCB
=
330
// { void *sys___get_tcb(void); }
)
src/pkg/syscall/zsysnum_openbsd_amd64.go
View file @
7b5ae29a
...
...
@@ -201,4 +201,7 @@ const (
SYS_UNLINKAT
=
325
// { int sys_unlinkat(int fd, const char *path, \
SYS_UTIMENSAT
=
326
// { int sys_utimensat(int fd, const char *path, \
SYS_FUTIMENS
=
327
// { int sys_futimens(int fd, \
SYS___TFORK
=
328
// { int sys___tfork(struct __tfork *param); }
SYS___SET_TCB
=
329
// { void sys___set_tcb(void *tcb); }
SYS___GET_TCB
=
330
// { void *sys___get_tcb(void); }
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment