Re: [PATCH] vfs: new O_NODE open flag

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

 



On Fri, 25 Sep 2009 13:37:47 BST, "Dr. David Alan Gilbert" said:

> Given an fd opened in this way is it possible to reopen it normally and
> be guarenteed to get the same object?

It's not possible even without this flag. Consider:

        fd1 = open("/tmp/foo",flags);
        rc = rename("/tmp/foo","/tmp/bar");
        fd2 = open("/tmp/foo",flags);

Or were you asking if *absent that sort of tomfoolery* if it would work?

Attachment: pgpjCsd1z6v48.pgp
Description: PGP signature


[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