[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <15802.1308265166@jrobl>
Date: Fri, 17 Jun 2011 07:59:26 +0900
From: "J. R. Okajima" <hooanon05@...oo.co.jp>
To: Miklos Szeredi <miklos@...redi.hu>
Cc: Erez Zadok <ezk@....cs.sunysb.edu>,
Andrew Morton <akpm@...ux-foundation.org>,
"viro\@ZenIV.linux.org.uk Viro" <viro@...IV.linux.org.uk>,
Linus Torvalds <torvalds@...ux-foundation.org>,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
apw@...onical.com, nbd@...nwrt.org, neilb@...e.de,
hramrach@...trum.cz, jordipujolp@...il.com
Subject: Re: [PATCH 0/7] overlay filesystem: request for inclusion
Miklos Szeredi:
> file, so most applications should handle this behavior fine. The truth
> is a bit more complicated and the effect of the copy-up is more like
> this:
>
> cp /foo/bar /tmp/ttt
> mount --bind /tmp/ttt /foo/bar
Good example.
'mount' instead of simple 'cp' means struct stat.st_dev differs.
And it will make some applications confused such as find -x, du -x, df,
chmod/own -R, rm -r, or etc.
> The credentials of the current task are not modified but replaced by
> new, temporary credentials. This will only have an affect on a single
> thread.
I see.
I think I can understand about multi threads. Other threads will not be
affected. I will test about a signal handler someday.
J. R. Okajima
--
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