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
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
53 additions
and
20 deletions
+53
-20
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
+4
-4
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
...
...
@@ -49,7 +49,6 @@ const (
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_REBOOT
=
55
// { int sys_reboot(int opt); }
SYS_REVOKE
=
56
// { int sys_revoke(const char *path); }
...
...
@@ -59,8 +58,6 @@ const (
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_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, \
...
...
@@ -123,7 +120,6 @@ const (
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, \
...
...
@@ -204,4 +200,8 @@ const (
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_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