summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/syscalls/linux
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2018-08-02 15:55:19 -0700
committerShentubot <shentubot@google.com>2018-08-02 15:56:40 -0700
commitb6a37ab9d96b382e26e3836a42ea485c48a521a8 (patch)
treec3af1a279b9dce1864b59620ede88f6630e2badd /pkg/sentry/syscalls/linux
parent4c1167de4ee2aa7b71729ff8b1c742b4183168d1 (diff)
Update comment reference
PiperOrigin-RevId: 207180809 Change-Id: I08c264812919e81b2c56fdd4a9ef06924de8b52f
Diffstat (limited to 'pkg/sentry/syscalls/linux')
-rw-r--r--pkg/sentry/syscalls/linux/sys_prctl.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/syscalls/linux/sys_prctl.go b/pkg/sentry/syscalls/linux/sys_prctl.go
index 911fef658..a1242acd3 100644
--- a/pkg/sentry/syscalls/linux/sys_prctl.go
+++ b/pkg/sentry/syscalls/linux/sys_prctl.go
@@ -113,7 +113,7 @@ func Prctl(t *kernel.Task, args arch.SyscallArguments) (uintptr, *kernel.Syscall
return 0, nil, syscall.EINVAL
}
// no_new_privs is assumed to always be set. See
- // auth.Credentials.UpdateForExec.
+ // kernel.Task.updateCredsForExec.
return 0, nil, nil
case linux.PR_GET_NO_NEW_PRIVS: