diff options
author | Joel Sing <joel@sing.id.au> | 2021-02-03 18:17:35 +1100 |
---|---|---|
committer | Joel Sing <joel@sing.id.au> | 2021-05-09 17:06:45 +0000 |
commit | 603f43cbae1f29c9c167b2b331dc31c8486c888b (patch) | |
tree | 88b7fdef67dc6a01981d9f7f8e74795d49c31775 /src/runtime/defs_openbsd_arm.go | |
parent | 83df4a590bbd259b82db37e0c6e721ddc267614b (diff) | |
download | go-603f43cbae1f29c9c167b2b331dc31c8486c888b.tar.gz go-603f43cbae1f29c9c167b2b331dc31c8486c888b.zip |
runtime: switch runtime to libc for openbsd/arm
Use libc rather than performing direct system calls for the runtime on
openbsd/arm.
Updates #36435
Change-Id: If64a96a61c80b9748792f8a85a8f16ed6ebca91f
Reviewed-on: https://go-review.googlesource.com/c/go/+/315792
Trust: Joel Sing <joel@sing.id.au>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/runtime/defs_openbsd_arm.go')
-rw-r--r-- | src/runtime/defs_openbsd_arm.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/runtime/defs_openbsd_arm.go b/src/runtime/defs_openbsd_arm.go index 9b84b5a3a3..6f128c4284 100644 --- a/src/runtime/defs_openbsd_arm.go +++ b/src/runtime/defs_openbsd_arm.go @@ -32,6 +32,11 @@ const ( _PTHREAD_CREATE_DETACHED = 0x1 + _F_SETFD = 0x2 + _F_GETFL = 0x3 + _F_SETFL = 0x4 + _FD_CLOEXEC = 0x1 + _SIGHUP = 0x1 _SIGINT = 0x2 _SIGQUIT = 0x3 |