Update comments on ambient caps to point to bug

PiperOrigin-RevId: 376747671
This commit is contained in:
Ian Lewis
2021-05-31 20:02:43 -07:00
committed by gVisor bot
parent 30bca3270b
commit 4f37469981
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ func NewUserCredentials(kuid KUID, kgid KGID, extraKGIDs []KGID, capabilities *T
creds.EffectiveCaps = capabilities.EffectiveCaps
creds.BoundingCaps = capabilities.BoundingCaps
creds.InheritableCaps = capabilities.InheritableCaps
// TODO(nlacasse): Support ambient capabilities.
// TODO(gvisor.dev/issue/3166): Support ambient capabilities.
} else {
// If no capabilities are specified, grant capabilities consistent with
// setresuid + setresgid from NewRootCredentials to the given uid and