Re: [patch 3/3] vfs: fix sys_getcwd for detached mounts

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

 



> Darn, this is wrong.  It should be looking at vfsmnt->mnt_namespace ==
> NULL.
> 
> Fixed patch coming up.

And the thing is: getcwd() did return garbage for detached mounts,
except if the mounted dentry was the root of the filesystem.  Which
makes the "detached:..." change slightly prone to breaking something.
Still not very likely, but...

Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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