aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/defs_linux_arm64.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/defs_linux_arm64.go')
-rw-r--r--src/runtime/defs_linux_arm64.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/runtime/defs_linux_arm64.go b/src/runtime/defs_linux_arm64.go
index 1a4d8846e3..d1b1a3677f 100644
--- a/src/runtime/defs_linux_arm64.go
+++ b/src/runtime/defs_linux_arm64.go
@@ -87,6 +87,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 {
@@ -167,6 +171,11 @@ type sigcontext struct {
__reserved [4096]byte
}
+type sockaddr_un struct {
+ family uint16
+ path [108]byte
+}
+
type ucontext struct {
uc_flags uint64
uc_link *ucontext