Skip to content
Snippets Groups Projects
Commit a9712bc1 authored by Al Viro's avatar Al Viro
Browse files

deal with races in /proc/*/{syscall,stack,personality}


All of those are rw-r--r-- and all are broken for suid - if you open
a file before the target does suid-root exec, you'll be still able
to access it.  For personality it's not a big deal, but for syscall
and stack it's a real problem.

Fix: check that task is tracable for you at the time of read().

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 198214a7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment