From 054b5632ef9f2ce72b4aaa32f68ecb83b1c41834 Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Fri, 21 Jun 2019 10:55:38 -0700 Subject: Update comment PiperOrigin-RevId: 254428866 --- pkg/sentry/kernel/auth/capability_set.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/sentry') diff --git a/pkg/sentry/kernel/auth/capability_set.go b/pkg/sentry/kernel/auth/capability_set.go index a21fa6f0f..fc8c6745c 100644 --- a/pkg/sentry/kernel/auth/capability_set.go +++ b/pkg/sentry/kernel/auth/capability_set.go @@ -24,7 +24,7 @@ import ( type CapabilitySet uint64 // AllCapabilities is a CapabilitySet containing all valid capabilities. -var AllCapabilities = CapabilitySetOf(linux.MaxCapability+1) - 1 +var AllCapabilities = CapabilitySetOf(linux.CAP_LAST_CAP+1) - 1 // CapabilitySetOf returns a CapabilitySet containing only the given // capability. -- cgit v1.2.3