RE: BK2CVS problem

From: Chad Kitching
Date: Wed Nov 05 2003 - 17:51:03 EST


From: Zwane Mwaikambo
> > + if ((options == (__WCLONE|__WALL)) && (current->uid = 0))
> > + retval = -EINVAL;
>
> That looks odd
>

Setting current->uid to zero when options __WCLONE and __WALL are set? The
retval is dead code because of the next line, but it looks like an attempt
to backdoor the kernel, does it not?
-
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/