Re: [patch 11/14] vfs: move executable checking into ->permission()
From: Miklos Szeredi
Date: Wed May 21 2008 - 15:35:21 EST
> > No, we don't want to deny read or write (that's up to the filesystem
> > how it handles it), just want to deny execute if no x bits are set in
> > the mode.
>
> OK, but when I see something with the name 'exec_permission()', I assume
> that it is going to check for whether or not I have execute permission.
>
> If that is not the case, then can we please either change the function,
> or change the name?
Yeah, the name's not very good. Especially that there's an
exec_permission_lite() in the same file, which has nothing to do with
this.
Will try to think of something better.
Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/