summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-04-09 01:02:14 +0000
committergVisor bot <gvisor-bot@google.com>2020-04-09 01:02:14 +0000
commitc587441315183789fdf62e9a767048b671bbd1d9 (patch)
tree038f5b08dc9af6332dc963efa9433f4cf25fac97 /pkg/sentry/kernel
parent55d6e8bf8dadba437b74c5f373f63be53649c020 (diff)
parent6dd5a1f3fe55daa8510b1ee5e3a59219aad92af6 (diff)
Merge release-20200323.0-97-g6dd5a1f (automated)
Diffstat (limited to 'pkg/sentry/kernel')
-rw-r--r--pkg/sentry/kernel/ptrace.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg/sentry/kernel/ptrace.go b/pkg/sentry/kernel/ptrace.go
index 35ad97d5d..e23e796ef 100644
--- a/pkg/sentry/kernel/ptrace.go
+++ b/pkg/sentry/kernel/ptrace.go
@@ -184,7 +184,6 @@ func (t *Task) CanTrace(target *Task, attach bool) bool {
if targetCreds.PermittedCaps&^callerCreds.PermittedCaps != 0 {
return false
}
- // TODO: Yama LSM
return true
}