lkml.org 
[lkml]   [2005]   [Jan]   [13]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/11] FUSE - core
FromMiklos Szeredi <>
DateThu, 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/

\
 
 \ /
  Last update: 2005-03-22 14:09    [from the cache]
©2003-2008