Messages in this thread | | | Subject | Re: [PATCH 2/11] FUSE - core | From | Miklos Szeredi <> | Date | Thu, 13 Jan 2005 06:31:27 +0100 |
| |
> > +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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |