Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752715AbbKBUdO (ORCPT ); Mon, 2 Nov 2015 15:33:14 -0500 Received: from mail-vk0-f41.google.com ([209.85.213.41]:32997 "EHLO mail-vk0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752263AbbKBUdL (ORCPT ); Mon, 2 Nov 2015 15:33:11 -0500 MIME-Version: 1.0 In-Reply-To: <5637C30F.70001@osg.samsung.com> References: <1446490222-528-1-git-send-email-rsesek@google.com> <5637C30F.70001@osg.samsung.com> From: Robert Sesek Date: Mon, 2 Nov 2015 15:32:51 -0500 Message-ID: Subject: Re: [PATCH] selftests/seccomp: Be more precise with syscall arguments. To: Shuah Khan Cc: Kees Cook , LKML Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1240 Lines: 36 On Mon, Nov 2, 2015 at 3:09 PM, Shuah Khan wrote: > On 11/02/2015 12:49 PM, Kees Cook wrote: >> On Mon, Nov 2, 2015 at 10:50 AM, Robert Sesek 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 >> >> Signed-off-by: Kees Cook >> >> 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/ Thanks, Robert -- 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/