diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-12-06 18:23:27 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-12-06 18:23:27 -0800 |
commit | ba3edf1f770ebc486f9d69824f4a2e069da4d2d4 (patch) | |
tree | e3f6ad1b904067807b70aef82f08d2b09ca9cfd6 /kernel | |
parent | 10f837e52b57bd69b811aeeb8fb1a095e26f6575 (diff) | |
download | linux-ba3edf1f770ebc486f9d69824f4a2e069da4d2d4.tar.bz2 |
proc: show si_ptr in /proc/<pid>/timers without hashing
It's a user pointer, and while the permissions of the file are pretty
questionable (should it really be readable to everybody), hashing the
pointer isn't going to be the solution.
We should take a closer look at more of the /proc/<pid> file permissions
in general. Sure, we do want many of them to often be readable (for
'ps' and friends), but I think we should probably do a few conversions
from S_IRUGO to S_IRUSR.
Reported-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions