Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7717845imu; Mon, 3 Dec 2018 18:18:29 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vs0secmSpItkASxKTkdMDGv+Tu+WvSNAziGQxM0cajcBorDzkFwlHBkQv068Zuc6td+aJU X-Received: by 2002:a63:5518:: with SMTP id j24mr15025382pgb.208.1543889909573; Mon, 03 Dec 2018 18:18:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543889909; cv=none; d=google.com; s=arc-20160816; b=L4Ogc/dpeO//ZcTotg1PopNyGVICwiwkVJsorxfIngdh9xoETiiYiMDDj5wZVNTIO0 nCJEoHSdoIR24rMpbQwirIxdo8TubxuHCF8pahTH+rELh/Yk+gPgYEy4EmpJG4KeUlPf 7wGTycg33Fq81esoyUrQbZAft3SIvV0FOlEwkd0ETX/liFISeVbcexRHSXUfqZFpvq6R AYBGnEe4EROPi9Dp9rcYtv3vO0UW+/Llg6gsfduAocS9inTuNwRFkPpwe6WhGKVryok/ sGd0xyn+7EUPI3bjzQSsYOAtL2LFQOQ9/AlAfuOy8i4i4ATNvIVDrqIMkLDubv9117Gq j8JQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bDizr153c6j57K/g10W+AxCGdbo7ozSv+UR/4W6vY98=; b=JPKb/sOFhOnpGuPOC3biqzPPkrFt/9pF11SfE4cZW/syCmZCNbCpKS77+DCWjC0mlR V7kYZEZ+A8KuQnRbHx2Y8zs+7s7Qdw5WKPycJqVmFfLMSQLhGJJl/QW218dMgKi9Asct LFahCj+/DfhvDGBFCH5EDWFR6ISnebGzZqNmY0+dLRSOTLQi9x3GosKs3tP7QGTEJDH5 lx5ftl0Ioz0oTAi+BHWhsKGU8DQN/gzT0qbLPbi+695y8/ZA0p5pcN1oFvmKivt/a1El VTCiJRFYiJMjst/f29hyN6HbCktHXYc1VRGJbI1xa36yGnzTsCXJAZLrxAik5NqvNdfh Oqfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tycho-ws.20150623.gappssmtp.com header.s=20150623 header.b=k5cZ16N7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 37si15983354plv.243.2018.12.03.18.18.08; Mon, 03 Dec 2018 18:18:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@tycho-ws.20150623.gappssmtp.com header.s=20150623 header.b=k5cZ16N7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725992AbeLDCRb (ORCPT + 99 others); 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-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