From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.5 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_PASS,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 37A46C04EB9 for ; Tue, 4 Dec 2018 02:17:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5E56A208A3 for ; Tue, 4 Dec 2018 02:17:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=tycho-ws.20150623.gappssmtp.com header.i=@tycho-ws.20150623.gappssmtp.com header.b="k5cZ16N7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5E56A208A3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=tycho.ws Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726001AbeLDCRb (ORCPT ); Mon, 3 Dec 2018 21:17:31 -0500 Received: from mail-it1-f194.google.com ([209.85.166.194]:39800 "EHLO mail-it1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725968AbeLDCRb (ORCPT ); Mon, 3 Dec 2018 21:17:31 -0500 Received: by mail-it1-f194.google.com with SMTP id a6so11963444itl.4 for ; Mon, 03 Dec 2018 18:17:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tycho-ws.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=bDizr153c6j57K/g10W+AxCGdbo7ozSv+UR/4W6vY98=; b=k5cZ16N73KNHHgv/ZqlufGarfMTXVLOBNbI3xgYHWvLzpfVMIDcj1a6zL4mb/1YCuK K7Uqk+Zt/WuumtUWpsFO+57Rca6Hrk9Akn63xhyQ0HPB5GeVtUML36Oy+IPXberSYANX YCxHe3SsVsX7SdXMB60vMZgZwSglcdgR5Fn8B6c7zcfcBYPkWW6DMToGcQi3kfVD3SVI iYRY3yDsHdv9wBwi/76xC0/3ruSlSMFdMK2/nPX3Xn1Y/VxKy7tyiMZzyAv+GBHfy4k8 1nXa+7eW9jXofvwcU4kMV9s7W/gRFAprAs4Ww5QLlG+7QVrGkGuCr7vgB4lLzUK4hUzA IDQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=bDizr153c6j57K/g10W+AxCGdbo7ozSv+UR/4W6vY98=; b=N5eooWGk4XMSd/b7NFebiPi8uJsElHI0UsdCkg9INq2z6Z8sWJ4MrbkK8QmBP4Yk1D Skx240SORuWKh3jKoLU1I37VbOyJDOg+S4uyHfGLtibfhPKjF8ndUqIjDvv8UGd7Fxlt dapYJNC1sZlCOWvztzhMpB4rNt9fEMb+JNuRrkuImvd81dFIjBnCY0XbM8hnaWkVvLge BjTJo+Q9Gy+U83dBR8kkh9eDIB5GDAT8B8ObPJYCLkJF5kwoAd4Ecur3p7aRQqGlkT4k jK6Fna0W5KmPKm6khI9WegghTiiFKOmEQbWAKDnQ8siK0yQiLx/NIzHj8lwzvjuBZ12M F8oA== X-Gm-Message-State: AA+aEWb46cJB4otNmedv1crVL5RRWKiR9esVt476i4SAt6tynIgyrfkE fcGFbZdnRg+LzUko2LGcYRtWSg== X-Google-Smtp-Source: AFSGD/VrObMjuTYKjl0ELD70AYRNMk1vK+03VNS/ld4sWnQY3rrNPH3Ipw+7TOuBnoEhFnpYtDoILg== X-Received: by 2002:a24:e04a:: with SMTP id c71mr10062608ith.127.1543889849629; Mon, 03 Dec 2018 18:17:29 -0800 (PST) Received: from cisco (71-218-133-134.hlrn.qwest.net. [71.218.133.134]) by smtp.gmail.com with ESMTPSA id k64sm3313322itb.7.2018.12.03.18.17.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Dec 2018 18:17:28 -0800 (PST) Date: Mon, 3 Dec 2018 19:17:26 -0700 From: Tycho Andersen To: kbuild test robot Cc: kbuild-all@01.org, Kees Cook , Andy Lutomirski , Oleg Nesterov , "Eric W . Biederman" , "Serge E . Hallyn" , Christian Brauner , Tyler Hicks , Akihiro Suda , Aleksa Sarai , Jann Horn , linux-kernel@vger.kernel.org, containers@lists.linux-foundation.org, linux-api@vger.kernel.org Subject: Re: [PATCH v9 2/4] seccomp: switch system call argument type to void * Message-ID: <20181204021726.GG3504@cisco> References: <20181203032827.27978-3-tycho@tycho.ws> <201812041031.7kJxvTuh%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201812041031.7kJxvTuh%fengguang.wu@intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 04, 2018 at 10:07:38AM +0800, kbuild test robot wrote: > Hi Tycho, > > I love your patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.20-rc5 next-20181203] > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] > > url: https://github.com/0day-ci/linux/commits/Tycho-Andersen/seccomp-hoist-struct-seccomp_data-recalculation-higher/20181204-013450 > config: i386-randconfig-x005-201848 (attached as .config) > compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 > reproduce: > # save the attached .config to linux build tree > make ARCH=i386 > > All errors (new ones prefixed by >>): > > In file included from kernel/seccomp.c:28:0: > >> include/linux/syscalls.h:239:18: error: conflicting types for 'sys_seccomp' > asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ > ^ > include/linux/syscalls.h:225:2: note: in expansion of macro '__SYSCALL_DEFINEx' > __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:216:36: note: in expansion of macro 'SYSCALL_DEFINEx' > #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) > ^~~~~~~~~~~~~~~ > kernel/seccomp.c:946:1: note: in expansion of macro 'SYSCALL_DEFINE3' > SYSCALL_DEFINE3(seccomp, unsigned int, op, unsigned int, flags, > ^~~~~~~~~~~~~~~ > In file included from kernel/seccomp.c:28:0: > include/linux/syscalls.h:881:17: note: previous declaration of 'sys_seccomp' was here > asmlinkage long sys_seccomp(unsigned int op, unsigned int flags, > ^~~~~~~~~~~ Huh, I have no idea why I don't see this, but even with the attached config it still doesn't cause a problem for me. Anyway, I'll fix it up and do some more investigating... Tycho