lkml.org 
[lkml]   [2000]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.070 / U:0.764 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site