aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/defs_linux_arm.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/defs_linux_arm.go')
-rw-r--r--src/runtime/defs_linux_arm.go11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/runtime/defs_linux_arm.go b/src/runtime/defs_linux_arm.go
index c3a6e2f019..3940240898 100644
--- a/src/runtime/defs_linux_arm.go
+++ b/src/runtime/defs_linux_arm.go
@@ -65,7 +65,7 @@ const (
_ITIMER_PROF = 0x2
_ITIMER_VIRTUAL = 0x1
_O_RDONLY = 0
- _O_CLOEXEC = 02000000
+ _O_CLOEXEC = 0x80000
_EPOLLIN = 0x1
_EPOLLOUT = 0x4
@@ -77,6 +77,10 @@ const (
_EPOLL_CTL_ADD = 0x1
_EPOLL_CTL_DEL = 0x2
_EPOLL_CTL_MOD = 0x3
+
+ _AF_UNIX = 0x1
+ _F_SETFL = 0x4
+ _SOCK_DGRAM = 0x2
)
type timespec struct {
@@ -166,3 +170,8 @@ type epollevent struct {
_pad uint32
data [8]byte // to match amd64
}
+
+type sockaddr_un struct {
+ family uint16
+ path [108]byte
+}