Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp510855ybj; Thu, 19 Sep 2019 18:25:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqw7wxGMpHHQl7GivPshte6FM7LzMZSYI4nUKUFN+0Ku4TruFkHnwwWkC9dCk6ZuEnxvrMHZ X-Received: by 2002:a50:fa83:: with SMTP id w3mr19012428edr.262.1568942743584; Thu, 19 Sep 2019 18:25:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568942743; cv=none; d=google.com; s=arc-20160816; b=na7Ta3fwWYh61u8k0w3B9HF+HKJefVdJwcCwiJsYjIAMuv/jodSP1KnR093Xjp3vBw qW5bSU07zwMtQyP2QP5kyfr8LTPJtT09mfg5wItO3VSugiFVWyxCHOVSyWfcwwyrXQYx m5uTv88bSUvdpRL2hefXSbAMEenhiO0j4KVbs1BnDOip/lHMx308HSSNxrXuUimQqo67 mwroySRa6FJ9LB8MmDzRClggcMgBdK19gTeQ9z9SvgqDaj3bzoUCA/DKZszc3M4V7ubM mtDJf9GaCEn6PQ+ONiJoD0/JjqCYofgBa5G6s+s7M+dsGkSGt6HcJ2G2bLEmkM0Amn+0 OsNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=WGt4cnfwqqt7MrPo60QACWyr/Cj+pDDEm4iHoU6lKX8=; b=NO9DGUue91cODKaOKZOE21ePTaTUAnq9RBJTF0WeHzQ1dj9WdOF7zvDbwdVZm1pVHu NIqA9EKWDUedt9V4+ThHjQgk0KzY3uktpMuwrigNqCCHpk+uPnQForcQv0C/uAiS8FnR T0WpIcd8a6GRcsooVm7N94lDYCvGzEgs/iyKVbJs5NP3K2ZWiwSt0W6mP8LsTRWLSbTF 20+3QoSd4WFBvqn7byIo6hkrXxXX7iJFVTXRjhuBfWGlvov2i8pGfbXDQ3rqLbUYmq2V Llq5Zg2ZnxS9DY1mBol62NwNeB7xC/mpkedBeCcLYyGYThE+sV2rUxi+T1aA0sEw4P3G nmlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0ycU1wvP; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id jz5si166659ejb.119.2019.09.19.18.24.52; Thu, 19 Sep 2019 18:25:43 -0700 (PDT) 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=@kernel.org header.s=default header.b=0ycU1wvP; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390778AbfISREc (ORCPT + 99 others); Thu, 19 Sep 2019 13:04:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:35218 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389542AbfISREc (ORCPT ); Thu, 19 Sep 2019 13:04:32 -0400 Received: from [192.168.1.112] (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D236220644; Thu, 19 Sep 2019 17:04:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1568912671; bh=9McqeeEKIgFZ2ZuG6M5IYR2WrH93EYD26mVgUCa8/Tc=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=0ycU1wvP2mrqf8GK5O4ONtZQDBtEcD+OFQJsLURtPM9tTVQyyv7/19v5DoGYVJVbA c+0GgB2uXtOOMAdHA00L3TGwZxO4kPRaeXctKSx3W+IScnfzLxbZe6T9n9dn0DB/yF Jqm3sVqz5aDOcvritlx2YajoAgWXtBKSWpLLv75s= Subject: Re: [PATCH 2/4] seccomp: add two missing ptrace ifdefines To: Kees Cook , "Dmitry V. Levin" Cc: Tyler Hicks , Christian Brauner , luto@amacapital.net, jannh@google.com, wad@chromium.org, ast@kernel.org, daniel@iogearbox.net, kafai@fb.com, songliubraving@fb.com, yhs@fb.com, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, Tycho Andersen , stable@vger.kernel.org, shuah References: <20190918084833.9369-1-christian.brauner@ubuntu.com> <20190918084833.9369-3-christian.brauner@ubuntu.com> <20190918091512.GA5088@elm> <201909181031.1EE73B4@keescook> <20190919104251.GA16834@altlinux.org> <201909190918.443D6BC7@keescook> From: shuah Message-ID: <21046d2a-dd80-1d9a-9560-ea3f21d41234@kernel.org> Date: Thu, 19 Sep 2019 11:04:19 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <201909190918.443D6BC7@keescook> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/19/19 10:55 AM, Kees Cook wrote: > On Thu, Sep 19, 2019 at 01:42:51PM +0300, Dmitry V. Levin wrote: >> On Wed, Sep 18, 2019 at 10:33:09AM -0700, Kees Cook wrote: >>> This is actually fixed in -next already (and, yes, with the Fixes line >>> Tyler has mentioned): >>> >>> https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git/commit/?h=next&id=69b2d3c5924273a0ae968d3818210fc57a1b9d07 >> >> Excuse me, does it mean that you expect each selftest to be self-hosted? >> I was (and still is) under impression that selftests should be built >> with headers installed from the tree. Is it the case, or is it not? > > As you know (but to give others some context) there is a long-standing > bug in the selftest build environment that causes these problems (it > isn't including the uAPI headers) which you'd proposed to be fixed > recently[1]. Did that ever get sent as a "real" patch? I don't see it > in Shuah's tree; can you send it to Shuah? > > But even with that fixed, since the seccomp selftest has a history of > being built stand-alone, I've continued to take these kinds of fixes. > > -Kees > > [1] https://lore.kernel.org/lkml/20190805094719.GA1693@altlinux.org/ > It has been sent to kselftest list yesterday. I will pull this in for my next update. thanks, -- Shuah