Re: [PATCH] VFS: new fgetattr() file operation

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <staubach@...>
Cc: <akpm@...>, <hch@...>, <linux-kernel@...>, <linux-fsdevel@...>
Date: Wednesday, October 24, 2007 - 11:27 am

> > The constraint is that the server has to be an ordinary unprivileged

Yes, those filesystems, which have a file ID that can be used to index
the inodes.  Lot of filesystems (mostly those not originating from
UNIX) don't have such an ID.


What's wrong with it?


Like?


In what way does passing the open file to the filesystem for the
fstat() syscall negatively impact Linux?

Usually it is best to design midlayers, so that they do the minimal
stuff, and pass the maximum of information to the low-layer, and
providing helper functions that the low-layer doesn't want to do
anything special.  Hiding information from the low-layer is pointless.


I'm not sure what you are talking about here.  AFAICS this change
has absolutely nothing to do with filesystem (or any other kind of)
security.


No problem.  Thanks anyway for your comments.

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

Messages in current thread:
[PATCH] VFS: new fgetattr() file operation, Miklos Szeredi, (Wed Oct 24, 7:59 am)
Re: [PATCH] VFS: new fgetattr() file operation, Peter Staubach, (Wed Oct 24, 9:02 am)
Re: [PATCH] VFS: new fgetattr() file operation, Miklos Szeredi, (Wed Oct 24, 9:43 am)
Re: [PATCH] VFS: new fgetattr() file operation, Peter Staubach, (Wed Oct 24, 11:02 am)
Re: [PATCH] VFS: new fgetattr() file operation, Miklos Szeredi, (Wed Oct 24, 11:27 am)
Re: [PATCH] VFS: new fgetattr() file operation, David Chinner, (Thu Oct 25, 6:42 pm)
Re: [PATCH] VFS: new fgetattr() file operation, Miklos Szeredi, (Thu Oct 25, 7:10 pm)
Re: [PATCH] VFS: new fgetattr() file operation, David Chinner, (Thu Oct 25, 7:52 pm)
Re: [PATCH] VFS: new fgetattr() file operation, Miklos Szeredi, (Fri Oct 26, 5:33 am)