Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4660989pxu; Tue, 13 Oct 2020 04:14:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsrkDFm2l9xiOWVgqIWbvzjfpfalNgNeFwpGgKDOQaKtB0fzJrv7QM7nkl7t91rSbl342C X-Received: by 2002:a17:906:14d8:: with SMTP id y24mr32316063ejc.123.1602587643061; Tue, 13 Oct 2020 04:14:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602587643; cv=none; d=google.com; s=arc-20160816; b=iOuTadKRFYc8Rb9hH16PsNLIZBRVOIybV34wv8d8j2PJOtnXcfzQmws0r+/w1oVxM9 Ys6/cQ+IzN4SG1mG9wWUHAeFiQCP4CPVsXj1+Fr+laWyYPNB4jh/7VB9EVHDpp94dsVz mZanpGkBR+d4Z3mZx3U9RluYz+IVgyPe3A6YxwQGGOSdVLrC6YtBTfBPGn2q5xQao52F UxUOkyJn4tW3xAAfnCQ2Og1FOGuHz2kkPzxybOmmwNahD9Y9uKHD2YGbqbrQZKgz0kaW pUBD/8FgG1cxylZQNfiupalyQfAkhssCf/X0Pz2ilj0IPjcBak9mA0hyEKF7AIQopIbx gWWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ho1l607OAVVmLnoWlMqhfwRhJkqSim+LddBz61r0Qos=; b=IV99ena+2fg37BWcAM5cIQC7ZO6bM5fp8uSShBvXina9DwcqteU0/i3zysCe4AwKDl f/mTJlVCuk5rv9NaWgZ27UsEstoX9l4rIMzr1TgHqvawj6FQy9NVNx//WznugNYcthGP 2Wzh0ZnG14bllT4M34MFl0jceD3h9ykfgCbq8pyYnZfY/j4DrKa3F79tECDOKL7upQYe tKI5wWpFlpFTk6W7pNqVzftvN+nK5H2QxnrLN+i2hREeGoqMeG6UUWx0mgmh/AjsmKTp 029sR3ORouPszzj+YLokczAIOM1Q1a/ItVsI4FqTvdT9yZl0ve/yz2cOaLgcBnX6jRKz +3VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=JJQ4S6hW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cd12si12760890ejb.745.2020.10.13.04.13.40; Tue, 13 Oct 2020 04:14:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=JJQ4S6hW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390898AbgJLW5k (ORCPT + 99 others); Mon, 12 Oct 2020 18:57:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388573AbgJLW5k (ORCPT ); Mon, 12 Oct 2020 18:57:40 -0400 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25B47C0613D1 for ; Mon, 12 Oct 2020 15:57:39 -0700 (PDT) Received: by mail-pf1-x441.google.com with SMTP id f19so15108724pfj.11 for ; Mon, 12 Oct 2020 15:57:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=ho1l607OAVVmLnoWlMqhfwRhJkqSim+LddBz61r0Qos=; b=JJQ4S6hWNOQEK+Sy3Y+6MHvE6gOOcxmTo+VnXkRAr4YZg1jAzA2NjbHn3GiUPeK8gf 0ipw1LXDfr3tEdWE6dRrL6M12460zyb+sjoMJRNxEoEbW1Tj6e5VYs12zu49n5jFE+ag LA//Dq0oC90jGuPSuhQwam8VrIDDiTx3NpK3M= 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; bh=ho1l607OAVVmLnoWlMqhfwRhJkqSim+LddBz61r0Qos=; b=nkufcJg9JSMIz2XXwPTr8fomN09sMaEctc/1c3p7VUaOvt3g33CZQhgXNLzk66muRg ey5RU1Y0tFzk4SyvguVmMnMqhHwGCMsJSwmfMZd2uRYXUNvsd3epG6XEf5btoGn6xlFI //7cCCLFarpCWk/ZMvMsZUMwtw37ev4n8jk9aS9WEbvJ0Oq6b6s1JRv6G3ZU6xSJxOj1 DhTX/xGz1TXJIQjYQ+M9hl3jfq2OYLlgn9SBPAhWmgE3Q1pfK2SPuNZo0dyspDZKCl+G yk7PFd958wWARynmlv0GxG5U/7lWIDpLXalWe5QGr+y/AJXgkQm+xKcRNRec5ir06oPp gnCQ== X-Gm-Message-State: AOAM5322QL9Y1Voupz0i/WvhmWeTnNS5siXrreUYjUrE2SMxth5AQ9xX hoCMgpgmHg1Nxk7iblyRo84elQ== X-Received: by 2002:a17:90a:a782:: with SMTP id f2mr2869911pjq.50.1602543458516; Mon, 12 Oct 2020 15:57:38 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id j6sm20479216pfi.129.2020.10.12.15.57.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Oct 2020 15:57:37 -0700 (PDT) Date: Mon, 12 Oct 2020 15:57:36 -0700 From: Kees Cook To: YiFei Zhu Cc: Linux Containers , YiFei Zhu , bpf , kernel list , Aleksa Sarai , Andrea Arcangeli , Andy Lutomirski , David Laight , Dimitrios Skarlatos , Giuseppe Scrivano , Hubertus Franke , Jack Chen , Jann Horn , Josep Torrellas , Tianyin Xu , Tobin Feldman-Fitzthum , Tycho Andersen , Valentin Rothberg , Will Drewry Subject: Re: [PATCH v4 seccomp 5/5] seccomp/cache: Report cache data through /proc/pid/seccomp_cache Message-ID: <202010121556.1110776B83@keescook> References: <202010091613.B671C86@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 10, 2020 at 08:26:16AM -0500, YiFei Zhu wrote: > On Fri, Oct 9, 2020 at 6:14 PM Kees Cook wrote: > > HAVE_ARCH_SECCOMP_CACHE isn't used any more. I think this was left over > > from before. > > Oh, I was meant to add this to the dependencies of > SECCOMP_CACHE_DEBUG. Is this something that would make sense? I think it's fine to just have this "dangle" with a help text update of "if seccomp action caching is supported by the architecture, provide the /proc/$pid ..." -- Kees Cook