summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/pgalloc/usage_set.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-06-05 22:42:27 +0000
committergVisor bot <gvisor-bot@google.com>2020-06-05 22:42:27 +0000
commit6a3a24086db9e70a4cd7ba23d7407fbadd691604 (patch)
tree60700acf3d7fca018cc8652c905d357410d761fc /pkg/sentry/pgalloc/usage_set.go
parent87eb10c625e1c7df7ea6e9bbc32a686c1eaee71f (diff)
parent9aaca5a6da39c6154ce08f4386e702ee4a18d03a (diff)
Merge release-20200522.0-85-g9aaca5a6 (automated)
Diffstat (limited to 'pkg/sentry/pgalloc/usage_set.go')
-rw-r--r--pkg/sentry/pgalloc/usage_set.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/pgalloc/usage_set.go b/pkg/sentry/pgalloc/usage_set.go
index 79db792d9..6df3d12af 100644
--- a/pkg/sentry/pgalloc/usage_set.go
+++ b/pkg/sentry/pgalloc/usage_set.go
@@ -16,7 +16,7 @@ import (
// case, Key must be an unsigned integer.
//
// trackGaps must be 0 or 1.
-const usagetrackGaps = 0
+const usagetrackGaps = 1
var _ = uint8(usagetrackGaps << 7) // Will fail if not zero or one.