lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 11 Nov 2009 21:17:19 +0900 From: Trond Myklebust <trond.myklebust@....uio.no> To: Miklos Szeredi <miklos@...redi.hu> Cc: jlayton@...hat.com, linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org, linux-nfs@...r.kernel.org, ebiederm@...ssion.com, adobriyan@...il.com, viro@...IV.linux.org.uk, jamie@...reable.org Subject: Re: [PATCH 0/2] vfs: ensure that dentries are revalidated on open (try #2) On Wed, 2009-11-11 at 09:33 +0100, Miklos Szeredi wrote: > On Wed, 11 Nov 2009, Trond Myklebust wrote: > > Aren't both proc symlinks and bind mounts pretty much guaranteed to > > point to a valid dentry? > > It could for example happen that client bind mounts a regular file, > then the file is unlinked on the server. Then the bind mounted dentry > is no longer valid. The mountpoint dentry is still supposed to remain valid and accessible on the client even if the object it points to on the server is invalid. Otherwise you will not be able to unmount. Cheers Trond -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists