Re: VFS / struct inode_operation: Extend permission() + add syscall?

Jan Kara (jack@atrey.karlin.mff.cuni.cz)
Wed, 6 Oct 1999 11:36:38 +0200


> The permission() function in the VFS (and the permission()
> inode operations) only work for the current user.
>
> Why is that?
> What are the arguments against making adding a permission_uid()
> function, with the uid a parameter?
UID isn't the complete identification of process's rights. You would also
need to pass for example capabilities or groups...

Honza.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/