lkml.org 
[lkml]   [1999]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Capability check on ioctl(FIBMAP) seems wrong
Alan Cox wrote:
> > I could use a suid helper program here, however I don't see the need
> > for this capability check. It does not seem to me that there is any
> > valid security purpose served by not letting a user of a file determine
> > the block number(s) it resides in.
>
> It is there because all the FIBMAP paths dont do enough sanity checking
> to be safely used by anyone. The 2.2.x fix is the sledgehammer fix. Only
> Lilo used FIBMAP much so nobody got hurt.
>
> For 2.3.x then yes removing the check and fixing it up is an option

I'd like to FIBMAP directory blocks -- is that at all plausible with
2.3.x?

-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.035 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site