lkml.org 
[lkml]   [2014]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC 0/2] Fix permission checks on open("/proc/self/fd/N", O_RDWR)
Date
This is a prototype of a real fix for a longstanding issue.  See patch 2
for the full descripton.

Andy Lutomirski (2):
fs,proc: Pass nameidata to proc_get_link implementations
fs,proc: Respect FMODE_WRITE when opening /proc/pid/fd/N

fs/namei.c | 3 +++
fs/proc/base.c | 13 ++++++++-----
fs/proc/fd.c | 22 ++++++++++++++++++----
fs/proc/internal.h | 3 ++-
include/linux/namei.h | 1 +
5 files changed, 32 insertions(+), 10 deletions(-)

--
1.9.0



\
 
 \ /
  Last update: 2014-04-21 18:41    [W:0.142 / U:0.736 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site