Received: by 10.223.164.221 with SMTP id h29csp5285911wrb; Fri, 20 Oct 2017 09:36:45 -0700 (PDT) X-Google-Smtp-Source: ABhQp+Tia+edZgiJ94rtq0cUvpzEF2a0y/zIvUTEee571kKC+KJlSN1Lbn7Y2m1LSDv8VDRbtf8z X-Received: by 10.99.61.70 with SMTP id k67mr5153669pga.113.1508517405717; Fri, 20 Oct 2017 09:36:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508517405; cv=none; d=google.com; s=arc-20160816; b=xpWLfy2rrPSTdknJeNkKaDxfYQkcmbNDiKMILeFWvJOtKcVuhp9R+A30hyhHB64NNr vdmnxDkNlBvuXmm8SKY2JEvWXBOpy+YYnMYPZ44uOk2MnNXcEBCn957JKaWwAQinFGx5 bszY4lfGFnTyRPRisQn1xIvRLL1cUF2bLmvFFKpGiZaRbbXiOhXXjgkyKsSIzQA0uOfv KfKbIhYDboIzNPu7hsU7IIuAlupV/KVnhdst9iw6cyfr0yjbm15cTCCEhHItnTmDy4sX HSQVkDunimBfqr42GLelxG9FcTPk4fk5vWACyNiD+qmME7zIpgrZ1BdyFSOufarDD2wA 3sCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:content-id:mime-version :subject:cc:to:references:in-reply-to:from:organization:dmarc-filter :arc-authentication-results; bh=UzJ7M891oO0S148/g425Lb2q8JcbaYFjMAT+aen1V64=; b=Wf2qwSJ484Y2JNua0woEZQNwunrddDfMS7isTbYEPB6HJ6JH7Vb25H8kn9SSsvCe5P FDiGWFNIafYjR8ckKeH3w//LPTqBne2/8qKGlFpNrzDvd08+ganGgmPUqAci8CVUJM3T jK2vzDjdNz5yltMTHKykMVsqi8b0MB/lTamr3TbEn4SrEqz1GUsZ7ZEL1mLTAgzIMV/t UAHBFFbExcDP/0YCCP7qCodh8fRnsYpBAaKGIdWWUmMhaRRoRvxxS44Yul2VaH29IQwF TmhloQTUnbZpXwgRIMfTHQG3Nl0BJheKrGTd++9ZEKD5IbisuIuuu99zWEhgBpO2F+vC 97pw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g69si890140pgc.716.2017.10.20.09.36.31; Fri, 20 Oct 2017 09:36:45 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752588AbdJTQD1 (ORCPT + 99 others); Fri, 20 Oct 2017 12:03:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29733 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752031AbdJTQDZ (ORCPT ); Fri, 20 Oct 2017 12:03:25 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6873652748; Fri, 20 Oct 2017 16:03:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 6873652748 Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=dhowells@redhat.com Received: from warthog.procyon.org.uk (ovpn-120-81.rdu2.redhat.com [10.10.120.81]) by smtp.corp.redhat.com (Postfix) with ESMTP id CE26C600C0; Fri, 20 Oct 2017 16:03:22 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20171020155748.kzrvg6565oxh6gmb@linux-rasp2> References: <20171020155748.kzrvg6565oxh6gmb@linux-rasp2> <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> To: jlee@suse.com Cc: dhowells@redhat.com, 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 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <19423.1508515402.1@warthog.procyon.org.uk> Date: Fri, 20 Oct 2017 17:03:22 +0100 Message-ID: <19424.1508515402@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Fri, 20 Oct 2017 16:03:25 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org jlee@suse.com wrote: > 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. Ummm... See patch 4. You even gave me a Reviewed-by for it ;-) David From 1581763248658618872@xxx Fri Oct 20 08:09:44 +0000 2017 X-GM-THRID: 1581706293786105139 X-Gmail-Labels: Inbox,Category Forums