Re: FIBMAP/FIEMAP discrepancy for CAP_SYS_RAWIO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 07, 2009 at 12:50:14PM +0200, Andreas Dilger wrote:
> On Sep 06, 2009  13:39 +0000, Florian Weimer wrote:
> > The FIBMAP ioctl requires CAP_SYS_RAWIO, but FIEMAP doesn't.  Why's
> > that?  Is it that there is no backwards-compatible way to introduce
> > locking on the bmap path?
> 
> I'm not sure why there is a root-only requirement for FIBMAP

Historical reasons, I suspect --- back then only LILO needed it, and
whoever added it decided it was safer only to allow root to have
access to it.  I don't think there's any good justification for FIBMAP
to require privileges.

							- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux