Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1142645ybl; Wed, 8 Jan 2020 11:47:09 -0800 (PST) X-Google-Smtp-Source: APXvYqyfF+yJexmW4u1a2cy/l3tWJhAmhfqT3/A3kij1pj13ej4pYTReq2ApsPxLaiver4cCgpik X-Received: by 2002:aca:6042:: with SMTP id u63mr222557oib.76.1578512828862; Wed, 08 Jan 2020 11:47:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578512828; cv=none; d=google.com; s=arc-20160816; b=JD+oYmmcOalsLBoatZUpKsVpGzPpoaKT1kMw0bPLmcsxVCy+6ZvTS9CrCgw9PTIoes mUHTFlXqUwJPpbpnyb0ej5Dg9XD7js5A4eyDbGYyldPCCvTseFEJl9csXTJBp4HA0/CJ fnlaaQeAzw9umwCXaPbP3jNHf9wIBIzH2sgWiiidA75KgWfGBsnJI7YWq/sMcNXm6ZiP n6GhI2gLzbTuYM/Wn0pkedatwNPkutKd6utcxSgX+pEMlxNRkGQ2cQeQHRRbetTSuT+0 ueP+zbaWqh9Z1BmNGjIxcznll8viN+dVNWclqd6GRplZAmDsCY3W7Al3tUSSo7VOsHQB Hscg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=sTmvqp+ipNhyLeU+ZYVkb/lQih+xtxu0kSN1HKtLddk=; b=LIOsO0YFNU4HUWO4GX+LT+ZY2fJEm8KQJZDHynb5yIAlcWelYNDgnb92HOzGDTxwAe f7ruAt8rz+Syb5mKXZvuW1XLGoee6Zrt9/99mGo2mHwLDrK3dLVBSbreo19xJ/BI3OVS KR8e2/LGBLz5guYiq83cX7fJheQKH1ewlkO8OZ0d3BE561lFOvvKxFAR773JOfO9OX4/ o6Fyblk+SS1gZ9OFrm4ju8aXYwkcIzgbQO40vl5qRtXgO1t+uOyLgHtsv2kNsg3oRiB5 zEopWPDzLzPMxaZqgYiWc2wtwHNqVZ9bp18l3pe8csDRN9Sikux8eJjFjNtRJKuxnF0q n4Yw== ARC-Authentication-Results: i=1; mx.google.com; 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 w15si2255719otm.263.2020.01.08.11.46.56; Wed, 08 Jan 2020 11:47:08 -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; 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 S1730230AbgAHS1v (ORCPT + 99 others); Wed, 8 Jan 2020 13:27:51 -0500 Received: from namei.org ([65.99.196.166]:56196 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727169AbgAHS1u (ORCPT ); Wed, 8 Jan 2020 13:27:50 -0500 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id 008IRGfL027152; Wed, 8 Jan 2020 18:27:16 GMT Date: Thu, 9 Jan 2020 05:27:16 +1100 (AEDT) From: James Morris To: Kees Cook cc: KP Singh , Casey Schaufler , open list , bpf , linux-security-module@vger.kernel.org, Alexei Starovoitov , Daniel Borkmann , Thomas Garnier , Michael Halcrow , Paul Turner , Brendan Gregg , Jann Horn , Matthew Garrett , Christian Brauner , =?ISO-8859-15?Q?Micka=EBl_Sala=FCn?= , Florent Revest , Brendan Jackman , Martin KaFai Lau , Song Liu , Yonghong Song , "Serge E. Hallyn" , Mauro Carvalho Chehab , "David S. Miller" , Greg Kroah-Hartman , Nicolas Ferre , Stanislav Fomichev , Quentin Monnet , Andrey Ignatov , Joe Stringer Subject: Re: [PATCH bpf-next v1 00/13] MAC and Audit policy using eBPF (KRSI) In-Reply-To: <201912301112.A1A63A4@keescook> Message-ID: References: <20191220154208.15895-1-kpsingh@chromium.org> <95036040-6b1c-116c-bd6b-684f00174b4f@schaufler-ca.com> <201912301112.A1A63A4@keescook> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 30 Dec 2019, Kees Cook wrote: > > Given the discussion around tracing and stable ABI at the last kernel > summit, Linus's mandate is mainly around "every day users" and not > around these system-builder-sensitive cases where everyone has a strong > expectation to rebuild their policy when the kernel changes. i.e. it's > not "powertop", which was Linus's example of "and then everyone running > Fedora breaks". > > So, while I know we've tried in the past to follow the letter of the > law, it seems Linus really expects this only to be followed when it will > have "real world" impact on unsuspecting end users. > > Obviously James Morris has the final say here, but as I understand it, > it is fine to expose these here for the same reasons it's fine to expose > the (ever changing) tracepoints and BPF hooks. Agreed. This API should be seen in the same light as tracing / debugging, and it should not be exposed by users directly to general purpose applications. -- James Morris