* Re: RFC: from FIBMAP to FIONDEV
@ 2001-06-14 14:03 Jason Lunz
2001-06-14 17:16 ` Alan Cox
0 siblings, 1 reply; 2+ messages in thread
From: Jason Lunz @ 2001-06-14 14:03 UTC (permalink / raw)
To: linux-kernel; +Cc: almesber
I'm looking for a way to do FIBMAP on linux 2.4 without being root, and
I learned from the archive that it's restricted for security reasons,
and that it's obsolete anyway. I found this discussion about a
replacement called FIONDEV:
http://uwsg.iu.edu/hypermail/linux/kernel/9906.1/0817.html
However, I can't find any reference to FIONDEV in current 2.4 sources.
Was anything similar ever coded? Is there a better way then FIBMAP to
get the lba of a file, or are we still stuck with having to have
CAP_SYS_RAWIO in order to do that? This is something that all linux dvd
programs need to do in order to decrypt DVD, and it'd be nice if they
didn't all have to run as root. :)
Jason
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: RFC: from FIBMAP to FIONDEV
2001-06-14 14:03 RFC: from FIBMAP to FIONDEV Jason Lunz
@ 2001-06-14 17:16 ` Alan Cox
0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2001-06-14 17:16 UTC (permalink / raw)
To: Jason Lunz; +Cc: linux-kernel, almesber
> I'm looking for a way to do FIBMAP on linux 2.4 without being root, and
> I learned from the archive that it's restricted for security reasons,
> and that it's obsolete anyway. I found this discussion about a
> replacement called FIONDEV:
FIBMAP can be handled per fs by auditing the code paths. First job would be
to push the security check into each fs, then audit the fs's and then change
them. But its really a 2.5 job since any third party fs might spontaneously
become insecure oitherwise
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-06-14 17:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-14 14:03 RFC: from FIBMAP to FIONDEV Jason Lunz
2001-06-14 17:16 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).