Messages in this thread | | | Date | Wed, 17 Nov 2004 20:19:26 +0000 | From | Al Viro <> | Subject | Re: [patch] inotify: vfs_permission was replaced |
| |
On Wed, Nov 17, 2004 at 02:17:32PM -0500, Robert Love wrote: > On Wed, 2004-11-17 at 19:18 +0000, Christoph Hellwig wrote: > > > No it doesn't. Please try to understand the APIs before you're using them. > > Just looking at the callers should give you an immediate clue. > > Maybe you should look at the code in question. We actually want to > perform the exact same sort of permission checks that, say, read > performs.
Maybe you should look at the code in kernel - e.g. aforementioned sys_read(). Or sys_open().
The only fs-independent code that has any business calling that puppy is permission(9). - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |