Re: Capability check on ioctl(FIBMAP) seems wrong

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Mon, 11 Oct 1999 18:01:03 +0200


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/