Re: [patch 07/14] vfs: pass dentry to permission()

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Miklos Szeredi <miklos@...>
Cc: <linux-fsdevel@...>, <hch@...>, <linux-kernel@...>
Date: Wednesday, May 21, 2008 - 4:29 pm

On Wed, May 21, 2008 at 07:15:05PM +0200, Miklos Szeredi wrote:

No.  Take a good look at the instances.

	a) only one aberrant case cares about dentry, and for extremely
wrong reasons.  /proc/sys/ stuff.  ecryptfs, of course, will be happy
with any variant.
	b) few flags that are looked at are trivially mapped to new MAY_...

I have a patch series that does it, but it involves tons of fixing the
sysctl handling to be finished ;-/  And yes, we need sysctl to quit
doing the "I want to get ctl_table entry, so I'll do very painful search
by dentry every damn time" in any case - look at that code, it's far
too ugly to live.

IOW, consider this ->permission() API change NAKed.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 07/14] vfs: pass dentry to permission(), Miklos Szeredi, (Wed May 21, 1:15 pm)
Re: [patch 07/14] vfs: pass dentry to permission(), Al Viro, (Wed May 21, 4:29 pm)
Re: [patch 07/14] vfs: pass dentry to permission(), Miklos Szeredi, (Thu May 22, 3:00 am)
Re: [patch 07/14] vfs: pass dentry to permission(), Miklos Szeredi, (Thu May 22, 3:12 am)