Re: [PATCH] 2.4.8-pre3 fsync entire path (+reiserfs fsync semanticchange

Hans Reiser (reiser@namesys.com)
Sat, 04 Aug 2001 11:45:47 +0400


Alexander Viro wrote:
>
> On Sat, 4 Aug 2001, Chris Wedgwood wrote:
>
> > 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/

Can you define f_cred for us?

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