Messages in this thread | | | Date | Thu, 22 Nov 2007 19:56:20 +0000 | From | Alan Cox <> | Subject | Re: Why is FIBMAP ioctl root only? |
| |
> probably principle of least privilege; the location on physical media > for a file is clearly something internal to the OS, and non-trusted > users normally don't have any business knowing that.
FIBMAP isn't correctly locked against misuse, and that requires FIBMAP is safe against truncate and relocation. There was thread on l/k about this a month ago or so.
Its also the wrong API (32bit, no notion of extents, compression etc) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |