From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexei Starovoitov Subject: Re: Permissions for eBPF objects Date: Fri, 25 Aug 2017 18:03:32 -0700 Message-ID: <20170826010330.tuospq5h43fv3tlp@ast-mbp> References: <1503689199.9977.4.camel@tycho.nsa.gov> <59A0837F.9090301@iogearbox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: Chenbo Feng , Jeffrey Vander Stoep , Stephen Smalley , netdev@vger.kernel.org, SELinux , mic@digikod.net To: Daniel Borkmann Return-path: Received: from mail-pf0-f170.google.com ([209.85.192.170]:36046 "EHLO mail-pf0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751508AbdHZBDg (ORCPT ); Fri, 25 Aug 2017 21:03:36 -0400 Received: by mail-pf0-f170.google.com with SMTP id k3so174600pfc.3 for ; Fri, 25 Aug 2017 18:03:35 -0700 (PDT) Content-Disposition: inline In-Reply-To: <59A0837F.9090301@iogearbox.net> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, Aug 25, 2017 at 10:07:27PM +0200, Daniel Borkmann wrote: > On 08/25/2017 09:52 PM, Chenbo Feng wrote: > > On Fri, Aug 25, 2017 at 12:45 PM, Jeffrey Vander Stoep wrote: > > > On Fri, Aug 25, 2017 at 12:26 PM, Stephen Smalley wrote: > > > > On Fri, 2017-08-25 at 11:01 -0700, Jeffrey Vander Stoep via Selinux > > > > wrote: > > > > > I’d like to get your thoughts on adding LSM permission checks on BPF > > > > > objects. before reinventing the wheel please take a look at landlock work. Everything that was discussed in this thread is covered by it. The patches have been in development for more than a year and most of the early issues have been resolved. It will be presented again during security summit in LA in September.