login
Header Space

 
 

Re: VFS + path walktrough

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <viro@...>
Cc: <miklos@...>, <weigelt@...>, <linux-kernel@...>
Date: Monday, May 5, 2008 - 2:03 pm

> > > This is still wrong.  We not just pass the pathname to filesystem (note

Umm, OK.  The 9P server does see the type of objects, so it should be
able to do that.


You're right.  It doesn't sound too good, although it all depends on
the how permission checking is done.  If it's done in the server, then
neither the mode nor the ownership is needed for lookup.  The file
type *is* known for all but the last component, and doing a stat for
that one is not a big issue.  All this is modulo the symlink issue of
course.

Miklos
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
VFS + path walktrough, Enrico Weigelt, (Mon May 5, 8:40 am)
Re: VFS + path walktrough, Enrico Weigelt, (Mon May 5, 9:06 am)
Re: VFS + path walktrough, Al Viro, (Mon May 5, 9:13 am)
Re: VFS + path walktrough, Enrico Weigelt, (Mon May 5, 9:43 am)
Re: VFS + path walktrough, Al Viro, (Mon May 5, 11:35 am)
Re: VFS + path walktrough, Miklos Szeredi, (Mon May 5, 12:43 pm)
Re: VFS + path walktrough, Al Viro, (Mon May 5, 1:14 pm)
Re: VFS + path walktrough, Miklos Szeredi, (Mon May 5, 1:33 pm)
Re: VFS + path walktrough, Al Viro, (Mon May 5, 1:40 pm)
Re: VFS + path walktrough, Enrico Weigelt, (Mon May 5, 2:23 pm)
Re: VFS + path walktrough, Al Viro, (Mon May 5, 2:34 pm)
Re: VFS + path walktrough, Enrico Weigelt, (Mon May 5, 3:02 pm)
Re: VFS + path walktrough, Al Viro, (Mon May 5, 3:09 pm)
Re: VFS + path walktrough, Miklos Szeredi, (Mon May 5, 2:03 pm)
Re: VFS + path walktrough, Enrico Weigelt, (Mon May 5, 2:50 pm)
Re: VFS + path walktrough, Miklos Szeredi, (Mon May 5, 2:31 pm)
Re: VFS + path walktrough, Trond Myklebust, (Mon May 5, 4:16 pm)
Re: VFS + path walktrough, Miklos Szeredi, (Mon May 5, 4:35 pm)
Re: VFS + path walktrough, Miklos Szeredi, (Mon May 5, 1:03 pm)
speck-geostationary