Re: [PATCH 3/8] Simplify exec_permission_lite() further

From: Jamie Lokier
Date: Tue Sep 08 2009 - 10:40:29 EST


Linus Torvalds wrote:
> This function is only called for path components that are already known
> to be directories (they have a '->lookup' method). So don't bother
> doing that whole S_ISDIR() testing,

A few years ago you briefly discussed diddling the VFS to accept
objects which are both files and directories. That is, have
->lookup() and also can be read as regular files.

I don't know if your thinking has changed, and I don't particularly
care, only thought I'd remind in case it's something you'd like to
support at some point.

-- Jamie
--
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/