ptrace: use fsuid, fsgid, effective creds for fs access checks
[deliverable/linux.git] / kernel / futex.c
index c6f514573b28a425f648569473bab692d0ee1940..0773f2b23b107dcc3be9e5caabdbaa0a25de01d0 100644 (file)
@@ -2884,7 +2884,7 @@ SYSCALL_DEFINE3(get_robust_list, int, pid,
        }
 
        ret = -EPERM;
-       if (!ptrace_may_access(p, PTRACE_MODE_READ))
+       if (!ptrace_may_access(p, PTRACE_MODE_READ_REALCREDS))
                goto err_unlock;
 
        head = p->robust_list;
This page took 0.044162 seconds and 5 git commands to generate.