> On Fri, Aug 03, 2001 at 07:41:40PM -0400, Alexander Viro wrote:
>
> file->f_cred. Different people opening the same file can have
> different credentials (e.g. credentials can be revoked)
>
> Sure, but if I
>
> f = open("/home/viro/file", ... );
> fsync(f);
>
> I only have creds for 'file' --- I have no such thing for 'viro' or
> 'home', so I can't do anything sensible here.
Credentials are about "I'm foo", not "I'm allowed to do this with that".
Server decides what you can do.
-
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/