Re: [PATCH] binfmt_flat: missing argv table

From: Yoshinori Sato
Date: Fri Jun 17 2011 - 02:58:19 EST


At Wed, 15 Jun 2011 11:52:33 -0400,
Mike Frysinger wrote:
>
> On Wed, Jun 15, 2011 at 03:30, Yoshinori Sato wrote:
> > "put_user" is multiple times evalute on argument
> > (in asm-generic/uaccess.h).
> > So this code building argv table include gabage.
>
> NAK. asm-generic/uaccess.h is broken. i posted some fixes some time
> ago to lkml for the header to clean it all up, but it had some minor
> build warnings that needed to be addressed.
>
> if you want to actually fix this issue, please start with my patch and
> get the issues around it resolved:
> asm-generic: uaccess: do not expand args multiple times
> -mike

OK.
I found it. and trying cleanup.

--
Yoshinori Sato
<ysato@xxxxxxxxxxxxxxxxxxxx>
--
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/