Re: [PATCH] selftests/seccomp: Be more precise with syscall arguments.

From: Shuah Khan
Date: Mon Nov 02 2015 - 16:44:06 EST


On 11/02/2015 01:32 PM, Robert Sesek wrote:
> On Mon, Nov 2, 2015 at 3:09 PM, Shuah Khan <shuahkh@xxxxxxxxxxxxxxx> wrote:
>> On 11/02/2015 12:49 PM, Kees Cook wrote:
>>> On Mon, Nov 2, 2015 at 10:50 AM, Robert Sesek <rsesek@xxxxxxxxxx> wrote:
>>>> Certain syscall emulation layers strictly check that the number of
>>>> arguments match what the syscall handler expects. The KILL_one_arg_one and
>>>> KILL_one_arg_six tests passed more parameters than expected to various
>>>> syscalls, causing failures in this emulation mode. Instead, test using
>>>> syscalls that take the appropriate number of arguments.
>>>>
>>>> Signed-off-by: Robert Sesek <rsesek@xxxxxxxxxx>
>>>
>>> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
>>>
>>> Looks great, thanks!
>>>
>>> Shuah, can you take this into the selftests tree?
>>>
>>
>> Robert,
>>
>> Could you please send this patch to me. It didn't make to
>> my Inbox.
>>
>> thanks,
>> -- Shuah
>
> Sure. I have re-mailed you the patch directly. It's also available here:
> https://patchwork.kernel.org/patch/7537891/
>

Applied to linux-kselftest next for 4.4 with Kees's signedoff

Thanks
-- Shuah


--
Shuah Khan
Sr. Linux Kernel Developer
Open Source Innovation Group
Samsung Research America (Silicon Valley)
shuahkh@xxxxxxxxxxxxxxx | (970) 217-8978
--
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/