linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [WTF] ... is going on with current->fs->{root,mnt} accesses in pohmelfs
@ 2010-02-10 10:04 Al Viro
  2010-02-10 10:12 ` Evgeniy Polyakov
  0 siblings, 1 reply; 14+ messages in thread
From: Al Viro @ 2010-02-10 10:04 UTC (permalink / raw)
  To: zbr; +Cc: linux-fsdevel, linux-kernel

a) pohmelfs_construct_path_string() will do interesting things if you
call it while chrooted into jail and pohmelfs mounted deeper in that
jail.  Try it.

b) just why do we care about root of chroot jail in pohmelfs_path_length()?
Not to mention anything else, current->fs->root/mnt may be changed under
you if you share current->fs with another thread, but even aside of that,
why does filesystem care about chroot of caller at all?

What's going on there?

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2010-02-11 19:13 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-10 10:04 [WTF] ... is going on with current->fs->{root,mnt} accesses in pohmelfs Al Viro
2010-02-10 10:12 ` Evgeniy Polyakov
2010-02-10 10:24   ` Al Viro
2010-02-10 10:45     ` Evgeniy Polyakov
2010-02-10 11:00       ` Al Viro
2010-02-10 11:11         ` Evgeniy Polyakov
2010-02-10 11:59           ` Al Viro
2010-02-10 13:30             ` Evgeniy Polyakov
2010-02-10 21:02               ` Al Viro
2010-02-10 21:29                 ` Evgeniy Polyakov
2010-02-11  3:02                   ` Al Viro
2010-02-11 15:08                     ` Evgeniy Polyakov
2010-02-11 17:10                       ` Al Viro
2010-02-11 19:13                         ` Evgeniy Polyakov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).