summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/loader/loader.go
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2019-04-10 17:59:02 -0700
committerShentubot <shentubot@google.com>2019-04-10 18:00:18 -0700
commitcc48969bb72e3efdc22746c5e7463b79b1942c2b (patch)
tree8fe3c01ba81b042a8ab9d7b9751b3c0c59e03a75 /pkg/sentry/loader/loader.go
parentd93d19fd4eefdfd868919a73c9498e7da7eb9258 (diff)
Internal change
PiperOrigin-RevId: 242978508 Change-Id: I0ea59ac5ba1dd499e87c53f2e24709371048679b
Diffstat (limited to 'pkg/sentry/loader/loader.go')
-rw-r--r--pkg/sentry/loader/loader.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/sentry/loader/loader.go b/pkg/sentry/loader/loader.go
index deb8892f6..80ad59dde 100644
--- a/pkg/sentry/loader/loader.go
+++ b/pkg/sentry/loader/loader.go
@@ -70,9 +70,9 @@ func openPath(ctx context.Context, mm *fs.MountNamespace, root, wd *fs.Dirent, m
defer d.DecRef()
perms := fs.PermMask{
- // TODO: Linux requires only execute permission,
- // not read. However, our backing filesystems may prevent us
- // from reading the file without read permission.
+ // TODO: Linux requires only execute
+ // permission, not read. However, our backing filesystems may
+ // prevent us from reading the file without read permission.
//
// Additionally, a task with a non-readable executable has
// additional constraints on access via ptrace and procfs.