Update lang/go to version 1.3.
ok matthew@ naddy@ sthen@
This commit is contained in:
parent
1d64b02099
commit
8ab8f40717
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.18 2014/03/25 13:21:20 jsing Exp $
|
||||
# $OpenBSD: Makefile,v 1.19 2014/07/25 13:36:55 jsing Exp $
|
||||
|
||||
ONLY_FOR_ARCHS = amd64 i386
|
||||
|
||||
COMMENT = Go programming language
|
||||
|
||||
VERSION = 1.2.1
|
||||
VERSION = 1.3
|
||||
EXTRACT_SUFX = .src.tar.gz
|
||||
DISTNAME = go${VERSION}
|
||||
PKGNAME = go-${VERSION}
|
||||
@ -19,7 +19,7 @@ PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
WANTLIB = c m pthread
|
||||
|
||||
MASTER_SITES = https://go.googlecode.com/files/
|
||||
MASTER_SITES = http://golang.org/dl/
|
||||
|
||||
BUILD_DEPENDS = shells/bash
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (go1.2.1.src.tar.gz) = FlWpNnvsCD31fKzCmt0oDCeXkYAeEC/YUcANi6vRKlU=
|
||||
SIZE (go1.2.1.src.tar.gz) = 9520633
|
||||
SHA256 (go1.3.src.tar.gz) = 65g+bFsrmDj0gsVEKxrBhW9hDysh88Ejs/7bSP/DU4I=
|
||||
SIZE (go1.3.src.tar.gz) = 10046547
|
||||
|
@ -1,295 +0,0 @@
|
||||
$OpenBSD: patch-api_except_txt,v 1.1 2014/03/25 13:21:20 jsing Exp $
|
||||
--- api/except.txt.orig Thu Mar 20 19:18:57 2014
|
||||
+++ api/except.txt Thu Mar 20 19:21:29 2014
|
||||
@@ -14,3 +14,291 @@ pkg syscall (darwin-386), const ImplementsGetwd = fals
|
||||
pkg syscall (darwin-386-cgo), const ImplementsGetwd = false
|
||||
pkg syscall (darwin-amd64), const ImplementsGetwd = false
|
||||
pkg syscall (darwin-amd64-cgo), const ImplementsGetwd = false
|
||||
+pkg syscall (openbsd-386), const BIOCGRTIMEOUT = 1074283118
|
||||
+pkg syscall (openbsd-386), const BIOCSRTIMEOUT = 2148024941
|
||||
+pkg syscall (openbsd-386), const EMUL_ENABLED = 1
|
||||
+pkg syscall (openbsd-386), const EMUL_ENABLED ideal-int
|
||||
+pkg syscall (openbsd-386), const EMUL_NATIVE = 2
|
||||
+pkg syscall (openbsd-386), const EMUL_NATIVE ideal-int
|
||||
+pkg syscall (openbsd-386), const IPV6_FAITH = 29
|
||||
+pkg syscall (openbsd-386), const IPV6_FAITH ideal-int
|
||||
+pkg syscall (openbsd-386), const IPV6_OPTIONS = 1
|
||||
+pkg syscall (openbsd-386), const IPV6_OPTIONS ideal-int
|
||||
+pkg syscall (openbsd-386), const IPV6_RTHDR_STRICT = 1
|
||||
+pkg syscall (openbsd-386), const IPV6_RTHDR_STRICT ideal-int
|
||||
+pkg syscall (openbsd-386), const IPV6_SOCKOPT_RESERVED1 = 3
|
||||
+pkg syscall (openbsd-386), const IPV6_SOCKOPT_RESERVED1 ideal-int
|
||||
+pkg syscall (openbsd-386), const RTF_FMASK = 63496
|
||||
+pkg syscall (openbsd-386), const RTM_VERSION = 4
|
||||
+pkg syscall (openbsd-386), const SIOCBRDGDADDR = 2150132039
|
||||
+pkg syscall (openbsd-386), const SIOCBRDGGPARAM = 3224922456
|
||||
+pkg syscall (openbsd-386), const SIOCBRDGSADDR = 3223873860
|
||||
+pkg syscall (openbsd-386), const SIOCGIFGENERIC = 3223349562
|
||||
+pkg syscall (openbsd-386), const SIOCGIFGENERIC ideal-int
|
||||
+pkg syscall (openbsd-386), const SIOCSIFGENERIC = 2149607737
|
||||
+pkg syscall (openbsd-386), const SIOCSIFGENERIC ideal-int
|
||||
+pkg syscall (openbsd-386), const SYS_CLOCK_GETRES = 234
|
||||
+pkg syscall (openbsd-386), const SYS_CLOCK_GETTIME = 232
|
||||
+pkg syscall (openbsd-386), const SYS_CLOCK_SETTIME = 233
|
||||
+pkg syscall (openbsd-386), const SYS_FHSTATFS = 309
|
||||
+pkg syscall (openbsd-386), const SYS_FSTAT = 292
|
||||
+pkg syscall (openbsd-386), const SYS_FSTATAT = 316
|
||||
+pkg syscall (openbsd-386), const SYS_FSTATFS = 308
|
||||
+pkg syscall (openbsd-386), const SYS_FUTIMENS = 327
|
||||
+pkg syscall (openbsd-386), const SYS_FUTIMES = 206
|
||||
+pkg syscall (openbsd-386), const SYS_GETDIRENTRIES = 312
|
||||
+pkg syscall (openbsd-386), const SYS_GETDIRENTRIES ideal-int
|
||||
+pkg syscall (openbsd-386), const SYS_GETFSSTAT = 306
|
||||
+pkg syscall (openbsd-386), const SYS_GETITIMER = 86
|
||||
+pkg syscall (openbsd-386), const SYS_GETRUSAGE = 117
|
||||
+pkg syscall (openbsd-386), const SYS_GETTIMEOFDAY = 116
|
||||
+pkg syscall (openbsd-386), const SYS_KEVENT = 270
|
||||
+pkg syscall (openbsd-386), const SYS_LSTAT = 293
|
||||
+pkg syscall (openbsd-386), const SYS_NANOSLEEP = 240
|
||||
+pkg syscall (openbsd-386), const SYS_SELECT = 93
|
||||
+pkg syscall (openbsd-386), const SYS_SETITIMER = 83
|
||||
+pkg syscall (openbsd-386), const SYS_SETTIMEOFDAY = 122
|
||||
+pkg syscall (openbsd-386), const SYS_STAT = 291
|
||||
+pkg syscall (openbsd-386), const SYS_STATFS = 307
|
||||
+pkg syscall (openbsd-386), const SYS_UTIMENSAT = 326
|
||||
+pkg syscall (openbsd-386), const SYS_UTIMES = 138
|
||||
+pkg syscall (openbsd-386), const SYS_WAIT4 = 7
|
||||
+pkg syscall (openbsd-386), const SYS___THRSLEEP = 300
|
||||
+pkg syscall (openbsd-386), const SizeofIfData = 208
|
||||
+pkg syscall (openbsd-386), const SizeofIfMsghdr = 232
|
||||
+pkg syscall (openbsd-386), const SizeofRtMetrics = 48
|
||||
+pkg syscall (openbsd-386), const SizeofRtMsghdr = 88
|
||||
+pkg syscall (openbsd-386), const TIOCGTSTAMP = 1074295899
|
||||
+pkg syscall (openbsd-386), type Dirent struct, Fileno uint32
|
||||
+pkg syscall (openbsd-386), type FdSet struct, Bits [32]int32
|
||||
+pkg syscall (openbsd-386), type Kevent_t struct, Data int32
|
||||
+pkg syscall (openbsd-386), type RtMetrics struct, Expire uint32
|
||||
+pkg syscall (openbsd-386), type Stat_t struct, Ino uint32
|
||||
+pkg syscall (openbsd-386), type Stat_t struct, Lspare0 int32
|
||||
+pkg syscall (openbsd-386), type Stat_t struct, Lspare1 int32
|
||||
+pkg syscall (openbsd-386), type Stat_t struct, Qspare [2]int64
|
||||
+pkg syscall (openbsd-386), type Statfs_t struct, F_ctime uint32
|
||||
+pkg syscall (openbsd-386), type Statfs_t struct, F_spare [3]uint32
|
||||
+pkg syscall (openbsd-386), type Timespec struct, Sec int32
|
||||
+pkg syscall (openbsd-386), type Timeval struct, Sec int32
|
||||
+pkg syscall (openbsd-386-cgo), const BIOCGRTIMEOUT = 1074283118
|
||||
+pkg syscall (openbsd-386-cgo), const BIOCSRTIMEOUT = 2148024941
|
||||
+pkg syscall (openbsd-386-cgo), const EMUL_ENABLED = 1
|
||||
+pkg syscall (openbsd-386-cgo), const EMUL_ENABLED ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const EMUL_NATIVE = 2
|
||||
+pkg syscall (openbsd-386-cgo), const EMUL_NATIVE ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const IPV6_FAITH = 29
|
||||
+pkg syscall (openbsd-386-cgo), const IPV6_FAITH ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const IPV6_OPTIONS = 1
|
||||
+pkg syscall (openbsd-386-cgo), const IPV6_OPTIONS ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const IPV6_RTHDR_STRICT = 1
|
||||
+pkg syscall (openbsd-386-cgo), const IPV6_RTHDR_STRICT ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const IPV6_SOCKOPT_RESERVED1 = 3
|
||||
+pkg syscall (openbsd-386-cgo), const IPV6_SOCKOPT_RESERVED1 ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const RTF_FMASK = 63496
|
||||
+pkg syscall (openbsd-386-cgo), const RTM_VERSION = 4
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCBRDGDADDR = 2150132039
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCBRDGGPARAM = 3224922456
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCBRDGSADDR = 3223873860
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCGIFGENERIC = 3223349562
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCGIFGENERIC ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCSIFGENERIC = 2149607737
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCSIFGENERIC ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_CLOCK_GETRES = 234
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_CLOCK_GETTIME = 232
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_CLOCK_SETTIME = 233
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_FHSTATFS = 309
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_FSTAT = 292
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_FSTATAT = 316
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_FSTATFS = 308
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_FUTIMENS = 327
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_FUTIMES = 206
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_GETDIRENTRIES = 312
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_GETDIRENTRIES ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_GETFSSTAT = 306
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_GETITIMER = 86
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_GETRUSAGE = 117
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_GETTIMEOFDAY = 116
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_KEVENT = 270
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_LSTAT = 293
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_NANOSLEEP = 240
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_SELECT = 93
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_SETITIMER = 83
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_SETTIMEOFDAY = 122
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_STAT = 291
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_STATFS = 307
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_UTIMENSAT = 326
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_UTIMES = 138
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_WAIT4 = 7
|
||||
+pkg syscall (openbsd-386-cgo), const SYS___THRSLEEP = 300
|
||||
+pkg syscall (openbsd-386-cgo), const SizeofIfData = 208
|
||||
+pkg syscall (openbsd-386-cgo), const SizeofIfMsghdr = 232
|
||||
+pkg syscall (openbsd-386-cgo), const SizeofRtMetrics = 48
|
||||
+pkg syscall (openbsd-386-cgo), const SizeofRtMsghdr = 88
|
||||
+pkg syscall (openbsd-386-cgo), const TIOCGTSTAMP = 1074295899
|
||||
+pkg syscall (openbsd-386-cgo), type Dirent struct, Fileno uint32
|
||||
+pkg syscall (openbsd-386-cgo), type FdSet struct, Bits [32]int32
|
||||
+pkg syscall (openbsd-386-cgo), type Kevent_t struct, Data int32
|
||||
+pkg syscall (openbsd-386-cgo), type RtMetrics struct, Expire uint32
|
||||
+pkg syscall (openbsd-386-cgo), type Stat_t struct, Ino uint32
|
||||
+pkg syscall (openbsd-386-cgo), type Stat_t struct, Lspare0 int32
|
||||
+pkg syscall (openbsd-386-cgo), type Stat_t struct, Lspare1 int32
|
||||
+pkg syscall (openbsd-386-cgo), type Stat_t struct, Qspare [2]int64
|
||||
+pkg syscall (openbsd-386-cgo), type Statfs_t struct, F_ctime uint32
|
||||
+pkg syscall (openbsd-386-cgo), type Statfs_t struct, F_spare [3]uint32
|
||||
+pkg syscall (openbsd-386-cgo), type Timespec struct, Sec int32
|
||||
+pkg syscall (openbsd-386-cgo), type Timeval struct, Sec int32
|
||||
+pkg syscall (openbsd-amd64), const CCR0_FLUSH = 16
|
||||
+pkg syscall (openbsd-amd64), const CCR0_FLUSH ideal-int
|
||||
+pkg syscall (openbsd-amd64), const CPUID_CFLUSH = 524288
|
||||
+pkg syscall (openbsd-amd64), const CPUID_CFLUSH ideal-int
|
||||
+pkg syscall (openbsd-amd64), const EFER_LMA = 1024
|
||||
+pkg syscall (openbsd-amd64), const EFER_LMA ideal-int
|
||||
+pkg syscall (openbsd-amd64), const EFER_LME = 256
|
||||
+pkg syscall (openbsd-amd64), const EFER_LME ideal-int
|
||||
+pkg syscall (openbsd-amd64), const EFER_NXE = 2048
|
||||
+pkg syscall (openbsd-amd64), const EFER_NXE ideal-int
|
||||
+pkg syscall (openbsd-amd64), const EFER_SCE = 1
|
||||
+pkg syscall (openbsd-amd64), const EFER_SCE ideal-int
|
||||
+pkg syscall (openbsd-amd64), const EMUL_ENABLED = 1
|
||||
+pkg syscall (openbsd-amd64), const EMUL_ENABLED ideal-int
|
||||
+pkg syscall (openbsd-amd64), const EMUL_NATIVE = 2
|
||||
+pkg syscall (openbsd-amd64), const EMUL_NATIVE ideal-int
|
||||
+pkg syscall (openbsd-amd64), const IPV6_FAITH = 29
|
||||
+pkg syscall (openbsd-amd64), const IPV6_FAITH ideal-int
|
||||
+pkg syscall (openbsd-amd64), const IPV6_OPTIONS = 1
|
||||
+pkg syscall (openbsd-amd64), const IPV6_OPTIONS ideal-int
|
||||
+pkg syscall (openbsd-amd64), const IPV6_RTHDR_STRICT = 1
|
||||
+pkg syscall (openbsd-amd64), const IPV6_RTHDR_STRICT ideal-int
|
||||
+pkg syscall (openbsd-amd64), const IPV6_SOCKOPT_RESERVED1 = 3
|
||||
+pkg syscall (openbsd-amd64), const IPV6_SOCKOPT_RESERVED1 ideal-int
|
||||
+pkg syscall (openbsd-amd64), const PMC5_PIPELINE_FLUSH = 21
|
||||
+pkg syscall (openbsd-amd64), const PMC5_PIPELINE_FLUSH ideal-int
|
||||
+pkg syscall (openbsd-amd64), const RTF_FMASK = 63496
|
||||
+pkg syscall (openbsd-amd64), const RTM_VERSION = 4
|
||||
+pkg syscall (openbsd-amd64), const SIOCBRDGDADDR = 2150132039
|
||||
+pkg syscall (openbsd-amd64), const SIOCBRDGSADDR = 3223873860
|
||||
+pkg syscall (openbsd-amd64), const SIOCGIFGENERIC = 3223349562
|
||||
+pkg syscall (openbsd-amd64), const SIOCGIFGENERIC ideal-int
|
||||
+pkg syscall (openbsd-amd64), const SIOCSIFGENERIC = 2149607737
|
||||
+pkg syscall (openbsd-amd64), const SIOCSIFGENERIC ideal-int
|
||||
+pkg syscall (openbsd-amd64), const SYS_CLOCK_GETRES = 234
|
||||
+pkg syscall (openbsd-amd64), const SYS_CLOCK_GETTIME = 232
|
||||
+pkg syscall (openbsd-amd64), const SYS_CLOCK_SETTIME = 233
|
||||
+pkg syscall (openbsd-amd64), const SYS_FHSTATFS = 309
|
||||
+pkg syscall (openbsd-amd64), const SYS_FSTAT = 292
|
||||
+pkg syscall (openbsd-amd64), const SYS_FSTATAT = 316
|
||||
+pkg syscall (openbsd-amd64), const SYS_FSTATFS = 308
|
||||
+pkg syscall (openbsd-amd64), const SYS_FUTIMENS = 327
|
||||
+pkg syscall (openbsd-amd64), const SYS_FUTIMES = 206
|
||||
+pkg syscall (openbsd-amd64), const SYS_GETDIRENTRIES = 312
|
||||
+pkg syscall (openbsd-amd64), const SYS_GETDIRENTRIES ideal-int
|
||||
+pkg syscall (openbsd-amd64), const SYS_GETFSSTAT = 306
|
||||
+pkg syscall (openbsd-amd64), const SYS_GETITIMER = 86
|
||||
+pkg syscall (openbsd-amd64), const SYS_GETRUSAGE = 117
|
||||
+pkg syscall (openbsd-amd64), const SYS_GETTIMEOFDAY = 116
|
||||
+pkg syscall (openbsd-amd64), const SYS_KEVENT = 270
|
||||
+pkg syscall (openbsd-amd64), const SYS_LSTAT = 293
|
||||
+pkg syscall (openbsd-amd64), const SYS_NANOSLEEP = 240
|
||||
+pkg syscall (openbsd-amd64), const SYS_SELECT = 93
|
||||
+pkg syscall (openbsd-amd64), const SYS_SETITIMER = 83
|
||||
+pkg syscall (openbsd-amd64), const SYS_SETTIMEOFDAY = 122
|
||||
+pkg syscall (openbsd-amd64), const SYS_STAT = 291
|
||||
+pkg syscall (openbsd-amd64), const SYS_STATFS = 307
|
||||
+pkg syscall (openbsd-amd64), const SYS_UTIMENSAT = 326
|
||||
+pkg syscall (openbsd-amd64), const SYS_UTIMES = 138
|
||||
+pkg syscall (openbsd-amd64), const SYS_WAIT4 = 7
|
||||
+pkg syscall (openbsd-amd64), const SYS___THRSLEEP = 300
|
||||
+pkg syscall (openbsd-amd64), const SizeofRtMetrics = 48
|
||||
+pkg syscall (openbsd-amd64), const SizeofRtMsghdr = 88
|
||||
+pkg syscall (openbsd-amd64), type Dirent struct, Fileno uint32
|
||||
+pkg syscall (openbsd-amd64), type FdSet struct, Bits [32]int32
|
||||
+pkg syscall (openbsd-amd64), type Kevent_t struct, Data int32
|
||||
+pkg syscall (openbsd-amd64), type Kevent_t struct, Ident uint32
|
||||
+pkg syscall (openbsd-amd64), type RtMetrics struct, Expire uint32
|
||||
+pkg syscall (openbsd-amd64), type Stat_t struct, Ino uint32
|
||||
+pkg syscall (openbsd-amd64), type Stat_t struct, Lspare0 int32
|
||||
+pkg syscall (openbsd-amd64), type Stat_t struct, Lspare1 int32
|
||||
+pkg syscall (openbsd-amd64), type Stat_t struct, Qspare [2]int64
|
||||
+pkg syscall (openbsd-amd64), type Statfs_t struct, F_ctime uint32
|
||||
+pkg syscall (openbsd-amd64), type Statfs_t struct, F_spare [3]uint32
|
||||
+pkg syscall (openbsd-amd64), type Statfs_t struct, Pad_cgo_1 [4]uint8
|
||||
+pkg syscall (openbsd-amd64), type Timespec struct, Pad_cgo_0 [4]uint8
|
||||
+pkg syscall (openbsd-amd64), type Timespec struct, Sec int32
|
||||
+pkg syscall (openbsd-amd64-cgo), const CCR0_FLUSH = 16
|
||||
+pkg syscall (openbsd-amd64-cgo), const CCR0_FLUSH ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const CPUID_CFLUSH = 524288
|
||||
+pkg syscall (openbsd-amd64-cgo), const CPUID_CFLUSH ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const EFER_LMA = 1024
|
||||
+pkg syscall (openbsd-amd64-cgo), const EFER_LMA ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const EFER_LME = 256
|
||||
+pkg syscall (openbsd-amd64-cgo), const EFER_LME ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const EFER_NXE = 2048
|
||||
+pkg syscall (openbsd-amd64-cgo), const EFER_NXE ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const EFER_SCE = 1
|
||||
+pkg syscall (openbsd-amd64-cgo), const EFER_SCE ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const EMUL_ENABLED = 1
|
||||
+pkg syscall (openbsd-amd64-cgo), const EMUL_ENABLED ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const EMUL_NATIVE = 2
|
||||
+pkg syscall (openbsd-amd64-cgo), const EMUL_NATIVE ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const IPV6_FAITH = 29
|
||||
+pkg syscall (openbsd-amd64-cgo), const IPV6_FAITH ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const IPV6_OPTIONS = 1
|
||||
+pkg syscall (openbsd-amd64-cgo), const IPV6_OPTIONS ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const IPV6_RTHDR_STRICT = 1
|
||||
+pkg syscall (openbsd-amd64-cgo), const IPV6_RTHDR_STRICT ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const IPV6_SOCKOPT_RESERVED1 = 3
|
||||
+pkg syscall (openbsd-amd64-cgo), const IPV6_SOCKOPT_RESERVED1 ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const PMC5_PIPELINE_FLUSH = 21
|
||||
+pkg syscall (openbsd-amd64-cgo), const PMC5_PIPELINE_FLUSH ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const RTF_FMASK = 63496
|
||||
+pkg syscall (openbsd-amd64-cgo), const RTM_VERSION = 4
|
||||
+pkg syscall (openbsd-amd64-cgo), const SIOCBRDGDADDR = 2150132039
|
||||
+pkg syscall (openbsd-amd64-cgo), const SIOCBRDGSADDR = 3223873860
|
||||
+pkg syscall (openbsd-amd64-cgo), const SIOCGIFGENERIC = 3223349562
|
||||
+pkg syscall (openbsd-amd64-cgo), const SIOCGIFGENERIC ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const SIOCSIFGENERIC = 2149607737
|
||||
+pkg syscall (openbsd-amd64-cgo), const SIOCSIFGENERIC ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_CLOCK_GETRES = 234
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_CLOCK_GETTIME = 232
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_CLOCK_SETTIME = 233
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_FHSTATFS = 309
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_FSTAT = 292
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_FSTATAT = 316
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_FSTATFS = 308
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_FUTIMENS = 327
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_FUTIMES = 206
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_GETDIRENTRIES = 312
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_GETDIRENTRIES ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_GETFSSTAT = 306
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_GETITIMER = 86
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_GETRUSAGE = 117
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_GETTIMEOFDAY = 116
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_KEVENT = 270
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_LSTAT = 293
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_NANOSLEEP = 240
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_SELECT = 93
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_SETITIMER = 83
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_SETTIMEOFDAY = 122
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_STAT = 291
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_STATFS = 307
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_UTIMENSAT = 326
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_UTIMES = 138
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_WAIT4 = 7
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS___THRSLEEP = 300
|
||||
+pkg syscall (openbsd-amd64-cgo), const SizeofRtMetrics = 48
|
||||
+pkg syscall (openbsd-amd64-cgo), const SizeofRtMsghdr = 88
|
||||
+pkg syscall (openbsd-amd64-cgo), type Dirent struct, Fileno uint32
|
||||
+pkg syscall (openbsd-amd64-cgo), type FdSet struct, Bits [32]int32
|
||||
+pkg syscall (openbsd-amd64-cgo), type Kevent_t struct, Data int32
|
||||
+pkg syscall (openbsd-amd64-cgo), type Kevent_t struct, Ident uint32
|
||||
+pkg syscall (openbsd-amd64-cgo), type RtMetrics struct, Expire uint32
|
||||
+pkg syscall (openbsd-amd64-cgo), type Stat_t struct, Ino uint32
|
||||
+pkg syscall (openbsd-amd64-cgo), type Stat_t struct, Lspare0 int32
|
||||
+pkg syscall (openbsd-amd64-cgo), type Stat_t struct, Lspare1 int32
|
||||
+pkg syscall (openbsd-amd64-cgo), type Stat_t struct, Qspare [2]int64
|
||||
+pkg syscall (openbsd-amd64-cgo), type Statfs_t struct, F_ctime uint32
|
||||
+pkg syscall (openbsd-amd64-cgo), type Statfs_t struct, F_spare [3]uint32
|
||||
+pkg syscall (openbsd-amd64-cgo), type Statfs_t struct, Pad_cgo_1 [4]uint8
|
||||
+pkg syscall (openbsd-amd64-cgo), type Timespec struct, Pad_cgo_0 [4]uint8
|
||||
+pkg syscall (openbsd-amd64-cgo), type Timespec struct, Sec int32
|
@ -1,346 +0,0 @@
|
||||
$OpenBSD: patch-api_next_txt,v 1.1 2014/03/25 13:21:20 jsing Exp $
|
||||
--- api/next.txt.orig Thu Mar 20 19:21:43 2014
|
||||
+++ api/next.txt Thu Mar 20 19:22:09 2014
|
||||
@@ -0,0 +1,342 @@
|
||||
+pkg syscall (openbsd-386), const BIOCGRTIMEOUT = 1074545262
|
||||
+pkg syscall (openbsd-386), const BIOCSRTIMEOUT = 2148287085
|
||||
+pkg syscall (openbsd-386), const IPPROTO_DIVERT_INIT = 2
|
||||
+pkg syscall (openbsd-386), const IPPROTO_DIVERT_INIT ideal-int
|
||||
+pkg syscall (openbsd-386), const IPPROTO_DIVERT_RESP = 1
|
||||
+pkg syscall (openbsd-386), const IPPROTO_DIVERT_RESP ideal-int
|
||||
+pkg syscall (openbsd-386), const IPV6_RECVDSTPORT = 64
|
||||
+pkg syscall (openbsd-386), const IPV6_RECVDSTPORT ideal-int
|
||||
+pkg syscall (openbsd-386), const IP_DIVERTFL = 4130
|
||||
+pkg syscall (openbsd-386), const IP_DIVERTFL ideal-int
|
||||
+pkg syscall (openbsd-386), const RTF_FMASK = 1112072
|
||||
+pkg syscall (openbsd-386), const RTM_VERSION = 5
|
||||
+pkg syscall (openbsd-386), const SIOCBRDGDADDR = 2166909255
|
||||
+pkg syscall (openbsd-386), const SIOCBRDGGPARAM = 3225184600
|
||||
+pkg syscall (openbsd-386), const SIOCBRDGSADDR = 3240651076
|
||||
+pkg syscall (openbsd-386), const SIOCGETVLAN = 3223349648
|
||||
+pkg syscall (openbsd-386), const SIOCGETVLAN ideal-int
|
||||
+pkg syscall (openbsd-386), const SIOCGIFHARDMTU = 3223349669
|
||||
+pkg syscall (openbsd-386), const SIOCGIFHARDMTU ideal-int
|
||||
+pkg syscall (openbsd-386), const SIOCGLIFPHYTTL = 3223349673
|
||||
+pkg syscall (openbsd-386), const SIOCGLIFPHYTTL ideal-int
|
||||
+pkg syscall (openbsd-386), const SIOCGSPPPPARAMS = 3223349652
|
||||
+pkg syscall (openbsd-386), const SIOCGSPPPPARAMS ideal-int
|
||||
+pkg syscall (openbsd-386), const SIOCGVNETID = 3223349671
|
||||
+pkg syscall (openbsd-386), const SIOCGVNETID ideal-int
|
||||
+pkg syscall (openbsd-386), const SIOCSETVLAN = 2149607823
|
||||
+pkg syscall (openbsd-386), const SIOCSETVLAN ideal-int
|
||||
+pkg syscall (openbsd-386), const SIOCSLIFPHYTTL = 2149607848
|
||||
+pkg syscall (openbsd-386), const SIOCSLIFPHYTTL ideal-int
|
||||
+pkg syscall (openbsd-386), const SIOCSSPPPPARAMS = 2149607827
|
||||
+pkg syscall (openbsd-386), const SIOCSSPPPPARAMS ideal-int
|
||||
+pkg syscall (openbsd-386), const SIOCSVNETID = 2149607846
|
||||
+pkg syscall (openbsd-386), const SIOCSVNETID ideal-int
|
||||
+pkg syscall (openbsd-386), const SYS_CLOCK_GETRES = 89
|
||||
+pkg syscall (openbsd-386), const SYS_CLOCK_GETTIME = 87
|
||||
+pkg syscall (openbsd-386), const SYS_CLOCK_SETTIME = 88
|
||||
+pkg syscall (openbsd-386), const SYS_FHSTATFS = 65
|
||||
+pkg syscall (openbsd-386), const SYS_FSTAT = 53
|
||||
+pkg syscall (openbsd-386), const SYS_FSTATAT = 42
|
||||
+pkg syscall (openbsd-386), const SYS_FSTATFS = 64
|
||||
+pkg syscall (openbsd-386), const SYS_FUTIMENS = 85
|
||||
+pkg syscall (openbsd-386), const SYS_FUTIMES = 77
|
||||
+pkg syscall (openbsd-386), const SYS_GETDENTS = 99
|
||||
+pkg syscall (openbsd-386), const SYS_GETDENTS ideal-int
|
||||
+pkg syscall (openbsd-386), const SYS_GETFSSTAT = 62
|
||||
+pkg syscall (openbsd-386), const SYS_GETITIMER = 70
|
||||
+pkg syscall (openbsd-386), const SYS_GETRUSAGE = 19
|
||||
+pkg syscall (openbsd-386), const SYS_GETTIMEOFDAY = 67
|
||||
+pkg syscall (openbsd-386), const SYS_KEVENT = 72
|
||||
+pkg syscall (openbsd-386), const SYS_LSTAT = 40
|
||||
+pkg syscall (openbsd-386), const SYS_NANOSLEEP = 91
|
||||
+pkg syscall (openbsd-386), const SYS_PPOLL = 109
|
||||
+pkg syscall (openbsd-386), const SYS_PPOLL ideal-int
|
||||
+pkg syscall (openbsd-386), const SYS_PSELECT = 110
|
||||
+pkg syscall (openbsd-386), const SYS_PSELECT ideal-int
|
||||
+pkg syscall (openbsd-386), const SYS_SELECT = 71
|
||||
+pkg syscall (openbsd-386), const SYS_SETITIMER = 69
|
||||
+pkg syscall (openbsd-386), const SYS_SETTIMEOFDAY = 68
|
||||
+pkg syscall (openbsd-386), const SYS_STAT = 38
|
||||
+pkg syscall (openbsd-386), const SYS_STATFS = 63
|
||||
+pkg syscall (openbsd-386), const SYS_UTIMENSAT = 84
|
||||
+pkg syscall (openbsd-386), const SYS_UTIMES = 76
|
||||
+pkg syscall (openbsd-386), const SYS_UTRACE = 209
|
||||
+pkg syscall (openbsd-386), const SYS_UTRACE ideal-int
|
||||
+pkg syscall (openbsd-386), const SYS_WAIT4 = 11
|
||||
+pkg syscall (openbsd-386), const SYS___THRSLEEP = 94
|
||||
+pkg syscall (openbsd-386), const SizeofIfData = 212
|
||||
+pkg syscall (openbsd-386), const SizeofIfMsghdr = 236
|
||||
+pkg syscall (openbsd-386), const SizeofRtMetrics = 56
|
||||
+pkg syscall (openbsd-386), const SizeofRtMsghdr = 96
|
||||
+pkg syscall (openbsd-386), const TCP_NOPUSH = 16
|
||||
+pkg syscall (openbsd-386), const TCP_NOPUSH ideal-int
|
||||
+pkg syscall (openbsd-386), const TIOCGTSTAMP = 1074558043
|
||||
+pkg syscall (openbsd-386), type Dirent struct, Fileno uint64
|
||||
+pkg syscall (openbsd-386), type Dirent struct, Off int64
|
||||
+pkg syscall (openbsd-386), type Dirent struct, X__d_padding [4]uint8
|
||||
+pkg syscall (openbsd-386), type FdSet struct, Bits [32]uint32
|
||||
+pkg syscall (openbsd-386), type Kevent_t struct, Data int64
|
||||
+pkg syscall (openbsd-386), type RtMetrics struct, Expire int64
|
||||
+pkg syscall (openbsd-386), type RtMetrics struct, Pad uint32
|
||||
+pkg syscall (openbsd-386), type Stat_t struct, Ino uint64
|
||||
+pkg syscall (openbsd-386), type Statfs_t struct, F_ctime uint64
|
||||
+pkg syscall (openbsd-386), type Statfs_t struct, F_mntfromspec [90]int8
|
||||
+pkg syscall (openbsd-386), type Statfs_t struct, Pad_cgo_0 [2]uint8
|
||||
+pkg syscall (openbsd-386), type Timespec struct, Sec int64
|
||||
+pkg syscall (openbsd-386), type Timeval struct, Sec int64
|
||||
+pkg syscall (openbsd-386-cgo), const BIOCGRTIMEOUT = 1074545262
|
||||
+pkg syscall (openbsd-386-cgo), const BIOCSRTIMEOUT = 2148287085
|
||||
+pkg syscall (openbsd-386-cgo), const IPPROTO_DIVERT_INIT = 2
|
||||
+pkg syscall (openbsd-386-cgo), const IPPROTO_DIVERT_INIT ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const IPPROTO_DIVERT_RESP = 1
|
||||
+pkg syscall (openbsd-386-cgo), const IPPROTO_DIVERT_RESP ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const IPV6_RECVDSTPORT = 64
|
||||
+pkg syscall (openbsd-386-cgo), const IPV6_RECVDSTPORT ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const IP_DIVERTFL = 4130
|
||||
+pkg syscall (openbsd-386-cgo), const IP_DIVERTFL ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const RTF_FMASK = 1112072
|
||||
+pkg syscall (openbsd-386-cgo), const RTM_VERSION = 5
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCBRDGDADDR = 2166909255
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCBRDGGPARAM = 3225184600
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCBRDGSADDR = 3240651076
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCGETVLAN = 3223349648
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCGETVLAN ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCGIFHARDMTU = 3223349669
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCGIFHARDMTU ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCGLIFPHYTTL = 3223349673
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCGLIFPHYTTL ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCGSPPPPARAMS = 3223349652
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCGSPPPPARAMS ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCGVNETID = 3223349671
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCGVNETID ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCSETVLAN = 2149607823
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCSETVLAN ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCSLIFPHYTTL = 2149607848
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCSLIFPHYTTL ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCSSPPPPARAMS = 2149607827
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCSSPPPPARAMS ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCSVNETID = 2149607846
|
||||
+pkg syscall (openbsd-386-cgo), const SIOCSVNETID ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_CLOCK_GETRES = 89
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_CLOCK_GETTIME = 87
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_CLOCK_SETTIME = 88
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_FHSTATFS = 65
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_FSTAT = 53
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_FSTATAT = 42
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_FSTATFS = 64
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_FUTIMENS = 85
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_FUTIMES = 77
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_GETDENTS = 99
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_GETDENTS ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_GETFSSTAT = 62
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_GETITIMER = 70
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_GETRUSAGE = 19
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_GETTIMEOFDAY = 67
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_KEVENT = 72
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_LSTAT = 40
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_NANOSLEEP = 91
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_PPOLL = 109
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_PPOLL ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_PSELECT = 110
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_PSELECT ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_SELECT = 71
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_SETITIMER = 69
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_SETTIMEOFDAY = 68
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_STAT = 38
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_STATFS = 63
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_UTIMENSAT = 84
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_UTIMES = 76
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_UTRACE = 209
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_UTRACE ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const SYS_WAIT4 = 11
|
||||
+pkg syscall (openbsd-386-cgo), const SYS___THRSLEEP = 94
|
||||
+pkg syscall (openbsd-386-cgo), const SizeofIfData = 212
|
||||
+pkg syscall (openbsd-386-cgo), const SizeofIfMsghdr = 236
|
||||
+pkg syscall (openbsd-386-cgo), const SizeofRtMetrics = 56
|
||||
+pkg syscall (openbsd-386-cgo), const SizeofRtMsghdr = 96
|
||||
+pkg syscall (openbsd-386-cgo), const TCP_NOPUSH = 16
|
||||
+pkg syscall (openbsd-386-cgo), const TCP_NOPUSH ideal-int
|
||||
+pkg syscall (openbsd-386-cgo), const TIOCGTSTAMP = 1074558043
|
||||
+pkg syscall (openbsd-386-cgo), type Dirent struct, Fileno uint64
|
||||
+pkg syscall (openbsd-386-cgo), type Dirent struct, Off int64
|
||||
+pkg syscall (openbsd-386-cgo), type Dirent struct, X__d_padding [4]uint8
|
||||
+pkg syscall (openbsd-386-cgo), type FdSet struct, Bits [32]uint32
|
||||
+pkg syscall (openbsd-386-cgo), type Kevent_t struct, Data int64
|
||||
+pkg syscall (openbsd-386-cgo), type RtMetrics struct, Expire int64
|
||||
+pkg syscall (openbsd-386-cgo), type RtMetrics struct, Pad uint32
|
||||
+pkg syscall (openbsd-386-cgo), type Stat_t struct, Ino uint64
|
||||
+pkg syscall (openbsd-386-cgo), type Statfs_t struct, F_ctime uint64
|
||||
+pkg syscall (openbsd-386-cgo), type Statfs_t struct, F_mntfromspec [90]int8
|
||||
+pkg syscall (openbsd-386-cgo), type Statfs_t struct, Pad_cgo_0 [2]uint8
|
||||
+pkg syscall (openbsd-386-cgo), type Timespec struct, Sec int64
|
||||
+pkg syscall (openbsd-386-cgo), type Timeval struct, Sec int64
|
||||
+pkg syscall (openbsd-amd64), const IPPROTO_DIVERT_INIT = 2
|
||||
+pkg syscall (openbsd-amd64), const IPPROTO_DIVERT_INIT ideal-int
|
||||
+pkg syscall (openbsd-amd64), const IPPROTO_DIVERT_RESP = 1
|
||||
+pkg syscall (openbsd-amd64), const IPPROTO_DIVERT_RESP ideal-int
|
||||
+pkg syscall (openbsd-amd64), const IPV6_RECVDSTPORT = 64
|
||||
+pkg syscall (openbsd-amd64), const IPV6_RECVDSTPORT ideal-int
|
||||
+pkg syscall (openbsd-amd64), const IP_DIVERTFL = 4130
|
||||
+pkg syscall (openbsd-amd64), const IP_DIVERTFL ideal-int
|
||||
+pkg syscall (openbsd-amd64), const RTF_FMASK = 1112072
|
||||
+pkg syscall (openbsd-amd64), const RTM_VERSION = 5
|
||||
+pkg syscall (openbsd-amd64), const SIOCBRDGDADDR = 2166909255
|
||||
+pkg syscall (openbsd-amd64), const SIOCBRDGSADDR = 3240651076
|
||||
+pkg syscall (openbsd-amd64), const SIOCGETVLAN = 3223349648
|
||||
+pkg syscall (openbsd-amd64), const SIOCGETVLAN ideal-int
|
||||
+pkg syscall (openbsd-amd64), const SIOCGIFHARDMTU = 3223349669
|
||||
+pkg syscall (openbsd-amd64), const SIOCGIFHARDMTU ideal-int
|
||||
+pkg syscall (openbsd-amd64), const SIOCGLIFPHYTTL = 3223349673
|
||||
+pkg syscall (openbsd-amd64), const SIOCGLIFPHYTTL ideal-int
|
||||
+pkg syscall (openbsd-amd64), const SIOCGSPPPPARAMS = 3223349652
|
||||
+pkg syscall (openbsd-amd64), const SIOCGSPPPPARAMS ideal-int
|
||||
+pkg syscall (openbsd-amd64), const SIOCGVNETID = 3223349671
|
||||
+pkg syscall (openbsd-amd64), const SIOCGVNETID ideal-int
|
||||
+pkg syscall (openbsd-amd64), const SIOCSETVLAN = 2149607823
|
||||
+pkg syscall (openbsd-amd64), const SIOCSETVLAN ideal-int
|
||||
+pkg syscall (openbsd-amd64), const SIOCSLIFPHYTTL = 2149607848
|
||||
+pkg syscall (openbsd-amd64), const SIOCSLIFPHYTTL ideal-int
|
||||
+pkg syscall (openbsd-amd64), const SIOCSSPPPPARAMS = 2149607827
|
||||
+pkg syscall (openbsd-amd64), const SIOCSSPPPPARAMS ideal-int
|
||||
+pkg syscall (openbsd-amd64), const SIOCSVNETID = 2149607846
|
||||
+pkg syscall (openbsd-amd64), const SIOCSVNETID ideal-int
|
||||
+pkg syscall (openbsd-amd64), const SYS_CLOCK_GETRES = 89
|
||||
+pkg syscall (openbsd-amd64), const SYS_CLOCK_GETTIME = 87
|
||||
+pkg syscall (openbsd-amd64), const SYS_CLOCK_SETTIME = 88
|
||||
+pkg syscall (openbsd-amd64), const SYS_FHSTATFS = 65
|
||||
+pkg syscall (openbsd-amd64), const SYS_FSTAT = 53
|
||||
+pkg syscall (openbsd-amd64), const SYS_FSTATAT = 42
|
||||
+pkg syscall (openbsd-amd64), const SYS_FSTATFS = 64
|
||||
+pkg syscall (openbsd-amd64), const SYS_FUTIMENS = 85
|
||||
+pkg syscall (openbsd-amd64), const SYS_FUTIMES = 77
|
||||
+pkg syscall (openbsd-amd64), const SYS_GETDENTS = 99
|
||||
+pkg syscall (openbsd-amd64), const SYS_GETDENTS ideal-int
|
||||
+pkg syscall (openbsd-amd64), const SYS_GETFSSTAT = 62
|
||||
+pkg syscall (openbsd-amd64), const SYS_GETITIMER = 70
|
||||
+pkg syscall (openbsd-amd64), const SYS_GETRUSAGE = 19
|
||||
+pkg syscall (openbsd-amd64), const SYS_GETTIMEOFDAY = 67
|
||||
+pkg syscall (openbsd-amd64), const SYS_KEVENT = 72
|
||||
+pkg syscall (openbsd-amd64), const SYS_LSTAT = 40
|
||||
+pkg syscall (openbsd-amd64), const SYS_NANOSLEEP = 91
|
||||
+pkg syscall (openbsd-amd64), const SYS_PPOLL = 109
|
||||
+pkg syscall (openbsd-amd64), const SYS_PPOLL ideal-int
|
||||
+pkg syscall (openbsd-amd64), const SYS_PSELECT = 110
|
||||
+pkg syscall (openbsd-amd64), const SYS_PSELECT ideal-int
|
||||
+pkg syscall (openbsd-amd64), const SYS_SELECT = 71
|
||||
+pkg syscall (openbsd-amd64), const SYS_SETITIMER = 69
|
||||
+pkg syscall (openbsd-amd64), const SYS_SETTIMEOFDAY = 68
|
||||
+pkg syscall (openbsd-amd64), const SYS_STAT = 38
|
||||
+pkg syscall (openbsd-amd64), const SYS_STATFS = 63
|
||||
+pkg syscall (openbsd-amd64), const SYS_UTIMENSAT = 84
|
||||
+pkg syscall (openbsd-amd64), const SYS_UTIMES = 76
|
||||
+pkg syscall (openbsd-amd64), const SYS_UTRACE = 209
|
||||
+pkg syscall (openbsd-amd64), const SYS_UTRACE ideal-int
|
||||
+pkg syscall (openbsd-amd64), const SYS_WAIT4 = 11
|
||||
+pkg syscall (openbsd-amd64), const SYS___THRSLEEP = 94
|
||||
+pkg syscall (openbsd-amd64), const SizeofRtMetrics = 56
|
||||
+pkg syscall (openbsd-amd64), const SizeofRtMsghdr = 96
|
||||
+pkg syscall (openbsd-amd64), const TCP_NOPUSH = 16
|
||||
+pkg syscall (openbsd-amd64), const TCP_NOPUSH ideal-int
|
||||
+pkg syscall (openbsd-amd64), type Dirent struct, Fileno uint64
|
||||
+pkg syscall (openbsd-amd64), type Dirent struct, Off int64
|
||||
+pkg syscall (openbsd-amd64), type Dirent struct, X__d_padding [4]uint8
|
||||
+pkg syscall (openbsd-amd64), type FdSet struct, Bits [32]uint32
|
||||
+pkg syscall (openbsd-amd64), type Kevent_t struct, Data int64
|
||||
+pkg syscall (openbsd-amd64), type Kevent_t struct, Ident uint64
|
||||
+pkg syscall (openbsd-amd64), type RtMetrics struct, Expire int64
|
||||
+pkg syscall (openbsd-amd64), type RtMetrics struct, Pad uint32
|
||||
+pkg syscall (openbsd-amd64), type Stat_t struct, Ino uint64
|
||||
+pkg syscall (openbsd-amd64), type Stat_t struct, Pad_cgo_0 [4]uint8
|
||||
+pkg syscall (openbsd-amd64), type Statfs_t struct, F_ctime uint64
|
||||
+pkg syscall (openbsd-amd64), type Statfs_t struct, F_mntfromspec [90]int8
|
||||
+pkg syscall (openbsd-amd64), type Statfs_t struct, Pad_cgo_1 [2]uint8
|
||||
+pkg syscall (openbsd-amd64), type Timespec struct, Sec int64
|
||||
+pkg syscall (openbsd-amd64-cgo), const IPPROTO_DIVERT_INIT = 2
|
||||
+pkg syscall (openbsd-amd64-cgo), const IPPROTO_DIVERT_INIT ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const IPPROTO_DIVERT_RESP = 1
|
||||
+pkg syscall (openbsd-amd64-cgo), const IPPROTO_DIVERT_RESP ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const IPV6_RECVDSTPORT = 64
|
||||
+pkg syscall (openbsd-amd64-cgo), const IPV6_RECVDSTPORT ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const IP_DIVERTFL = 4130
|
||||
+pkg syscall (openbsd-amd64-cgo), const IP_DIVERTFL ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const RTF_FMASK = 1112072
|
||||
+pkg syscall (openbsd-amd64-cgo), const RTM_VERSION = 5
|
||||
+pkg syscall (openbsd-amd64-cgo), const SIOCBRDGDADDR = 2166909255
|
||||
+pkg syscall (openbsd-amd64-cgo), const SIOCBRDGSADDR = 3240651076
|
||||
+pkg syscall (openbsd-amd64-cgo), const SIOCGETVLAN = 3223349648
|
||||
+pkg syscall (openbsd-amd64-cgo), const SIOCGETVLAN ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const SIOCGIFHARDMTU = 3223349669
|
||||
+pkg syscall (openbsd-amd64-cgo), const SIOCGIFHARDMTU ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const SIOCGLIFPHYTTL = 3223349673
|
||||
+pkg syscall (openbsd-amd64-cgo), const SIOCGLIFPHYTTL ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const SIOCGSPPPPARAMS = 3223349652
|
||||
+pkg syscall (openbsd-amd64-cgo), const SIOCGSPPPPARAMS ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const SIOCGVNETID = 3223349671
|
||||
+pkg syscall (openbsd-amd64-cgo), const SIOCGVNETID ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const SIOCSETVLAN = 2149607823
|
||||
+pkg syscall (openbsd-amd64-cgo), const SIOCSETVLAN ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const SIOCSLIFPHYTTL = 2149607848
|
||||
+pkg syscall (openbsd-amd64-cgo), const SIOCSLIFPHYTTL ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const SIOCSSPPPPARAMS = 2149607827
|
||||
+pkg syscall (openbsd-amd64-cgo), const SIOCSSPPPPARAMS ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const SIOCSVNETID = 2149607846
|
||||
+pkg syscall (openbsd-amd64-cgo), const SIOCSVNETID ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_CLOCK_GETRES = 89
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_CLOCK_GETTIME = 87
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_CLOCK_SETTIME = 88
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_FHSTATFS = 65
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_FSTAT = 53
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_FSTATAT = 42
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_FSTATFS = 64
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_FUTIMENS = 85
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_FUTIMES = 77
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_GETDENTS = 99
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_GETDENTS ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_GETFSSTAT = 62
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_GETITIMER = 70
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_GETRUSAGE = 19
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_GETTIMEOFDAY = 67
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_KEVENT = 72
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_LSTAT = 40
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_NANOSLEEP = 91
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_PPOLL = 109
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_PPOLL ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_PSELECT = 110
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_PSELECT ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_SELECT = 71
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_SETITIMER = 69
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_SETTIMEOFDAY = 68
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_STAT = 38
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_STATFS = 63
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_UTIMENSAT = 84
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_UTIMES = 76
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_UTRACE = 209
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_UTRACE ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS_WAIT4 = 11
|
||||
+pkg syscall (openbsd-amd64-cgo), const SYS___THRSLEEP = 94
|
||||
+pkg syscall (openbsd-amd64-cgo), const SizeofRtMetrics = 56
|
||||
+pkg syscall (openbsd-amd64-cgo), const SizeofRtMsghdr = 96
|
||||
+pkg syscall (openbsd-amd64-cgo), const TCP_NOPUSH = 16
|
||||
+pkg syscall (openbsd-amd64-cgo), const TCP_NOPUSH ideal-int
|
||||
+pkg syscall (openbsd-amd64-cgo), type Dirent struct, Fileno uint64
|
||||
+pkg syscall (openbsd-amd64-cgo), type Dirent struct, Off int64
|
||||
+pkg syscall (openbsd-amd64-cgo), type Dirent struct, X__d_padding [4]uint8
|
||||
+pkg syscall (openbsd-amd64-cgo), type FdSet struct, Bits [32]uint32
|
||||
+pkg syscall (openbsd-amd64-cgo), type Kevent_t struct, Data int64
|
||||
+pkg syscall (openbsd-amd64-cgo), type Kevent_t struct, Ident uint64
|
||||
+pkg syscall (openbsd-amd64-cgo), type RtMetrics struct, Expire int64
|
||||
+pkg syscall (openbsd-amd64-cgo), type RtMetrics struct, Pad uint32
|
||||
+pkg syscall (openbsd-amd64-cgo), type Stat_t struct, Ino uint64
|
||||
+pkg syscall (openbsd-amd64-cgo), type Stat_t struct, Pad_cgo_0 [4]uint8
|
||||
+pkg syscall (openbsd-amd64-cgo), type Statfs_t struct, F_ctime uint64
|
||||
+pkg syscall (openbsd-amd64-cgo), type Statfs_t struct, F_mntfromspec [90]int8
|
||||
+pkg syscall (openbsd-amd64-cgo), type Statfs_t struct, Pad_cgo_1 [2]uint8
|
||||
+pkg syscall (openbsd-amd64-cgo), type Timespec struct, Sec int64
|
||||
+pkg syscall (windows-386), const ERROR_NETNAME_DELETED = 64
|
||||
+pkg syscall (windows-386), const ERROR_NETNAME_DELETED Errno
|
||||
+pkg syscall (windows-386), const WSAECONNRESET = 10054
|
||||
+pkg syscall (windows-386), const WSAECONNRESET Errno
|
||||
+pkg syscall (windows-amd64), const ERROR_NETNAME_DELETED = 64
|
||||
+pkg syscall (windows-amd64), const ERROR_NETNAME_DELETED Errno
|
||||
+pkg syscall (windows-amd64), const WSAECONNRESET = 10054
|
||||
+pkg syscall (windows-amd64), const WSAECONNRESET Errno
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-src_cmd_ld_lib_c,v 1.3 2013/12/02 15:35:49 jsing Exp $
|
||||
--- src/cmd/ld/lib.c.orig Fri Oct 18 16:13:09 2013
|
||||
+++ src/cmd/ld/lib.c Sun Aug 25 06:58:30 2013
|
||||
@@ -720,6 +720,8 @@ hostlink(void)
|
||||
}
|
||||
if(HEADTYPE == Hdarwin)
|
||||
argv[argc++] = "-Wl,-no_pie,-pagezero_size,4000000";
|
||||
+ if(HEADTYPE == Hopenbsd)
|
||||
+ argv[argc++] = "-Wl,-nopie";
|
||||
|
||||
if(iself && AssumeGoldLinker)
|
||||
argv[argc++] = "-Wl,--rosegment";
|
@ -1,35 +0,0 @@
|
||||
$OpenBSD: patch-src_pkg_runtime_defs_openbsd_386_h,v 1.2 2013/12/02 15:35:49 jsing Exp $
|
||||
--- src/pkg/runtime/defs_openbsd_386.h.orig Fri Oct 18 16:13:10 2013
|
||||
+++ src/pkg/runtime/defs_openbsd_386.h Sat Nov 2 01:00:11 2013
|
||||
@@ -121,7 +121,7 @@ struct Sigcontext {
|
||||
int32 sc_eflags;
|
||||
int32 sc_esp;
|
||||
int32 sc_ss;
|
||||
- int32 sc_onstack;
|
||||
+ int32 __sc_unused;
|
||||
int32 sc_mask;
|
||||
int32 sc_trapno;
|
||||
int32 sc_err;
|
||||
@@ -143,11 +143,11 @@ struct StackT {
|
||||
};
|
||||
|
||||
struct Timespec {
|
||||
- int32 tv_sec;
|
||||
+ int64 tv_sec;
|
||||
int32 tv_nsec;
|
||||
};
|
||||
struct Timeval {
|
||||
- int32 tv_sec;
|
||||
+ int64 tv_sec;
|
||||
int32 tv_usec;
|
||||
};
|
||||
struct Itimerval {
|
||||
@@ -160,7 +160,7 @@ struct Kevent {
|
||||
int16 filter;
|
||||
uint16 flags;
|
||||
uint32 fflags;
|
||||
- int32 data;
|
||||
+ int64 data;
|
||||
byte *udata;
|
||||
};
|
||||
|
@ -1,36 +0,0 @@
|
||||
$OpenBSD: patch-src_pkg_runtime_defs_openbsd_amd64_h,v 1.2 2013/12/02 15:35:49 jsing Exp $
|
||||
--- src/pkg/runtime/defs_openbsd_amd64.h.orig Fri Oct 18 16:13:10 2013
|
||||
+++ src/pkg/runtime/defs_openbsd_amd64.h Sat Nov 2 00:58:02 2013
|
||||
@@ -133,7 +133,7 @@ struct Sigcontext {
|
||||
int64 sc_rsp;
|
||||
int64 sc_ss;
|
||||
void *sc_fpstate;
|
||||
- int32 sc_onstack;
|
||||
+ int32 __sc_unused;
|
||||
int32 sc_mask;
|
||||
};
|
||||
struct Siginfo {
|
||||
@@ -154,8 +154,7 @@ struct StackT {
|
||||
};
|
||||
|
||||
struct Timespec {
|
||||
- int32 tv_sec;
|
||||
- byte Pad_cgo_0[4];
|
||||
+ int64 tv_sec;
|
||||
int64 tv_nsec;
|
||||
};
|
||||
struct Timeval {
|
||||
@@ -168,11 +167,11 @@ struct Itimerval {
|
||||
};
|
||||
|
||||
struct Kevent {
|
||||
- uint32 ident;
|
||||
+ uint64 ident;
|
||||
int16 filter;
|
||||
uint16 flags;
|
||||
uint32 fflags;
|
||||
- int32 data;
|
||||
+ int64 data;
|
||||
byte *udata;
|
||||
};
|
||||
|
@ -1,113 +0,0 @@
|
||||
$OpenBSD: patch-src_pkg_runtime_sys_openbsd_386_s,v 1.6 2013/12/02 15:35:49 jsing Exp $
|
||||
--- src/pkg/runtime/sys_openbsd_386.s.orig Fri Oct 18 16:13:10 2013
|
||||
+++ src/pkg/runtime/sys_openbsd_386.s Sun Aug 25 07:26:46 2013
|
||||
@@ -45,21 +45,22 @@ TEXT runtime·write(SB),NOSPLIT,$-4
|
||||
INT $0x80
|
||||
RET
|
||||
|
||||
-TEXT runtime·usleep(SB),NOSPLIT,$20
|
||||
+TEXT runtime·usleep(SB),NOSPLIT,$24
|
||||
MOVL $0, DX
|
||||
MOVL usec+0(FP), AX
|
||||
MOVL $1000000, CX
|
||||
DIVL CX
|
||||
- MOVL AX, 12(SP) // tv_sec
|
||||
+ MOVL AX, 12(SP) // tv_sec - l32
|
||||
+ MOVL $0, 16(SP) // tv_sec - h32
|
||||
MOVL $1000, AX
|
||||
MULL DX
|
||||
- MOVL AX, 16(SP) // tv_nsec
|
||||
+ MOVL AX, 20(SP) // tv_nsec
|
||||
|
||||
MOVL $0, 0(SP)
|
||||
LEAL 12(SP), AX
|
||||
MOVL AX, 4(SP) // arg 1 - rqtp
|
||||
MOVL $0, 8(SP) // arg 2 - rmtp
|
||||
- MOVL $240, AX // sys_nanosleep
|
||||
+ MOVL $91, AX // sys_nanosleep
|
||||
INT $0x80
|
||||
RET
|
||||
|
||||
@@ -107,43 +108,46 @@ TEXT runtime·madvise(SB),NOSPLIT,$-4
|
||||
RET
|
||||
|
||||
TEXT runtime·setitimer(SB),NOSPLIT,$-4
|
||||
- MOVL $83, AX
|
||||
+ MOVL $69, AX
|
||||
INT $0x80
|
||||
RET
|
||||
|
||||
// func now() (sec int64, nsec int32)
|
||||
TEXT time·now(SB), NOSPLIT, $32
|
||||
- MOVL $232, AX
|
||||
LEAL 12(SP), BX
|
||||
- MOVL $0, 4(SP)
|
||||
- MOVL BX, 8(SP)
|
||||
+ MOVL $0, 4(SP) // arg 1 - clock_id
|
||||
+ MOVL BX, 8(SP) // arg 2 - tp
|
||||
+ MOVL $87, AX // sys_clock_gettime
|
||||
INT $0x80
|
||||
- MOVL 12(SP), AX // sec
|
||||
- MOVL 16(SP), BX // nsec
|
||||
|
||||
- // sec is in AX, nsec in BX
|
||||
+ MOVL 12(SP), AX // sec - l32
|
||||
MOVL AX, sec+0(FP)
|
||||
- MOVL $0, sec+4(FP)
|
||||
+ MOVL 16(SP), AX // sec - h32
|
||||
+ MOVL AX, sec+4(FP)
|
||||
+
|
||||
+ MOVL 20(SP), BX // nsec
|
||||
MOVL BX, nsec+8(FP)
|
||||
RET
|
||||
|
||||
// int64 nanotime(void) so really
|
||||
// void nanotime(int64 *nsec)
|
||||
TEXT runtime·nanotime(SB),NOSPLIT,$32
|
||||
- MOVL $232, AX
|
||||
LEAL 12(SP), BX
|
||||
- MOVL $0, 4(SP)
|
||||
- MOVL BX, 8(SP)
|
||||
+ MOVL $0, 4(SP) // arg 1 - clock_id
|
||||
+ MOVL BX, 8(SP) // arg 2 - tp
|
||||
+ MOVL $87, AX // sys_clock_gettime
|
||||
INT $0x80
|
||||
- MOVL 12(SP), AX // sec
|
||||
- MOVL 16(SP), BX // nsec
|
||||
|
||||
- // sec is in AX, nsec in BX
|
||||
- // convert to DX:AX nsec
|
||||
- MOVL $1000000000, CX
|
||||
- MULL CX
|
||||
+ MOVL 16(SP), CX // sec - h32
|
||||
+ IMULL $1000000000, CX
|
||||
+
|
||||
+ MOVL 12(SP), AX // sec - l32
|
||||
+ MOVL $1000000000, BX
|
||||
+ MULL BX // result in dx:ax
|
||||
+
|
||||
+ MOVL 20(SP), BX // nsec
|
||||
ADDL BX, AX
|
||||
- ADCL $0, DX
|
||||
+ ADCL CX, DX // add high bits with carry
|
||||
|
||||
MOVL ret+0(FP), DI
|
||||
MOVL AX, 0(DI)
|
||||
@@ -325,7 +329,7 @@ TEXT runtime·osyield(SB),NOSPLIT,$-4
|
||||
RET
|
||||
|
||||
TEXT runtime·thrsleep(SB),NOSPLIT,$-4
|
||||
- MOVL $300, AX // sys___thrsleep
|
||||
+ MOVL $94, AX // sys___thrsleep
|
||||
INT $0x80
|
||||
RET
|
||||
|
||||
@@ -362,7 +366,7 @@ TEXT runtime·kqueue(SB),NOSPLIT,$0
|
||||
|
||||
// int32 runtime·kevent(int kq, Kevent *changelist, int nchanges, Kevent *eventlist, int nevents, Timespec *timeout);
|
||||
TEXT runtime·kevent(SB),NOSPLIT,$0
|
||||
- MOVL $270, AX
|
||||
+ MOVL $72, AX
|
||||
INT $0x80
|
||||
JAE 2(PC)
|
||||
NEGL AX
|
@ -1,72 +0,0 @@
|
||||
$OpenBSD: patch-src_pkg_runtime_sys_openbsd_amd64_s,v 1.6 2013/12/02 15:35:49 jsing Exp $
|
||||
--- src/pkg/runtime/sys_openbsd_amd64.s.orig Fri Oct 18 16:13:10 2013
|
||||
+++ src/pkg/runtime/sys_openbsd_amd64.s Mon Aug 26 02:35:22 2013
|
||||
@@ -62,7 +62,7 @@ TEXT runtime·thrsleep(SB),NOSPLIT,$0
|
||||
MOVQ 24(SP), DX // arg 3 - tp
|
||||
MOVQ 32(SP), R10 // arg 4 - lock
|
||||
MOVQ 40(SP), R8 // arg 5 - abort
|
||||
- MOVL $300, AX // sys___thrsleep
|
||||
+ MOVL $94, AX // sys___thrsleep
|
||||
SYSCALL
|
||||
RET
|
||||
|
||||
@@ -130,7 +130,7 @@ TEXT runtime·usleep(SB),NOSPLIT,$16
|
||||
|
||||
MOVQ SP, DI // arg 1 - rqtp
|
||||
MOVQ $0, SI // arg 2 - rmtp
|
||||
- MOVL $240, AX // sys_nanosleep
|
||||
+ MOVL $91, AX // sys_nanosleep
|
||||
SYSCALL
|
||||
RET
|
||||
|
||||
@@ -138,7 +138,7 @@ TEXT runtime·raise(SB),NOSPLIT,$16
|
||||
MOVL $299, AX // sys_getthrid
|
||||
SYSCALL
|
||||
MOVQ AX, DI // arg 1 - pid
|
||||
- MOVL sig+0(FP), SI // arg 2 - signum
|
||||
+ MOVL sig+0(FP), SI // arg 2 - signum
|
||||
MOVL $37, AX // sys_kill
|
||||
SYSCALL
|
||||
RET
|
||||
@@ -147,7 +147,7 @@ TEXT runtime·setitimer(SB),NOSPLIT,$-8
|
||||
MOVL 8(SP), DI // arg 1 - which
|
||||
MOVQ 16(SP), SI // arg 2 - itv
|
||||
MOVQ 24(SP), DX // arg 3 - oitv
|
||||
- MOVL $83, AX // sys_setitimer
|
||||
+ MOVL $69, AX // sys_setitimer
|
||||
SYSCALL
|
||||
RET
|
||||
|
||||
@@ -155,9 +155,9 @@ TEXT runtime·setitimer(SB),NOSPLIT,$-8
|
||||
TEXT time·now(SB), NOSPLIT, $32
|
||||
MOVQ $0, DI // arg 1 - clock_id
|
||||
LEAQ 8(SP), SI // arg 2 - tp
|
||||
- MOVL $232, AX // sys_clock_gettime
|
||||
+ MOVL $87, AX // sys_clock_gettime
|
||||
SYSCALL
|
||||
- MOVL 8(SP), AX // sec
|
||||
+ MOVQ 8(SP), AX // sec
|
||||
MOVQ 16(SP), DX // nsec
|
||||
|
||||
// sec is in AX, nsec in DX
|
||||
@@ -168,9 +168,9 @@ TEXT time·now(SB), NOSPLIT, $32
|
||||
TEXT runtime·nanotime(SB),NOSPLIT,$24
|
||||
MOVQ $0, DI // arg 1 - clock_id
|
||||
LEAQ 8(SP), SI // arg 2 - tp
|
||||
- MOVL $232, AX // sys_clock_gettime
|
||||
+ MOVL $87, AX // sys_clock_gettime
|
||||
SYSCALL
|
||||
- MOVL 8(SP), AX // sec
|
||||
+ MOVQ 8(SP), AX // sec
|
||||
MOVQ 16(SP), DX // nsec
|
||||
|
||||
// sec is in AX, nsec in DX
|
||||
@@ -318,7 +318,7 @@ TEXT runtime·kevent(SB),NOSPLIT,$0
|
||||
MOVQ 32(SP), R10
|
||||
MOVL 40(SP), R8
|
||||
MOVQ 48(SP), R9
|
||||
- MOVL $270, AX
|
||||
+ MOVL $72, AX
|
||||
SYSCALL
|
||||
JCC 2(PC)
|
||||
NEGQ AX
|
@ -1,25 +0,0 @@
|
||||
$OpenBSD: patch-src_pkg_syscall_route_bsd_go,v 1.1 2013/12/02 15:35:49 jsing Exp $
|
||||
--- src/pkg/syscall/route_bsd.go.orig Fri Nov 29 08:38:29 2013
|
||||
+++ src/pkg/syscall/route_bsd.go Mon Dec 2 13:06:54 2013
|
||||
@@ -199,13 +199,20 @@ func (m *InterfaceAddrMessage) sockaddr() (sas []Socka
|
||||
// ParseRoutingMessage parses b as routing messages and returns the
|
||||
// slice containing the RoutingMessage interfaces.
|
||||
func ParseRoutingMessage(b []byte) (msgs []RoutingMessage, err error) {
|
||||
+ msgCount := 0
|
||||
for len(b) >= anyMessageLen {
|
||||
+ msgCount++
|
||||
any := (*anyMessage)(unsafe.Pointer(&b[0]))
|
||||
if any.Version != RTM_VERSION {
|
||||
- return nil, EINVAL
|
||||
+ b = b[any.Msglen:]
|
||||
+ continue
|
||||
}
|
||||
msgs = append(msgs, any.toRoutingMessage(b))
|
||||
b = b[any.Msglen:]
|
||||
+ }
|
||||
+ // We failed to parse any of the messages - version mismatch?
|
||||
+ if msgCount > 0 && len(msgs) == 0 {
|
||||
+ return nil, EINVAL
|
||||
}
|
||||
return msgs, nil
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-src_pkg_syscall_syscall_openbsd_386_go,v 1.2 2013/12/02 15:35:49 jsing Exp $
|
||||
--- src/pkg/syscall/syscall_openbsd_386.go.orig Sun Aug 18 17:53:34 2013
|
||||
+++ src/pkg/syscall/syscall_openbsd_386.go Sun Aug 18 17:53:55 2013
|
||||
@@ -9,7 +9,7 @@ func Getpagesize() int { return 4096 }
|
||||
func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
|
||||
|
||||
func NsecToTimespec(nsec int64) (ts Timespec) {
|
||||
- ts.Sec = int32(nsec / 1e9)
|
||||
+ ts.Sec = int64(nsec / 1e9)
|
||||
ts.Nsec = int32(nsec % 1e9)
|
||||
return
|
||||
}
|
||||
@@ -19,7 +19,7 @@ func TimevalToNsec(tv Timeval) int64 { return int64(tv
|
||||
func NsecToTimeval(nsec int64) (tv Timeval) {
|
||||
nsec += 999 // round up to microsecond
|
||||
tv.Usec = int32(nsec % 1e9 / 1e3)
|
||||
- tv.Sec = int32(nsec / 1e9)
|
||||
+ tv.Sec = int64(nsec / 1e9)
|
||||
return
|
||||
}
|
||||
|
@ -1,27 +0,0 @@
|
||||
$OpenBSD: patch-src_pkg_syscall_syscall_openbsd_amd64_go,v 1.2 2013/12/02 15:35:49 jsing Exp $
|
||||
--- src/pkg/syscall/syscall_openbsd_amd64.go.orig Sun Aug 18 17:53:34 2013
|
||||
+++ src/pkg/syscall/syscall_openbsd_amd64.go Sun Aug 18 17:53:55 2013
|
||||
@@ -9,7 +9,7 @@ func Getpagesize() int { return 4096 }
|
||||
func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
|
||||
|
||||
func NsecToTimespec(nsec int64) (ts Timespec) {
|
||||
- ts.Sec = int32(nsec / 1e9)
|
||||
+ ts.Sec = nsec / 1e9
|
||||
ts.Nsec = nsec % 1e9
|
||||
return
|
||||
}
|
||||
@@ -19,12 +19,12 @@ func TimevalToNsec(tv Timeval) int64 { return int64(tv
|
||||
func NsecToTimeval(nsec int64) (tv Timeval) {
|
||||
nsec += 999 // round up to microsecond
|
||||
tv.Usec = nsec % 1e9 / 1e3
|
||||
- tv.Sec = int64(nsec / 1e9)
|
||||
+ tv.Sec = nsec / 1e9
|
||||
return
|
||||
}
|
||||
|
||||
func SetKevent(k *Kevent_t, fd, mode, flags int) {
|
||||
- k.Ident = uint32(fd)
|
||||
+ k.Ident = uint64(fd)
|
||||
k.Filter = int16(mode)
|
||||
k.Flags = uint16(flags)
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
$OpenBSD: patch-src_pkg_syscall_syscall_openbsd_go,v 1.2 2013/12/02 15:35:49 jsing Exp $
|
||||
--- src/pkg/syscall/syscall_openbsd.go.orig Sun Aug 18 17:53:34 2013
|
||||
+++ src/pkg/syscall/syscall_openbsd.go Sun Aug 18 17:53:55 2013
|
||||
@@ -90,6 +90,11 @@ func Pipe(p []int) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
+//sys getdents(fd int, buf []byte) (n int, err error)
|
||||
+func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
|
||||
+ return getdents(fd, buf)
|
||||
+}
|
||||
+
|
||||
// TODO
|
||||
func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
|
||||
return -1, ENOSYS
|
||||
@@ -119,7 +124,6 @@ func sendfile(outfd int, infd int, offset *int64, coun
|
||||
//sys Fstatfs(fd int, stat *Statfs_t) (err error)
|
||||
//sys Fsync(fd int) (err error)
|
||||
//sys Ftruncate(fd int, length int64) (err error)
|
||||
-//sys Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error)
|
||||
//sysnb Getegid() (egid int)
|
||||
//sysnb Geteuid() (uid int)
|
||||
//sys Getfsstat(buf []Statfs_t, flags int) (n int, err error)
|
@ -1,215 +0,0 @@
|
||||
$OpenBSD: patch-src_pkg_syscall_zerrors_openbsd_386_go,v 1.2 2013/12/02 15:35:49 jsing Exp $
|
||||
--- src/pkg/syscall/zerrors_openbsd_386.go.orig Fri Oct 18 16:13:11 2013
|
||||
+++ src/pkg/syscall/zerrors_openbsd_386.go Sat Nov 2 00:29:24 2013
|
||||
@@ -77,7 +77,7 @@ const (
|
||||
BIOCGFILDROP = 0x40044278
|
||||
BIOCGHDRCMPLT = 0x40044274
|
||||
BIOCGRSIG = 0x40044273
|
||||
- BIOCGRTIMEOUT = 0x4008426e
|
||||
+ BIOCGRTIMEOUT = 0x400c426e
|
||||
BIOCGSTATS = 0x4008426f
|
||||
BIOCIMMEDIATE = 0x80044270
|
||||
BIOCLOCK = 0x20004276
|
||||
@@ -91,7 +91,7 @@ const (
|
||||
BIOCSFILDROP = 0x80044279
|
||||
BIOCSHDRCMPLT = 0x80044275
|
||||
BIOCSRSIG = 0x80044272
|
||||
- BIOCSRTIMEOUT = 0x8008426d
|
||||
+ BIOCSRTIMEOUT = 0x800c426d
|
||||
BIOCVERSION = 0x40044271
|
||||
BPF_A = 0x10
|
||||
BPF_ABS = 0x20
|
||||
@@ -197,8 +197,6 @@ const (
|
||||
ECHONL = 0x10
|
||||
ECHOPRT = 0x20
|
||||
EMT_TAGOVF = 0x1
|
||||
- EMUL_ENABLED = 0x1
|
||||
- EMUL_NATIVE = 0x2
|
||||
ENDRUNDISC = 0x9
|
||||
ETHERMIN = 0x2e
|
||||
ETHERMTU = 0x5dc
|
||||
@@ -713,6 +711,8 @@ const (
|
||||
IPPROTO_AH = 0x33
|
||||
IPPROTO_CARP = 0x70
|
||||
IPPROTO_DIVERT = 0x102
|
||||
+ IPPROTO_DIVERT_INIT = 0x2
|
||||
+ IPPROTO_DIVERT_RESP = 0x1
|
||||
IPPROTO_DONE = 0x101
|
||||
IPPROTO_DSTOPTS = 0x3c
|
||||
IPPROTO_EGP = 0x8
|
||||
@@ -757,7 +757,6 @@ const (
|
||||
IPV6_DSTOPTS = 0x32
|
||||
IPV6_ESP_NETWORK_LEVEL = 0x37
|
||||
IPV6_ESP_TRANS_LEVEL = 0x36
|
||||
- IPV6_FAITH = 0x1d
|
||||
IPV6_FLOWINFO_MASK = 0xffffff0f
|
||||
IPV6_FLOWLABEL_MASK = 0xffff0f00
|
||||
IPV6_FRAGTTL = 0x78
|
||||
@@ -774,7 +773,6 @@ const (
|
||||
IPV6_MULTICAST_IF = 0x9
|
||||
IPV6_MULTICAST_LOOP = 0xb
|
||||
IPV6_NEXTHOP = 0x30
|
||||
- IPV6_OPTIONS = 0x1
|
||||
IPV6_PATHMTU = 0x2c
|
||||
IPV6_PIPEX = 0x3f
|
||||
IPV6_PKTINFO = 0x2e
|
||||
@@ -783,6 +781,7 @@ const (
|
||||
IPV6_PORTRANGE_HIGH = 0x1
|
||||
IPV6_PORTRANGE_LOW = 0x2
|
||||
IPV6_RECVDSTOPTS = 0x28
|
||||
+ IPV6_RECVDSTPORT = 0x40
|
||||
IPV6_RECVHOPLIMIT = 0x25
|
||||
IPV6_RECVHOPOPTS = 0x27
|
||||
IPV6_RECVPATHMTU = 0x2b
|
||||
@@ -793,9 +792,7 @@ const (
|
||||
IPV6_RTHDR = 0x33
|
||||
IPV6_RTHDRDSTOPTS = 0x23
|
||||
IPV6_RTHDR_LOOSE = 0x0
|
||||
- IPV6_RTHDR_STRICT = 0x1
|
||||
IPV6_RTHDR_TYPE_0 = 0x0
|
||||
- IPV6_SOCKOPT_RESERVED1 = 0x3
|
||||
IPV6_TCLASS = 0x3d
|
||||
IPV6_UNICAST_HOPS = 0x4
|
||||
IPV6_USE_MIN_MTU = 0x2a
|
||||
@@ -807,6 +804,7 @@ const (
|
||||
IP_DEFAULT_MULTICAST_LOOP = 0x1
|
||||
IP_DEFAULT_MULTICAST_TTL = 0x1
|
||||
IP_DF = 0x4000
|
||||
+ IP_DIVERTFL = 0x1022
|
||||
IP_DROP_MEMBERSHIP = 0xd
|
||||
IP_ESP_NETWORK_LEVEL = 0x16
|
||||
IP_ESP_TRANS_LEVEL = 0x15
|
||||
@@ -926,10 +924,10 @@ const (
|
||||
PARODD = 0x2000
|
||||
PENDIN = 0x20000000
|
||||
PF_FLUSH = 0x1
|
||||
- PT_MASK = 0x3ff000
|
||||
PRIO_PGRP = 0x1
|
||||
PRIO_PROCESS = 0x0
|
||||
PRIO_USER = 0x2
|
||||
+ PT_MASK = 0x3ff000
|
||||
RLIMIT_CORE = 0x4
|
||||
RLIMIT_CPU = 0x0
|
||||
RLIMIT_DATA = 0x2
|
||||
@@ -966,7 +964,7 @@ const (
|
||||
RTF_CLONING = 0x100
|
||||
RTF_DONE = 0x40
|
||||
RTF_DYNAMIC = 0x10
|
||||
- RTF_FMASK = 0xf808
|
||||
+ RTF_FMASK = 0x10f808
|
||||
RTF_GATEWAY = 0x2
|
||||
RTF_HOST = 0x4
|
||||
RTF_LLINFO = 0x400
|
||||
@@ -1001,7 +999,7 @@ const (
|
||||
RTM_REDIRECT = 0x6
|
||||
RTM_RESOLVE = 0xb
|
||||
RTM_RTTUNIT = 0xf4240
|
||||
- RTM_VERSION = 0x4
|
||||
+ RTM_VERSION = 0x5
|
||||
RTV_EXPIRE = 0x4
|
||||
RTV_HOPCOUNT = 0x2
|
||||
RTV_MTU = 0x1
|
||||
@@ -1027,7 +1025,7 @@ const (
|
||||
SIOCBRDGADD = 0x8054693c
|
||||
SIOCBRDGADDS = 0x80546941
|
||||
SIOCBRDGARL = 0x806e694d
|
||||
- SIOCBRDGDADDR = 0x80286947
|
||||
+ SIOCBRDGDADDR = 0x81286947
|
||||
SIOCBRDGDEL = 0x8054693d
|
||||
SIOCBRDGDELS = 0x80546942
|
||||
SIOCBRDGFLUSH = 0x80546948
|
||||
@@ -1037,14 +1035,14 @@ const (
|
||||
SIOCBRDGGHT = 0xc0146951
|
||||
SIOCBRDGGIFFLGS = 0xc054693e
|
||||
SIOCBRDGGMA = 0xc0146953
|
||||
- SIOCBRDGGPARAM = 0xc0386958
|
||||
+ SIOCBRDGGPARAM = 0xc03c6958
|
||||
SIOCBRDGGPRI = 0xc0146950
|
||||
SIOCBRDGGRL = 0xc028694f
|
||||
SIOCBRDGGSIFS = 0xc054693c
|
||||
SIOCBRDGGTO = 0xc0146946
|
||||
SIOCBRDGIFS = 0xc0546942
|
||||
SIOCBRDGRTS = 0xc0186943
|
||||
- SIOCBRDGSADDR = 0xc0286944
|
||||
+ SIOCBRDGSADDR = 0xc1286944
|
||||
SIOCBRDGSCACHE = 0x80146940
|
||||
SIOCBRDGSFD = 0x80146952
|
||||
SIOCBRDGSHT = 0x80146951
|
||||
@@ -1067,6 +1065,7 @@ const (
|
||||
SIOCGETPFSYNC = 0xc02069f8
|
||||
SIOCGETSGCNT = 0xc0147534
|
||||
SIOCGETVIFCNT = 0xc0147533
|
||||
+ SIOCGETVLAN = 0xc0206990
|
||||
SIOCGHIWAT = 0x40047301
|
||||
SIOCGIFADDR = 0xc0206921
|
||||
SIOCGIFASYNCMAP = 0xc020697c
|
||||
@@ -1077,9 +1076,9 @@ const (
|
||||
SIOCGIFDSTADDR = 0xc0206922
|
||||
SIOCGIFFLAGS = 0xc0206911
|
||||
SIOCGIFGATTR = 0xc024698b
|
||||
- SIOCGIFGENERIC = 0xc020693a
|
||||
SIOCGIFGMEMB = 0xc024698a
|
||||
SIOCGIFGROUP = 0xc0246988
|
||||
+ SIOCGIFHARDMTU = 0xc02069a5
|
||||
SIOCGIFMEDIA = 0xc0286936
|
||||
SIOCGIFMETRIC = 0xc0206917
|
||||
SIOCGIFMTU = 0xc020697e
|
||||
@@ -1094,9 +1093,12 @@ const (
|
||||
SIOCGLIFADDR = 0xc218691d
|
||||
SIOCGLIFPHYADDR = 0xc218694b
|
||||
SIOCGLIFPHYRTABLE = 0xc02069a2
|
||||
+ SIOCGLIFPHYTTL = 0xc02069a9
|
||||
SIOCGLOWAT = 0x40047303
|
||||
SIOCGPGRP = 0x40047309
|
||||
+ SIOCGSPPPPARAMS = 0xc0206994
|
||||
SIOCGVH = 0xc02069f6
|
||||
+ SIOCGVNETID = 0xc02069a7
|
||||
SIOCIFCREATE = 0x8020697a
|
||||
SIOCIFDESTROY = 0x80206979
|
||||
SIOCIFGCLONERS = 0xc00c6978
|
||||
@@ -1104,6 +1106,7 @@ const (
|
||||
SIOCSETLABEL = 0x80206999
|
||||
SIOCSETPFLOW = 0x802069fd
|
||||
SIOCSETPFSYNC = 0x802069f7
|
||||
+ SIOCSETVLAN = 0x8020698f
|
||||
SIOCSHIWAT = 0x80047300
|
||||
SIOCSIFADDR = 0x8020690c
|
||||
SIOCSIFASYNCMAP = 0x8020697d
|
||||
@@ -1112,7 +1115,6 @@ const (
|
||||
SIOCSIFDSTADDR = 0x8020690e
|
||||
SIOCSIFFLAGS = 0x80206910
|
||||
SIOCSIFGATTR = 0x8024698c
|
||||
- SIOCSIFGENERIC = 0x80206939
|
||||
SIOCSIFLLADDR = 0x8020691f
|
||||
SIOCSIFMEDIA = 0xc0206935
|
||||
SIOCSIFMETRIC = 0x80206918
|
||||
@@ -1126,9 +1128,12 @@ const (
|
||||
SIOCSIFXFLAGS = 0x8020699d
|
||||
SIOCSLIFPHYADDR = 0x8218694a
|
||||
SIOCSLIFPHYRTABLE = 0x802069a1
|
||||
+ SIOCSLIFPHYTTL = 0x802069a8
|
||||
SIOCSLOWAT = 0x80047302
|
||||
SIOCSPGRP = 0x80047308
|
||||
+ SIOCSSPPPPARAMS = 0x80206993
|
||||
SIOCSVH = 0xc02069f5
|
||||
+ SIOCSVNETID = 0x802069a6
|
||||
SOCK_DGRAM = 0x2
|
||||
SOCK_RAW = 0x3
|
||||
SOCK_RDM = 0x4
|
||||
@@ -1171,6 +1176,7 @@ const (
|
||||
TCP_MD5SIG = 0x4
|
||||
TCP_MSS = 0x200
|
||||
TCP_NODELAY = 0x1
|
||||
+ TCP_NOPUSH = 0x10
|
||||
TCP_NSTATES = 0xb
|
||||
TCP_SACK_ENABLE = 0x8
|
||||
TCSAFLUSH = 0x2
|
||||
@@ -1190,7 +1196,7 @@ const (
|
||||
TIOCGETD = 0x4004741a
|
||||
TIOCGFLAGS = 0x4004745d
|
||||
TIOCGPGRP = 0x40047477
|
||||
- TIOCGTSTAMP = 0x4008745b
|
||||
+ TIOCGTSTAMP = 0x400c745b
|
||||
TIOCGWINSZ = 0x40087468
|
||||
TIOCMBIC = 0x8004746b
|
||||
TIOCMBIS = 0x8004746c
|
@ -1,192 +0,0 @@
|
||||
$OpenBSD: patch-src_pkg_syscall_zerrors_openbsd_amd64_go,v 1.2 2013/12/02 15:35:49 jsing Exp $
|
||||
--- src/pkg/syscall/zerrors_openbsd_amd64.go.orig Fri Oct 18 16:13:11 2013
|
||||
+++ src/pkg/syscall/zerrors_openbsd_amd64.go Sat Nov 2 00:29:24 2013
|
||||
@@ -140,10 +140,8 @@ const (
|
||||
BPF_W = 0x0
|
||||
BPF_X = 0x8
|
||||
BRKINT = 0x2
|
||||
- CCR0_FLUSH = 0x10
|
||||
CFLUSH = 0xf
|
||||
CLOCAL = 0x8000
|
||||
- CPUID_CFLUSH = 0x80000
|
||||
CREAD = 0x800
|
||||
CS5 = 0x0
|
||||
CS6 = 0x100
|
||||
@@ -198,13 +196,7 @@ const (
|
||||
ECHOKE = 0x1
|
||||
ECHONL = 0x10
|
||||
ECHOPRT = 0x20
|
||||
- EFER_LMA = 0x400
|
||||
- EFER_LME = 0x100
|
||||
- EFER_NXE = 0x800
|
||||
- EFER_SCE = 0x1
|
||||
EMT_TAGOVF = 0x1
|
||||
- EMUL_ENABLED = 0x1
|
||||
- EMUL_NATIVE = 0x2
|
||||
ENDRUNDISC = 0x9
|
||||
ETHERMIN = 0x2e
|
||||
ETHERMTU = 0x5dc
|
||||
@@ -719,6 +711,8 @@ const (
|
||||
IPPROTO_AH = 0x33
|
||||
IPPROTO_CARP = 0x70
|
||||
IPPROTO_DIVERT = 0x102
|
||||
+ IPPROTO_DIVERT_INIT = 0x2
|
||||
+ IPPROTO_DIVERT_RESP = 0x1
|
||||
IPPROTO_DONE = 0x101
|
||||
IPPROTO_DSTOPTS = 0x3c
|
||||
IPPROTO_EGP = 0x8
|
||||
@@ -763,7 +757,6 @@ const (
|
||||
IPV6_DSTOPTS = 0x32
|
||||
IPV6_ESP_NETWORK_LEVEL = 0x37
|
||||
IPV6_ESP_TRANS_LEVEL = 0x36
|
||||
- IPV6_FAITH = 0x1d
|
||||
IPV6_FLOWINFO_MASK = 0xffffff0f
|
||||
IPV6_FLOWLABEL_MASK = 0xffff0f00
|
||||
IPV6_FRAGTTL = 0x78
|
||||
@@ -780,7 +773,6 @@ const (
|
||||
IPV6_MULTICAST_IF = 0x9
|
||||
IPV6_MULTICAST_LOOP = 0xb
|
||||
IPV6_NEXTHOP = 0x30
|
||||
- IPV6_OPTIONS = 0x1
|
||||
IPV6_PATHMTU = 0x2c
|
||||
IPV6_PIPEX = 0x3f
|
||||
IPV6_PKTINFO = 0x2e
|
||||
@@ -789,6 +781,7 @@ const (
|
||||
IPV6_PORTRANGE_HIGH = 0x1
|
||||
IPV6_PORTRANGE_LOW = 0x2
|
||||
IPV6_RECVDSTOPTS = 0x28
|
||||
+ IPV6_RECVDSTPORT = 0x40
|
||||
IPV6_RECVHOPLIMIT = 0x25
|
||||
IPV6_RECVHOPOPTS = 0x27
|
||||
IPV6_RECVPATHMTU = 0x2b
|
||||
@@ -799,9 +792,7 @@ const (
|
||||
IPV6_RTHDR = 0x33
|
||||
IPV6_RTHDRDSTOPTS = 0x23
|
||||
IPV6_RTHDR_LOOSE = 0x0
|
||||
- IPV6_RTHDR_STRICT = 0x1
|
||||
IPV6_RTHDR_TYPE_0 = 0x0
|
||||
- IPV6_SOCKOPT_RESERVED1 = 0x3
|
||||
IPV6_TCLASS = 0x3d
|
||||
IPV6_UNICAST_HOPS = 0x4
|
||||
IPV6_USE_MIN_MTU = 0x2a
|
||||
@@ -813,6 +804,7 @@ const (
|
||||
IP_DEFAULT_MULTICAST_LOOP = 0x1
|
||||
IP_DEFAULT_MULTICAST_TTL = 0x1
|
||||
IP_DF = 0x4000
|
||||
+ IP_DIVERTFL = 0x1022
|
||||
IP_DROP_MEMBERSHIP = 0xd
|
||||
IP_ESP_NETWORK_LEVEL = 0x16
|
||||
IP_ESP_TRANS_LEVEL = 0x15
|
||||
@@ -932,7 +924,6 @@ const (
|
||||
PARODD = 0x2000
|
||||
PENDIN = 0x20000000
|
||||
PF_FLUSH = 0x1
|
||||
- PMC5_PIPELINE_FLUSH = 0x15
|
||||
PRIO_PGRP = 0x1
|
||||
PRIO_PROCESS = 0x0
|
||||
PRIO_USER = 0x2
|
||||
@@ -972,7 +963,7 @@ const (
|
||||
RTF_CLONING = 0x100
|
||||
RTF_DONE = 0x40
|
||||
RTF_DYNAMIC = 0x10
|
||||
- RTF_FMASK = 0xf808
|
||||
+ RTF_FMASK = 0x10f808
|
||||
RTF_GATEWAY = 0x2
|
||||
RTF_HOST = 0x4
|
||||
RTF_LLINFO = 0x400
|
||||
@@ -1007,7 +998,7 @@ const (
|
||||
RTM_REDIRECT = 0x6
|
||||
RTM_RESOLVE = 0xb
|
||||
RTM_RTTUNIT = 0xf4240
|
||||
- RTM_VERSION = 0x4
|
||||
+ RTM_VERSION = 0x5
|
||||
RTV_EXPIRE = 0x4
|
||||
RTV_HOPCOUNT = 0x2
|
||||
RTV_MTU = 0x1
|
||||
@@ -1033,7 +1024,7 @@ const (
|
||||
SIOCBRDGADD = 0x8058693c
|
||||
SIOCBRDGADDS = 0x80586941
|
||||
SIOCBRDGARL = 0x806e694d
|
||||
- SIOCBRDGDADDR = 0x80286947
|
||||
+ SIOCBRDGDADDR = 0x81286947
|
||||
SIOCBRDGDEL = 0x8058693d
|
||||
SIOCBRDGDELS = 0x80586942
|
||||
SIOCBRDGFLUSH = 0x80586948
|
||||
@@ -1050,7 +1041,7 @@ const (
|
||||
SIOCBRDGGTO = 0xc0146946
|
||||
SIOCBRDGIFS = 0xc0586942
|
||||
SIOCBRDGRTS = 0xc0206943
|
||||
- SIOCBRDGSADDR = 0xc0286944
|
||||
+ SIOCBRDGSADDR = 0xc1286944
|
||||
SIOCBRDGSCACHE = 0x80146940
|
||||
SIOCBRDGSFD = 0x80146952
|
||||
SIOCBRDGSHT = 0x80146951
|
||||
@@ -1073,6 +1064,7 @@ const (
|
||||
SIOCGETPFSYNC = 0xc02069f8
|
||||
SIOCGETSGCNT = 0xc0207534
|
||||
SIOCGETVIFCNT = 0xc0287533
|
||||
+ SIOCGETVLAN = 0xc0206990
|
||||
SIOCGHIWAT = 0x40047301
|
||||
SIOCGIFADDR = 0xc0206921
|
||||
SIOCGIFASYNCMAP = 0xc020697c
|
||||
@@ -1083,9 +1075,9 @@ const (
|
||||
SIOCGIFDSTADDR = 0xc0206922
|
||||
SIOCGIFFLAGS = 0xc0206911
|
||||
SIOCGIFGATTR = 0xc028698b
|
||||
- SIOCGIFGENERIC = 0xc020693a
|
||||
SIOCGIFGMEMB = 0xc028698a
|
||||
SIOCGIFGROUP = 0xc0286988
|
||||
+ SIOCGIFHARDMTU = 0xc02069a5
|
||||
SIOCGIFMEDIA = 0xc0306936
|
||||
SIOCGIFMETRIC = 0xc0206917
|
||||
SIOCGIFMTU = 0xc020697e
|
||||
@@ -1100,9 +1092,12 @@ const (
|
||||
SIOCGLIFADDR = 0xc218691d
|
||||
SIOCGLIFPHYADDR = 0xc218694b
|
||||
SIOCGLIFPHYRTABLE = 0xc02069a2
|
||||
+ SIOCGLIFPHYTTL = 0xc02069a9
|
||||
SIOCGLOWAT = 0x40047303
|
||||
SIOCGPGRP = 0x40047309
|
||||
+ SIOCGSPPPPARAMS = 0xc0206994
|
||||
SIOCGVH = 0xc02069f6
|
||||
+ SIOCGVNETID = 0xc02069a7
|
||||
SIOCIFCREATE = 0x8020697a
|
||||
SIOCIFDESTROY = 0x80206979
|
||||
SIOCIFGCLONERS = 0xc0106978
|
||||
@@ -1110,6 +1105,7 @@ const (
|
||||
SIOCSETLABEL = 0x80206999
|
||||
SIOCSETPFLOW = 0x802069fd
|
||||
SIOCSETPFSYNC = 0x802069f7
|
||||
+ SIOCSETVLAN = 0x8020698f
|
||||
SIOCSHIWAT = 0x80047300
|
||||
SIOCSIFADDR = 0x8020690c
|
||||
SIOCSIFASYNCMAP = 0x8020697d
|
||||
@@ -1118,7 +1114,6 @@ const (
|
||||
SIOCSIFDSTADDR = 0x8020690e
|
||||
SIOCSIFFLAGS = 0x80206910
|
||||
SIOCSIFGATTR = 0x8028698c
|
||||
- SIOCSIFGENERIC = 0x80206939
|
||||
SIOCSIFLLADDR = 0x8020691f
|
||||
SIOCSIFMEDIA = 0xc0206935
|
||||
SIOCSIFMETRIC = 0x80206918
|
||||
@@ -1132,9 +1127,12 @@ const (
|
||||
SIOCSIFXFLAGS = 0x8020699d
|
||||
SIOCSLIFPHYADDR = 0x8218694a
|
||||
SIOCSLIFPHYRTABLE = 0x802069a1
|
||||
+ SIOCSLIFPHYTTL = 0x802069a8
|
||||
SIOCSLOWAT = 0x80047302
|
||||
SIOCSPGRP = 0x80047308
|
||||
+ SIOCSSPPPPARAMS = 0x80206993
|
||||
SIOCSVH = 0xc02069f5
|
||||
+ SIOCSVNETID = 0x802069a6
|
||||
SOCK_DGRAM = 0x2
|
||||
SOCK_RAW = 0x3
|
||||
SOCK_RDM = 0x4
|
||||
@@ -1177,6 +1175,7 @@ const (
|
||||
TCP_MD5SIG = 0x4
|
||||
TCP_MSS = 0x200
|
||||
TCP_NODELAY = 0x1
|
||||
+ TCP_NOPUSH = 0x10
|
||||
TCP_NSTATES = 0xb
|
||||
TCP_SACK_ENABLE = 0x8
|
||||
TCSAFLUSH = 0x2
|
@ -1,51 +0,0 @@
|
||||
$OpenBSD: patch-src_pkg_syscall_zsyscall_openbsd_386_go,v 1.2 2013/12/02 15:35:49 jsing Exp $
|
||||
--- src/pkg/syscall/zsyscall_openbsd_386.go.orig Sun Aug 18 17:53:34 2013
|
||||
+++ src/pkg/syscall/zsyscall_openbsd_386.go Sun Aug 18 17:53:55 2013
|
||||
@@ -268,6 +268,23 @@ func pipe(p *[2]_C_int) (err error) {
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
+func getdents(fd int, buf []byte) (n int, err error) {
|
||||
+ var _p0 unsafe.Pointer
|
||||
+ if len(buf) > 0 {
|
||||
+ _p0 = unsafe.Pointer(&buf[0])
|
||||
+ } else {
|
||||
+ _p0 = unsafe.Pointer(&_zero)
|
||||
+ }
|
||||
+ r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
|
||||
+ n = int(r0)
|
||||
+ if e1 != 0 {
|
||||
+ err = e1
|
||||
+ }
|
||||
+ return
|
||||
+}
|
||||
+
|
||||
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
+
|
||||
func Access(path string, mode uint32) (err error) {
|
||||
var _p0 *byte
|
||||
_p0, err = BytePtrFromString(path)
|
||||
@@ -499,23 +516,6 @@ func Fsync(fd int) (err error) {
|
||||
|
||||
func Ftruncate(fd int, length int64) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length), uintptr(length>>32), 0, 0)
|
||||
- if e1 != 0 {
|
||||
- err = e1
|
||||
- }
|
||||
- return
|
||||
-}
|
||||
-
|
||||
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
-
|
||||
-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
|
||||
- var _p0 unsafe.Pointer
|
||||
- if len(buf) > 0 {
|
||||
- _p0 = unsafe.Pointer(&buf[0])
|
||||
- } else {
|
||||
- _p0 = unsafe.Pointer(&_zero)
|
||||
- }
|
||||
- r0, _, e1 := Syscall6(SYS_GETDIRENTRIES, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
|
||||
- n = int(r0)
|
||||
if e1 != 0 {
|
||||
err = e1
|
||||
}
|
@ -1,51 +0,0 @@
|
||||
$OpenBSD: patch-src_pkg_syscall_zsyscall_openbsd_amd64_go,v 1.2 2013/12/02 15:35:49 jsing Exp $
|
||||
--- src/pkg/syscall/zsyscall_openbsd_amd64.go.orig Sun Aug 18 17:53:34 2013
|
||||
+++ src/pkg/syscall/zsyscall_openbsd_amd64.go Sun Aug 18 17:53:55 2013
|
||||
@@ -268,6 +268,23 @@ func pipe(p *[2]_C_int) (err error) {
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
+func getdents(fd int, buf []byte) (n int, err error) {
|
||||
+ var _p0 unsafe.Pointer
|
||||
+ if len(buf) > 0 {
|
||||
+ _p0 = unsafe.Pointer(&buf[0])
|
||||
+ } else {
|
||||
+ _p0 = unsafe.Pointer(&_zero)
|
||||
+ }
|
||||
+ r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
|
||||
+ n = int(r0)
|
||||
+ if e1 != 0 {
|
||||
+ err = e1
|
||||
+ }
|
||||
+ return
|
||||
+}
|
||||
+
|
||||
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
+
|
||||
func Access(path string, mode uint32) (err error) {
|
||||
var _p0 *byte
|
||||
_p0, err = BytePtrFromString(path)
|
||||
@@ -499,23 +516,6 @@ func Fsync(fd int) (err error) {
|
||||
|
||||
func Ftruncate(fd int, length int64) (err error) {
|
||||
_, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length))
|
||||
- if e1 != 0 {
|
||||
- err = e1
|
||||
- }
|
||||
- return
|
||||
-}
|
||||
-
|
||||
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
-
|
||||
-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
|
||||
- var _p0 unsafe.Pointer
|
||||
- if len(buf) > 0 {
|
||||
- _p0 = unsafe.Pointer(&buf[0])
|
||||
- } else {
|
||||
- _p0 = unsafe.Pointer(&_zero)
|
||||
- }
|
||||
- r0, _, e1 := Syscall6(SYS_GETDIRENTRIES, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
|
||||
- n = int(r0)
|
||||
if e1 != 0 {
|
||||
err = e1
|
||||
}
|
@ -1,66 +0,0 @@
|
||||
$OpenBSD: patch-src_pkg_syscall_zsysctl_openbsd_go,v 1.2 2013/12/02 15:35:49 jsing Exp $
|
||||
--- src/pkg/syscall/zsysctl_openbsd.go.orig Fri Oct 18 16:13:11 2013
|
||||
+++ src/pkg/syscall/zsysctl_openbsd.go Sat Nov 2 00:29:24 2013
|
||||
@@ -48,8 +48,7 @@ var sysctlMib = []mibentry{
|
||||
{"kern.cp_time2", []_C_int{1, 71}},
|
||||
{"kern.cryptodevallowsoft", []_C_int{1, 53}},
|
||||
{"kern.domainname", []_C_int{1, 22}},
|
||||
- {"kern.file", []_C_int{1, 15}},
|
||||
- {"kern.file2", []_C_int{1, 73}},
|
||||
+ {"kern.file", []_C_int{1, 73}},
|
||||
{"kern.forkstat", []_C_int{1, 42}},
|
||||
{"kern.fscale", []_C_int{1, 46}},
|
||||
{"kern.fsync", []_C_int{1, 33}},
|
||||
@@ -87,7 +86,6 @@ var sysctlMib = []mibentry{
|
||||
{"kern.proc", []_C_int{1, 66}},
|
||||
{"kern.random", []_C_int{1, 31}},
|
||||
{"kern.rawpartition", []_C_int{1, 24}},
|
||||
- {"kern.rthreads", []_C_int{1, 74}},
|
||||
{"kern.saved_ids", []_C_int{1, 20}},
|
||||
{"kern.securelevel", []_C_int{1, 9}},
|
||||
{"kern.seminfo", []_C_int{1, 61}},
|
||||
@@ -226,8 +224,6 @@ var sysctlMib = []mibentry{
|
||||
{"net.inet6.ip6.forwsrcrt", []_C_int{4, 24, 17, 5}},
|
||||
{"net.inet6.ip6.hdrnestlimit", []_C_int{4, 24, 17, 15}},
|
||||
{"net.inet6.ip6.hlim", []_C_int{4, 24, 17, 3}},
|
||||
- {"net.inet6.ip6.kame_version", []_C_int{4, 24, 17, 20}},
|
||||
- {"net.inet6.ip6.keepfaith", []_C_int{4, 24, 17, 13}},
|
||||
{"net.inet6.ip6.log_interval", []_C_int{4, 24, 17, 14}},
|
||||
{"net.inet6.ip6.maxdynroutes", []_C_int{4, 24, 17, 48}},
|
||||
{"net.inet6.ip6.maxfragpackets", []_C_int{4, 24, 17, 9}},
|
||||
@@ -236,7 +232,7 @@ var sysctlMib = []mibentry{
|
||||
{"net.inet6.ip6.maxifprefixes", []_C_int{4, 24, 17, 46}},
|
||||
{"net.inet6.ip6.mforwarding", []_C_int{4, 24, 17, 42}},
|
||||
{"net.inet6.ip6.mrtproto", []_C_int{4, 24, 17, 8}},
|
||||
- {"net.inet6.ip6.mtu", []_C_int{4, 24, 17, 4}},
|
||||
+ {"net.inet6.ip6.mtudisctimeout", []_C_int{4, 24, 17, 50}},
|
||||
{"net.inet6.ip6.multicast_mtudisc", []_C_int{4, 24, 17, 44}},
|
||||
{"net.inet6.ip6.multipath", []_C_int{4, 24, 17, 43}},
|
||||
{"net.inet6.ip6.neighborgcthresh", []_C_int{4, 24, 17, 45}},
|
||||
@@ -258,26 +254,6 @@ var sysctlMib = []mibentry{
|
||||
{"net.mpls.ttl", []_C_int{4, 33, 2}},
|
||||
{"net.pflow.stats", []_C_int{4, 34, 1}},
|
||||
{"net.pipex.enable", []_C_int{4, 35, 1}},
|
||||
- {"user.bc_base_max", []_C_int{8, 2}},
|
||||
- {"user.bc_dim_max", []_C_int{8, 3}},
|
||||
- {"user.bc_scale_max", []_C_int{8, 4}},
|
||||
- {"user.bc_string_max", []_C_int{8, 5}},
|
||||
- {"user.coll_weights_max", []_C_int{8, 6}},
|
||||
- {"user.cs_path", []_C_int{8, 1}},
|
||||
- {"user.expr_nest_max", []_C_int{8, 7}},
|
||||
- {"user.line_max", []_C_int{8, 8}},
|
||||
- {"user.posix2_c_bind", []_C_int{8, 11}},
|
||||
- {"user.posix2_c_dev", []_C_int{8, 12}},
|
||||
- {"user.posix2_char_term", []_C_int{8, 13}},
|
||||
- {"user.posix2_fort_dev", []_C_int{8, 14}},
|
||||
- {"user.posix2_fort_run", []_C_int{8, 15}},
|
||||
- {"user.posix2_localedef", []_C_int{8, 16}},
|
||||
- {"user.posix2_sw_dev", []_C_int{8, 17}},
|
||||
- {"user.posix2_upe", []_C_int{8, 18}},
|
||||
- {"user.posix2_version", []_C_int{8, 10}},
|
||||
- {"user.re_dup_max", []_C_int{8, 9}},
|
||||
- {"user.stream_max", []_C_int{8, 19}},
|
||||
- {"user.tzname_max", []_C_int{8, 20}},
|
||||
{"vm.anonmin", []_C_int{2, 7}},
|
||||
{"vm.loadavg", []_C_int{2, 2}},
|
||||
{"vm.maxslp", []_C_int{2, 10}},
|
@ -1,184 +0,0 @@
|
||||
$OpenBSD: patch-src_pkg_syscall_zsysnum_openbsd_386_go,v 1.2 2013/12/02 15:35:49 jsing Exp $
|
||||
--- src/pkg/syscall/zsysnum_openbsd_386.go.orig Sun Aug 18 17:53:34 2013
|
||||
+++ src/pkg/syscall/zsysnum_openbsd_386.go Sun Aug 18 17:53:55 2013
|
||||
@@ -10,10 +10,10 @@ const (
|
||||
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___TFORK = 8 // { int sys___tfork(const struct __tfork *param, \
|
||||
SYS_LINK = 9 // { int sys_link(const char *path, const char *link); }
|
||||
SYS_UNLINK = 10 // { int sys_unlink(const char *path); }
|
||||
+ SYS_WAIT4 = 11 // { pid_t sys_wait4(pid_t pid, int *status, \
|
||||
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, \
|
||||
@@ -21,6 +21,7 @@ const (
|
||||
SYS_CHOWN = 16 // { int sys_chown(const char *path, uid_t uid, \
|
||||
SYS_OBREAK = 17 // { int sys_obreak(char *nsize); } break
|
||||
SYS_GETDTABLECOUNT = 18 // { int sys_getdtablecount(void); }
|
||||
+ SYS_GETRUSAGE = 19 // { int sys_getrusage(int who, \
|
||||
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); }
|
||||
@@ -39,8 +40,11 @@ const (
|
||||
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_STAT = 38 // { int sys_stat(const char *path, struct stat *ub); }
|
||||
SYS_GETPPID = 39 // { pid_t sys_getppid(void); }
|
||||
+ SYS_LSTAT = 40 // { int sys_lstat(const char *path, struct stat *ub); }
|
||||
SYS_DUP = 41 // { int sys_dup(int fd); }
|
||||
+ SYS_FSTATAT = 42 // { int sys_fstatat(int fd, const char *path, \
|
||||
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, \
|
||||
@@ -51,6 +55,7 @@ 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_FSTAT = 53 // { int sys_fstat(int fd, struct stat *sb); }
|
||||
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,36 +64,52 @@ const (
|
||||
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_GETFSSTAT = 62 // { int sys_getfsstat(struct statfs *buf, size_t bufsize, \
|
||||
+ SYS_STATFS = 63 // { int sys_statfs(const char *path, \
|
||||
+ SYS_FSTATFS = 64 // { int sys_fstatfs(int fd, struct statfs *buf); }
|
||||
+ SYS_FHSTATFS = 65 // { int sys_fhstatfs(const fhandle_t *fhp, \
|
||||
SYS_VFORK = 66 // { int sys_vfork(void); }
|
||||
+ SYS_GETTIMEOFDAY = 67 // { int sys_gettimeofday(struct timeval *tp, \
|
||||
+ SYS_SETTIMEOFDAY = 68 // { int sys_settimeofday(const struct timeval *tv, \
|
||||
+ SYS_SETITIMER = 69 // { int sys_setitimer(int which, \
|
||||
+ SYS_GETITIMER = 70 // { int sys_getitimer(int which, \
|
||||
+ SYS_SELECT = 71 // { int sys_select(int nd, fd_set *in, fd_set *ou, \
|
||||
+ SYS_KEVENT = 72 // { int sys_kevent(int fd, \
|
||||
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_UTIMES = 76 // { int sys_utimes(const char *path, \
|
||||
+ SYS_FUTIMES = 77 // { int sys_futimes(int fd, \
|
||||
SYS_MINCORE = 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_SETITIMER = 83 // { int sys_setitimer(int which, \
|
||||
- SYS_GETITIMER = 86 // { int sys_getitimer(int which, \
|
||||
+ SYS_UTIMENSAT = 84 // { int sys_utimensat(int fd, const char *path, \
|
||||
+ SYS_FUTIMENS = 85 // { int sys_futimens(int fd, \
|
||||
+ SYS_CLOCK_GETTIME = 87 // { int sys_clock_gettime(clockid_t clock_id, \
|
||||
+ SYS_CLOCK_SETTIME = 88 // { int sys_clock_settime(clockid_t clock_id, \
|
||||
+ SYS_CLOCK_GETRES = 89 // { int sys_clock_getres(clockid_t clock_id, \
|
||||
SYS_DUP2 = 90 // { int sys_dup2(int from, int to); }
|
||||
+ SYS_NANOSLEEP = 91 // { int sys_nanosleep(const struct timespec *rqtp, \
|
||||
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___THRSLEEP = 94 // { int sys___thrsleep(const volatile void *ident, \
|
||||
SYS_FSYNC = 95 // { int sys_fsync(int fd); }
|
||||
SYS_SETPRIORITY = 96 // { int sys_setpriority(int which, id_t who, int prio); }
|
||||
SYS_SOCKET = 97 // { int sys_socket(int domain, int type, int protocol); }
|
||||
SYS_CONNECT = 98 // { int sys_connect(int s, const struct sockaddr *name, \
|
||||
+ SYS_GETDENTS = 99 // { int sys_getdents(int fd, void *buf, size_t buflen); }
|
||||
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_PPOLL = 109 // { int sys_ppoll(struct pollfd *fds, \
|
||||
+ SYS_PSELECT = 110 // { int sys_pselect(int nd, fd_set *in, fd_set *ou, \
|
||||
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_SETREUID = 126 // { int sys_setreuid(uid_t ruid, uid_t euid); }
|
||||
@@ -101,7 +122,6 @@ const (
|
||||
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, \
|
||||
@@ -122,21 +142,17 @@ const (
|
||||
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___SYSCTL = 202 // { int sys___sysctl(const 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_UTRACE = 209 // { int sys_utrace(const char *label, const void *addr, \
|
||||
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_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_POLL = 252 // { int sys_poll(struct pollfd *fds, \
|
||||
SYS_ISSETUGID = 253 // { int sys_issetugid(void); }
|
||||
@@ -148,7 +164,6 @@ const (
|
||||
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, \
|
||||
@@ -160,32 +175,22 @@ const (
|
||||
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 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(const volatile void *ident, \
|
||||
SYS___THRWAKEUP = 301 // { int sys___thrwakeup(const volatile void *ident, \
|
||||
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_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_FACCESSAT = 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_mkdirat(int fd, const char *path, \
|
||||
SYS_MKFIFOAT = 319 // { int sys_mkfifoat(int fd, const char *path, \
|
||||
@@ -195,8 +200,6 @@ const (
|
||||
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_FUTIMENS = 327 // { int sys_futimens(int fd, \
|
||||
SYS___SET_TCB = 329 // { void sys___set_tcb(void *tcb); }
|
||||
SYS___GET_TCB = 330 // { void *sys___get_tcb(void); }
|
||||
)
|
@ -1,184 +0,0 @@
|
||||
$OpenBSD: patch-src_pkg_syscall_zsysnum_openbsd_amd64_go,v 1.2 2013/12/02 15:35:49 jsing Exp $
|
||||
--- src/pkg/syscall/zsysnum_openbsd_amd64.go.orig Sun Aug 18 17:53:34 2013
|
||||
+++ src/pkg/syscall/zsysnum_openbsd_amd64.go Sun Aug 18 17:53:55 2013
|
||||
@@ -10,10 +10,10 @@ const (
|
||||
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___TFORK = 8 // { int sys___tfork(const struct __tfork *param, \
|
||||
SYS_LINK = 9 // { int sys_link(const char *path, const char *link); }
|
||||
SYS_UNLINK = 10 // { int sys_unlink(const char *path); }
|
||||
+ SYS_WAIT4 = 11 // { pid_t sys_wait4(pid_t pid, int *status, \
|
||||
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, \
|
||||
@@ -21,6 +21,7 @@ const (
|
||||
SYS_CHOWN = 16 // { int sys_chown(const char *path, uid_t uid, \
|
||||
SYS_OBREAK = 17 // { int sys_obreak(char *nsize); } break
|
||||
SYS_GETDTABLECOUNT = 18 // { int sys_getdtablecount(void); }
|
||||
+ SYS_GETRUSAGE = 19 // { int sys_getrusage(int who, \
|
||||
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); }
|
||||
@@ -39,8 +40,11 @@ const (
|
||||
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_STAT = 38 // { int sys_stat(const char *path, struct stat *ub); }
|
||||
SYS_GETPPID = 39 // { pid_t sys_getppid(void); }
|
||||
+ SYS_LSTAT = 40 // { int sys_lstat(const char *path, struct stat *ub); }
|
||||
SYS_DUP = 41 // { int sys_dup(int fd); }
|
||||
+ SYS_FSTATAT = 42 // { int sys_fstatat(int fd, const char *path, \
|
||||
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, \
|
||||
@@ -51,6 +55,7 @@ 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_FSTAT = 53 // { int sys_fstat(int fd, struct stat *sb); }
|
||||
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,36 +64,52 @@ const (
|
||||
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_GETFSSTAT = 62 // { int sys_getfsstat(struct statfs *buf, size_t bufsize, \
|
||||
+ SYS_STATFS = 63 // { int sys_statfs(const char *path, \
|
||||
+ SYS_FSTATFS = 64 // { int sys_fstatfs(int fd, struct statfs *buf); }
|
||||
+ SYS_FHSTATFS = 65 // { int sys_fhstatfs(const fhandle_t *fhp, \
|
||||
SYS_VFORK = 66 // { int sys_vfork(void); }
|
||||
+ SYS_GETTIMEOFDAY = 67 // { int sys_gettimeofday(struct timeval *tp, \
|
||||
+ SYS_SETTIMEOFDAY = 68 // { int sys_settimeofday(const struct timeval *tv, \
|
||||
+ SYS_SETITIMER = 69 // { int sys_setitimer(int which, \
|
||||
+ SYS_GETITIMER = 70 // { int sys_getitimer(int which, \
|
||||
+ SYS_SELECT = 71 // { int sys_select(int nd, fd_set *in, fd_set *ou, \
|
||||
+ SYS_KEVENT = 72 // { int sys_kevent(int fd, \
|
||||
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_UTIMES = 76 // { int sys_utimes(const char *path, \
|
||||
+ SYS_FUTIMES = 77 // { int sys_futimes(int fd, \
|
||||
SYS_MINCORE = 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_SETITIMER = 83 // { int sys_setitimer(int which, \
|
||||
- SYS_GETITIMER = 86 // { int sys_getitimer(int which, \
|
||||
+ SYS_UTIMENSAT = 84 // { int sys_utimensat(int fd, const char *path, \
|
||||
+ SYS_FUTIMENS = 85 // { int sys_futimens(int fd, \
|
||||
+ SYS_CLOCK_GETTIME = 87 // { int sys_clock_gettime(clockid_t clock_id, \
|
||||
+ SYS_CLOCK_SETTIME = 88 // { int sys_clock_settime(clockid_t clock_id, \
|
||||
+ SYS_CLOCK_GETRES = 89 // { int sys_clock_getres(clockid_t clock_id, \
|
||||
SYS_DUP2 = 90 // { int sys_dup2(int from, int to); }
|
||||
+ SYS_NANOSLEEP = 91 // { int sys_nanosleep(const struct timespec *rqtp, \
|
||||
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___THRSLEEP = 94 // { int sys___thrsleep(const volatile void *ident, \
|
||||
SYS_FSYNC = 95 // { int sys_fsync(int fd); }
|
||||
SYS_SETPRIORITY = 96 // { int sys_setpriority(int which, id_t who, int prio); }
|
||||
SYS_SOCKET = 97 // { int sys_socket(int domain, int type, int protocol); }
|
||||
SYS_CONNECT = 98 // { int sys_connect(int s, const struct sockaddr *name, \
|
||||
+ SYS_GETDENTS = 99 // { int sys_getdents(int fd, void *buf, size_t buflen); }
|
||||
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_PPOLL = 109 // { int sys_ppoll(struct pollfd *fds, \
|
||||
+ SYS_PSELECT = 110 // { int sys_pselect(int nd, fd_set *in, fd_set *ou, \
|
||||
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_SETREUID = 126 // { int sys_setreuid(uid_t ruid, uid_t euid); }
|
||||
@@ -101,7 +122,6 @@ const (
|
||||
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, \
|
||||
@@ -122,21 +142,17 @@ const (
|
||||
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___SYSCTL = 202 // { int sys___sysctl(const 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_UTRACE = 209 // { int sys_utrace(const char *label, const void *addr, \
|
||||
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_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_POLL = 252 // { int sys_poll(struct pollfd *fds, \
|
||||
SYS_ISSETUGID = 253 // { int sys_issetugid(void); }
|
||||
@@ -148,7 +164,6 @@ const (
|
||||
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, \
|
||||
@@ -160,32 +175,22 @@ const (
|
||||
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 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(const volatile void *ident, \
|
||||
SYS___THRWAKEUP = 301 // { int sys___thrwakeup(const volatile void *ident, \
|
||||
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_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_FACCESSAT = 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_mkdirat(int fd, const char *path, \
|
||||
SYS_MKFIFOAT = 319 // { int sys_mkfifoat(int fd, const char *path, \
|
||||
@@ -195,8 +200,6 @@ const (
|
||||
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_FUTIMENS = 327 // { int sys_futimens(int fd, \
|
||||
SYS___SET_TCB = 329 // { void sys___set_tcb(void *tcb); }
|
||||
SYS___GET_TCB = 330 // { void *sys___get_tcb(void); }
|
||||
)
|
@ -1,126 +0,0 @@
|
||||
$OpenBSD: patch-src_pkg_syscall_ztypes_openbsd_386_go,v 1.2 2013/12/02 15:35:49 jsing Exp $
|
||||
--- src/pkg/syscall/ztypes_openbsd_386.go.orig Fri Oct 18 16:13:11 2013
|
||||
+++ src/pkg/syscall/ztypes_openbsd_386.go Sat Nov 2 00:29:24 2013
|
||||
@@ -19,12 +19,12 @@ type (
|
||||
)
|
||||
|
||||
type Timespec struct {
|
||||
- Sec int32
|
||||
+ Sec int64
|
||||
Nsec int32
|
||||
}
|
||||
|
||||
type Timeval struct {
|
||||
- Sec int32
|
||||
+ Sec int64
|
||||
Usec int32
|
||||
}
|
||||
|
||||
@@ -72,14 +72,13 @@ const (
|
||||
)
|
||||
|
||||
type Stat_t struct {
|
||||
- Dev int32
|
||||
- Ino uint32
|
||||
Mode uint32
|
||||
+ Dev int32
|
||||
+ Ino uint64
|
||||
Nlink uint32
|
||||
Uid uint32
|
||||
Gid uint32
|
||||
Rdev int32
|
||||
- Lspare0 int32
|
||||
Atim Timespec
|
||||
Mtim Timespec
|
||||
Ctim Timespec
|
||||
@@ -88,9 +87,7 @@ type Stat_t struct {
|
||||
Blksize uint32
|
||||
Flags uint32
|
||||
Gen uint32
|
||||
- Lspare1 int32
|
||||
X__st_birthtim Timespec
|
||||
- Qspare [2]int64
|
||||
}
|
||||
|
||||
type Statfs_t struct {
|
||||
@@ -110,11 +107,12 @@ type Statfs_t struct {
|
||||
F_fsid Fsid
|
||||
F_namemax uint32
|
||||
F_owner uint32
|
||||
- F_ctime uint32
|
||||
- F_spare [3]uint32
|
||||
+ F_ctime uint64
|
||||
F_fstypename [16]int8
|
||||
F_mntonname [90]int8
|
||||
F_mntfromname [90]int8
|
||||
+ F_mntfromspec [90]int8
|
||||
+ Pad_cgo_0 [2]byte
|
||||
Mount_info [160]byte
|
||||
}
|
||||
|
||||
@@ -127,11 +125,13 @@ type Flock_t struct {
|
||||
}
|
||||
|
||||
type Dirent struct {
|
||||
- Fileno uint32
|
||||
- Reclen uint16
|
||||
- Type uint8
|
||||
- Namlen uint8
|
||||
- Name [256]int8
|
||||
+ Fileno uint64
|
||||
+ Off int64
|
||||
+ Reclen uint16
|
||||
+ Type uint8
|
||||
+ Namlen uint8
|
||||
+ X__d_padding [4]uint8
|
||||
+ Name [256]int8
|
||||
}
|
||||
|
||||
type Fsid struct {
|
||||
@@ -262,21 +262,21 @@ type Kevent_t struct {
|
||||
Filter int16
|
||||
Flags uint16
|
||||
Fflags uint32
|
||||
- Data int32
|
||||
+ Data int64
|
||||
Udata *byte
|
||||
}
|
||||
|
||||
type FdSet struct {
|
||||
- Bits [32]int32
|
||||
+ Bits [32]uint32
|
||||
}
|
||||
|
||||
const (
|
||||
- SizeofIfMsghdr = 0xe8
|
||||
- SizeofIfData = 0xd0
|
||||
+ SizeofIfMsghdr = 0xec
|
||||
+ SizeofIfData = 0xd4
|
||||
SizeofIfaMsghdr = 0x18
|
||||
SizeofIfAnnounceMsghdr = 0x1a
|
||||
- SizeofRtMsghdr = 0x58
|
||||
- SizeofRtMetrics = 0x30
|
||||
+ SizeofRtMsghdr = 0x60
|
||||
+ SizeofRtMetrics = 0x38
|
||||
)
|
||||
|
||||
type IfMsghdr struct {
|
||||
@@ -364,9 +364,9 @@ type RtMsghdr struct {
|
||||
|
||||
type RtMetrics struct {
|
||||
Pksent uint64
|
||||
+ Expire int64
|
||||
Locks uint32
|
||||
Mtu uint32
|
||||
- Expire uint32
|
||||
Refcnt uint32
|
||||
Hopcount uint32
|
||||
Recvpipe uint32
|
||||
@@ -374,6 +374,7 @@ type RtMetrics struct {
|
||||
Ssthresh uint32
|
||||
Rtt uint32
|
||||
Rttvar uint32
|
||||
+ Pad uint32
|
||||
}
|
||||
|
||||
type Mclpool struct {
|
@ -1,128 +0,0 @@
|
||||
$OpenBSD: patch-src_pkg_syscall_ztypes_openbsd_amd64_go,v 1.2 2013/12/02 15:35:49 jsing Exp $
|
||||
--- src/pkg/syscall/ztypes_openbsd_amd64.go.orig Fri Oct 18 16:13:11 2013
|
||||
+++ src/pkg/syscall/ztypes_openbsd_amd64.go Sat Nov 2 00:29:24 2013
|
||||
@@ -19,9 +19,8 @@ type (
|
||||
)
|
||||
|
||||
type Timespec struct {
|
||||
- Sec int32
|
||||
- Pad_cgo_0 [4]byte
|
||||
- Nsec int64
|
||||
+ Sec int64
|
||||
+ Nsec int64
|
||||
}
|
||||
|
||||
type Timeval struct {
|
||||
@@ -73,14 +72,13 @@ const (
|
||||
)
|
||||
|
||||
type Stat_t struct {
|
||||
- Dev int32
|
||||
- Ino uint32
|
||||
Mode uint32
|
||||
+ Dev int32
|
||||
+ Ino uint64
|
||||
Nlink uint32
|
||||
Uid uint32
|
||||
Gid uint32
|
||||
Rdev int32
|
||||
- Lspare0 int32
|
||||
Atim Timespec
|
||||
Mtim Timespec
|
||||
Ctim Timespec
|
||||
@@ -89,9 +87,8 @@ type Stat_t struct {
|
||||
Blksize uint32
|
||||
Flags uint32
|
||||
Gen uint32
|
||||
- Lspare1 int32
|
||||
+ Pad_cgo_0 [4]byte
|
||||
X__st_birthtim Timespec
|
||||
- Qspare [2]int64
|
||||
}
|
||||
|
||||
type Statfs_t struct {
|
||||
@@ -112,12 +109,12 @@ type Statfs_t struct {
|
||||
F_fsid Fsid
|
||||
F_namemax uint32
|
||||
F_owner uint32
|
||||
- F_ctime uint32
|
||||
- F_spare [3]uint32
|
||||
+ F_ctime uint64
|
||||
F_fstypename [16]int8
|
||||
F_mntonname [90]int8
|
||||
F_mntfromname [90]int8
|
||||
- Pad_cgo_1 [4]byte
|
||||
+ F_mntfromspec [90]int8
|
||||
+ Pad_cgo_1 [2]byte
|
||||
Mount_info [160]byte
|
||||
}
|
||||
|
||||
@@ -130,11 +127,13 @@ type Flock_t struct {
|
||||
}
|
||||
|
||||
type Dirent struct {
|
||||
- Fileno uint32
|
||||
- Reclen uint16
|
||||
- Type uint8
|
||||
- Namlen uint8
|
||||
- Name [256]int8
|
||||
+ Fileno uint64
|
||||
+ Off int64
|
||||
+ Reclen uint16
|
||||
+ Type uint8
|
||||
+ Namlen uint8
|
||||
+ X__d_padding [4]uint8
|
||||
+ Name [256]int8
|
||||
}
|
||||
|
||||
type Fsid struct {
|
||||
@@ -263,16 +262,16 @@ const (
|
||||
)
|
||||
|
||||
type Kevent_t struct {
|
||||
- Ident uint32
|
||||
+ Ident uint64
|
||||
Filter int16
|
||||
Flags uint16
|
||||
Fflags uint32
|
||||
- Data int32
|
||||
+ Data int64
|
||||
Udata *byte
|
||||
}
|
||||
|
||||
type FdSet struct {
|
||||
- Bits [32]int32
|
||||
+ Bits [32]uint32
|
||||
}
|
||||
|
||||
const (
|
||||
@@ -280,8 +279,8 @@ const (
|
||||
SizeofIfData = 0xe0
|
||||
SizeofIfaMsghdr = 0x18
|
||||
SizeofIfAnnounceMsghdr = 0x1a
|
||||
- SizeofRtMsghdr = 0x58
|
||||
- SizeofRtMetrics = 0x30
|
||||
+ SizeofRtMsghdr = 0x60
|
||||
+ SizeofRtMetrics = 0x38
|
||||
)
|
||||
|
||||
type IfMsghdr struct {
|
||||
@@ -371,9 +370,9 @@ type RtMsghdr struct {
|
||||
|
||||
type RtMetrics struct {
|
||||
Pksent uint64
|
||||
+ Expire int64
|
||||
Locks uint32
|
||||
Mtu uint32
|
||||
- Expire uint32
|
||||
Refcnt uint32
|
||||
Hopcount uint32
|
||||
Recvpipe uint32
|
||||
@@ -381,6 +380,7 @@ type RtMetrics struct {
|
||||
Ssthresh uint32
|
||||
Rtt uint32
|
||||
Rttvar uint32
|
||||
+ Pad uint32
|
||||
}
|
||||
|
||||
type Mclpool struct {
|
@ -1,14 +1,23 @@
|
||||
@comment $OpenBSD: PFRAG.amd64,v 1.3 2013/12/02 15:35:49 jsing Exp $
|
||||
go/src/cmd/6l/enam.c
|
||||
@comment $OpenBSD: PFRAG.amd64,v 1.4 2014/07/25 13:36:55 jsing Exp $
|
||||
go/src/pkg/runtime/zalg_openbsd_amd64.c
|
||||
go/src/pkg/runtime/zasm_openbsd_amd64.h
|
||||
go/src/pkg/runtime/zchan_openbsd_amd64.c
|
||||
go/src/pkg/runtime/zcomplex_openbsd_amd64.c
|
||||
go/src/pkg/runtime/zcpuprof_openbsd_amd64.c
|
||||
go/src/pkg/runtime/zgoarch_amd64.go
|
||||
go/src/pkg/runtime/zhashmap_openbsd_amd64.c
|
||||
go/src/pkg/runtime/ziface_openbsd_amd64.c
|
||||
go/src/pkg/runtime/zlfstack_openbsd_amd64.c
|
||||
go/src/pkg/runtime/zmalloc_openbsd_amd64.c
|
||||
go/src/pkg/runtime/zmprof_openbsd_amd64.c
|
||||
go/src/pkg/runtime/znetpoll_openbsd_amd64.c
|
||||
go/src/pkg/runtime/zrdebug_openbsd_amd64.c
|
||||
go/src/pkg/runtime/zruntime1_openbsd_amd64.c
|
||||
go/src/pkg/runtime/zruntime_defs_openbsd_amd64.go
|
||||
go/src/pkg/runtime/zsema_openbsd_amd64.c
|
||||
go/src/pkg/runtime/zsigqueue_openbsd_amd64.c
|
||||
go/src/pkg/runtime/zslice_openbsd_amd64.c
|
||||
go/src/pkg/runtime/zstring_openbsd_amd64.c
|
||||
go/src/pkg/runtime/zsymtab_openbsd_amd64.c
|
||||
go/src/pkg/runtime/zsys_openbsd_amd64.s
|
||||
go/src/pkg/runtime/ztime_openbsd_amd64.c
|
||||
|
@ -1,14 +1,23 @@
|
||||
@comment $OpenBSD: PFRAG.i386,v 1.3 2013/12/02 15:35:49 jsing Exp $
|
||||
go/src/cmd/8l/enam.c
|
||||
@comment $OpenBSD: PFRAG.i386,v 1.4 2014/07/25 13:36:55 jsing Exp $
|
||||
go/src/pkg/runtime/zalg_openbsd_386.c
|
||||
go/src/pkg/runtime/zasm_openbsd_386.h
|
||||
go/src/pkg/runtime/zchan_openbsd_386.c
|
||||
go/src/pkg/runtime/zcomplex_openbsd_386.c
|
||||
go/src/pkg/runtime/zcpuprof_openbsd_386.c
|
||||
go/src/pkg/runtime/zgoarch_386.go
|
||||
go/src/pkg/runtime/zhashmap_openbsd_386.c
|
||||
go/src/pkg/runtime/ziface_openbsd_386.c
|
||||
go/src/pkg/runtime/zlfstack_openbsd_386.c
|
||||
go/src/pkg/runtime/zmalloc_openbsd_386.c
|
||||
go/src/pkg/runtime/zmprof_openbsd_386.c
|
||||
go/src/pkg/runtime/znetpoll_openbsd_386.c
|
||||
go/src/pkg/runtime/zrdebug_openbsd_386.c
|
||||
go/src/pkg/runtime/zruntime1_openbsd_386.c
|
||||
go/src/pkg/runtime/zruntime_defs_openbsd_386.go
|
||||
go/src/pkg/runtime/zsema_openbsd_386.c
|
||||
go/src/pkg/runtime/zsigqueue_openbsd_386.c
|
||||
go/src/pkg/runtime/zslice_openbsd_386.c
|
||||
go/src/pkg/runtime/zstring_openbsd_386.c
|
||||
go/src/pkg/runtime/zsymtab_openbsd_386.c
|
||||
go/src/pkg/runtime/zsys_openbsd_386.s
|
||||
go/src/pkg/runtime/ztime_openbsd_386.c
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user