Re: [PATCH 2/11] FUSE - core

From: Miklos Szeredi
Date: Thu Jan 13 2005 - 00:33:01 EST



> > +static int fuse_fill_super(struct super_block *sb, void *data, int silent)
> > +{
> > ...
> > + if (!inc_mount_count() && current->uid != 0)
> > + goto err;
>
> The open-coded current->uid test needs to go. capable(CAP_SYS_ADMIN)?

OK.

Thanks,
Miklos
-
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/