Max Filippov <[email protected]> writes:

> Fix new_argv allocation size to be `(argc + 2) * sizeof(char *)` bytes,
> which matches the way it's used to store `argc + 2` pointers.
>
> This fixes the test for me, which otherwise fails on xtensa with the
> following message
>
>   linux-sigrtminmax.c: 59: main: Assertion `execve(new_argv[0], new_argv, 
> environ) == 0' failed.'.
>
> Signed-off-by: Max Filippov <[email protected]>

Queued to testing/next, thanks.
<snip>

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro

Reply via email to