lkml.org 
[lkml]   [2009]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 resend] vfs: new O_NODE open flag
From
Date
On Fri, 06 Nov 2009, ebiederm@xmission.com (Eric W. Biederman wrote:
> So far no one who believes this to be a security hole has found it
> worth their while to look at nd->intent.open in proc_pid_follow_link
> and write a patch.

A rather disgusting patch that would be. The fact is, checking
permissions on follow_link makes little to no sense. Consider
truncate(2), for example. Will we add another intent for that? I
really hope not.

I'm more and more convinced, that the current behavior is the right
one.

Thanks,
Miklos


\
 
 \ /
  Last update: 2009-11-07 08:53    [W:0.240 / U:0.112 seconds]
©2003-2011 Jasper Spaans. Advertise on this site