[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1398097304.git.luto@amacapital.net>
Date: Mon, 21 Apr 2014 09:22:46 -0700
From: Andy Lutomirski <luto@...capital.net>
To: Pavel Machek <pavel@....cz>, linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org,
Alexander Viro <viro@...iv.linux.org.uk>,
Theodore Ts'o <tytso@....edu>,
David Herrmann <dh.herrmann@...il.com>
Cc: Andy Lutomirski <luto@...capital.net>
Subject: [RFC 0/2] Fix permission checks on open("/proc/self/fd/N", O_RDWR)
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists