On Wed, Mar 13, 2019 at 09:44:33AM -0700, Eric Biggers wrote: > > Just to make sure - you do realize that ban on multiple dentries refering > > to the same directory inode is *NOT* conditional upon those dentries being > > hashed, right? > > Isn't this handled by d_splice_alias() already, by moving the old dentry to the > new name? ... which means that if somebody without the key chdirs into subdirectory they only see by encrypted name and waits for proper owner to look it up, they suddenly see it by _un_encrypted name. Or does O_PATH open, for that matter, so exec permissions on that thing are not required.