Received: by 10.223.164.221 with SMTP id h29csp5286662wrb; Fri, 20 Oct 2017 09:37:32 -0700 (PDT) X-Google-Smtp-Source: ABhQp+Qaq35NTOH2d8uHs78AueTM8cUFqx5QNomOOSMuA0wIOaelTNybYr0vPixwcB+xT7IFO3w1 X-Received: by 10.98.32.212 with SMTP id m81mr5650818pfj.227.1508517452237; Fri, 20 Oct 2017 09:37:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508517452; cv=none; d=google.com; s=arc-20160816; b=OMq5UIiTPRog6811xuQSUN8F/4ER7ecHB67phpQO4umOEXGEt8d7/8iuwxRz+UCD3U NilDLk2Bnq6L+VZ2iTJT21TqYUiA4b7SnpxnYnGwr9DjCm3GlW846zcpr9kurasjAYZY gBxTW5DdGGZnYTrQ/jvNR53qm5iRv31ble2gOPOKA4fA98qpuQU45/Z0DWnBvT9mVxL5 39yhwTeMJ1mIc3mv0dTvXdlzOijS5eDqxbJ8fDe6RJhoUxnv0Yg5prDescmrc0sDJ3M9 x7+ojnX4PhceMX3pa7VbiGtbQOkd9BpwIScpoIiw4kTAejoSJszYvzug2uShFCJtlb4+ D+nQ== 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:arc-authentication-results; bh=RCvqlTcpZlcs6qZpjyBu3ODkGqu5R9ihDOQ0xbNO1uI=; b=WsNmIMBP02m8e710SWt1Y+7ugAGPNe0HNVVUikMLKXHTV/UK96HPtW6eY6XVDY5QOL 4uT6DcAJUjF1SHOeWA9xKglOaPxu6CE69lhQhH7P80NiNAFDJScYevhbgdn/XUeV9okL 4JkenzOGnb3ysE7mj+vO2z67TDjRKItCZb8XZXPVABZQvkFjUB6f0TrKc08XioEunej6 qlPfkEFtwlHOAmPPF8Jh2MEFHnfgptJZQ+DKGNNjedbbkVlvNpd1wESznftQydwoizCT r48dVvJIf414Tb61rlL7rcUGkmzdr0NCELhEt4+g0g/6sOhyi4mmbm5r6F/DwbcNy9wg 4lBQ== 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 y4si760747plb.385.2017.10.20.09.37.18; Fri, 20 Oct 2017 09:37:32 -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; 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 S1752501AbdJTP7R (ORCPT + 99 others); Fri, 20 Oct 2017 11:59:17 -0400 Received: from smtp.nue.novell.com ([195.135.221.5]:38219 "EHLO smtp.nue.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752292AbdJTP7P (ORCPT ); Fri, 20 Oct 2017 11:59:15 -0400 Received: from emea4-mta.ukb.novell.com ([10.120.13.87]) by smtp.nue.novell.com with ESMTP (TLS encrypted); Fri, 20 Oct 2017 17:59:13 +0200 Received: from linux-rasp2 (nwb-a10-snat.microfocus.com [10.120.13.201]) by emea4-mta.ukb.novell.com with ESMTP (TLS encrypted); Fri, 20 Oct 2017 16:58:50 +0100 Date: Fri, 20 Oct 2017 23:57:48 +0800 From: jlee@suse.com To: David Howells Cc: Alexei Starovoitov , linux-security-module@vger.kernel.org, gnomes@lxorguk.ukuu.org.uk, linux-efi@vger.kernel.org, matthew.garrett@nebula.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, jforbes@redhat.com, Daniel Borkmann , "David S. Miller" , netdev@vger.kernel.org, Gary Lin Subject: Re: [PATCH 18/27] bpf: Restrict kernel image access functions when the kernel is locked down Message-ID: <20171020155748.kzrvg6565oxh6gmb@linux-rasp2> References: <20171020024732.GJ3285@linux-l9pv.suse> <150842463163.7923.11081723749106843698.stgit@warthog.procyon.org.uk> <150842476953.7923.18174368926573855810.stgit@warthog.procyon.org.uk> <20171019221829.7m5nczg3ltqmhzom@ast-mbp> <2582.1508486928@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2582.1508486928@warthog.procyon.org.uk> User-Agent: Mutt/1.6.2 (2016-07-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 20, 2017 at 09:08:48AM +0100, David Howells wrote: > Hi Joey, > > Should I just lock down sys_bpf() entirely for now? We can always free it up > somewhat later. > > David OK~~ Please just remove my patch until we find out a way to verify bpf code or protect sensitive data in memory. I think that we don't need to lock down sys_bpf() now because we didn't lock down other interfaces for reading arbitrary address like /dev/mem and /dev/kmem. Thanks a lot! Joey Lee From 1581795146685006900@xxx Fri Oct 20 16:36:45 +0000 2017 X-GM-THRID: 1581706293786105139 X-Gmail-Labels: Inbox,Category Forums