Messages in this thread | | | Date | Tue, 21 Mar 2000 16:11:07 +0000 | From | "Stephen C. Tweedie" <> | Subject | Re: fcntl(2) and other file systems like XFS |
| |
Hi,
On Tue, Mar 21, 2000 at 05:07:22PM +0100, Jamie Lokier wrote: > always open the file object, but you can't do much with it. For a > device, the device wouldn't get opened, but fstat() would return the > same device information as stat() returns.
Absolutely. However, reworking the entire VFS to make absolutely sure that there are no holes in the implementation, and auditing every suid binary in the system to make sure that there are no security holes introduced by adding new and interesting types of file descriptors, is a bit more work than adding a new inode-operating syscall. :-)
O_NONE has been proposed before, but the devil is in the detail.
--Stephen
- 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/
| |