summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi/linux/mm.go
diff options
context:
space:
mode:
authorGoogler <noreply@google.com>2018-12-19 13:29:10 -0800
committerShentubot <shentubot@google.com>2018-12-19 13:30:08 -0800
commit86c9bd254749ebf65270aa60f728d9c847ac02d4 (patch)
treea46d2aa16add447aa5604975810fee5c839fd39f /pkg/abi/linux/mm.go
parentff7178a4d10f9f1fb34e54fed5ef27cfbff5d6f9 (diff)
Automated rollback of changelist 225861605
PiperOrigin-RevId: 226224230 Change-Id: Id24c7d3733722fd41d5fe74ef64e0ce8c68f0b12
Diffstat (limited to 'pkg/abi/linux/mm.go')
-rw-r--r--pkg/abi/linux/mm.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/pkg/abi/linux/mm.go b/pkg/abi/linux/mm.go
index eda8d9788..3fcdf8235 100644
--- a/pkg/abi/linux/mm.go
+++ b/pkg/abi/linux/mm.go
@@ -49,18 +49,6 @@ const (
MREMAP_FIXED = 1 << 1
)
-// Flags for mlock2(2).
-const (
- MLOCK_ONFAULT = 0x01
-)
-
-// Flags for mlockall(2).
-const (
- MCL_CURRENT = 1
- MCL_FUTURE = 2
- MCL_ONFAULT = 4
-)
-
// Advice for madvise(2).
const (
MADV_NORMAL = 0