[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <E1KApMs-0007p1-2Z@pomaz-ex.szeredi.hu>
Date: Mon, 23 Jun 2008 18:58:14 +0200
From: Miklos Szeredi <miklos@...redi.hu>
To: viro@...IV.linux.org.uk
CC: linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
hch@...radead.org
Subject: Re: [patch 3/3] vfs: fix sys_getcwd for detached mounts
> 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-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