summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-10-08 23:26:15 +0000
committergVisor bot <gvisor-bot@google.com>2020-10-08 23:26:15 +0000
commit6dbae823016113920fa330f4a90c08cce10a5b88 (patch)
tree8e9f45249240ff80ed1bcc0b2586bd9f74a8a594 /pkg/abi
parent0482839af380d44348da12e87886f83b9ccf4393 (diff)
parent6bad4851d4a04b5f56ade1f8ba68bd9c16471533 (diff)
Merge release-20200928.0-72-g6bad4851d (automated)
Diffstat (limited to 'pkg/abi')
-rw-r--r--pkg/abi/linux/membarrier.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkg/abi/linux/membarrier.go b/pkg/abi/linux/membarrier.go
index 0f3c03e63..4f6021a1d 100644
--- a/pkg/abi/linux/membarrier.go
+++ b/pkg/abi/linux/membarrier.go
@@ -14,7 +14,7 @@
package linux
-// membarrier(2) commands, from include/uapi/linux/membarrier.h
+// membarrier(2) commands, from include/uapi/linux/membarrier.h.
const (
MEMBARRIER_CMD_QUERY = 0
MEMBARRIER_CMD_GLOBAL = (1 << 0)
@@ -24,4 +24,11 @@ const (
MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED = (1 << 4)
MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE = (1 << 5)
MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE = (1 << 6)
+ MEMBARRIER_CMD_PRIVATE_EXPEDITED_RSEQ = (1 << 7)
+ MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_RSEQ = (1 << 8)
+)
+
+// membarrier(2) flags, from include/uapi/linux/membarrier.h.
+const (
+ MEMBARRIER_CMD_FLAG_CPU = (1 << 0)
)