Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2575711imu; Mon, 19 Nov 2018 02:48:25 -0800 (PST) X-Google-Smtp-Source: AJdET5dGc0z4DZiv1iYnyYYT/a3mvxCQMZCrS0fX1xHETs7xWHu0TpnLU0nMfVr0WSWWKPILsV7c X-Received: by 2002:a62:6799:: with SMTP id t25mr22273764pfj.139.1542624505039; Mon, 19 Nov 2018 02:48:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542624505; cv=none; d=google.com; s=arc-20160816; b=v2wXMUhxswU2FbsTiKPWEOw5ff2wE4gebYd5+rEmuUJgW6+fzV+C1CadE3/D78A/0b R5hioSaBTorfaM67BTe6FDAiDourYITPkOZyui9LcPNYuzuh331EfRl9VDn65gTiRIGc HIC5FvyFMnPmUgoy4EOAQxmVNgJCeDAObqJ9jGpSusHYicfznFVLhdCgEWKvA5a2K3qJ VD+zWDPEJFQF2ZgzV97qxiRLJh9hE7cxCEN2GCiJ4bLUsHbg5OqCTHhgVmO7/3J92dRc AsDikdLwppZPKIjIUIZJYaPg1pkvqLI8dut0i4cl6u5p+xtT1wsl3VRjWDwWTc74YiPI gijg== 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:dkim-signature; bh=tPtCZHnRBM0k0RLO0taRjNjncWiK/BYB35pPtFfNv3Q=; b=jzHMzigV6uDk+md9xCidkGAaeAD2ol7z9yJ/PEOUp0XRQqMH7ilBxc+6Ap9Au7bVBY yooEa06Ec+AfjCB0xRDVOHmoY2jQB/MlTvxXtP0+akwh8z9qcQ6ykSaUqyWbzxdNlEYN o5/pPEWJoOxgyuqJEkq35Rt9scbEQg7wcNe69unl9r4mh8EYK60VaAayILMR6pco461Z n0LWBYzxzdQo7SchYzsnFMVhR+ATogRlfle2diIn0c20H17lpT0lSu3mk3g+s7W6gqFG i9xR0Yo0xWcFBUj5Bc+KOk2ZqXpNy2VGj6lR7qCcRFdKrqd6YJFILu+PCf67QslDhOwm aaYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=S564+S3E; 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 j189si36697469pgd.185.2018.11.19.02.48.09; Mon, 19 Nov 2018 02:48:25 -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; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=S564+S3E; 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 S1728112AbeKSVKq (ORCPT + 99 others); Mon, 19 Nov 2018 16:10:46 -0500 Received: from merlin.infradead.org ([205.233.59.134]:52514 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727767AbeKSVKp (ORCPT ); Mon, 19 Nov 2018 16:10:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=tPtCZHnRBM0k0RLO0taRjNjncWiK/BYB35pPtFfNv3Q=; b=S564+S3EEE26/UbSEUkra6J4U O9e9+gNGb5oldBgG0h0cMx/YldYZp6oPlvqQl3BhaCf/rIkmP5XYoOZpKxFoWyCAxmeMI5QI13ba+ hAmBDDSNdSfJi85LaSIjuoOCl72vYxVB5ukgpcEQimTNsMUc0igJ7Inj3som8W1YrvoNPDxZwnUW/ iWtymfanJc72A2fijzDQmh/+sFD22X5DIU3hP86K6pxqr0Dal1geLyDXXRLlvkzvhiDCIVB62++Le PydDtL0xv0jLtMOtodHwQkKU5Rx1O+5SPFdu1hKtt9waSH1wyHYr+EXAX7e4fVwZYUo/6URBOESrf 1ih9FkW3A==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gOh4q-0006pv-Fe; Mon, 19 Nov 2018 10:46:48 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 0B7622029F883; Mon, 19 Nov 2018 11:46:46 +0100 (CET) Date: Mon, 19 Nov 2018 11:46:46 +0100 From: Peter Zijlstra To: Jordan Glover Cc: Alexey Budankov , Thomas Gleixner , Kees Cook , Jann Horn , Ingo Molnar , Arnaldo Carvalho de Melo , Andi Kleen , Jonatan Corbet , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Mark Rutland , Tvrtko Ursulin , linux-kernel , "kernel-hardening@lists.openwall.com" , "linux-doc@vger.kernel.org" Subject: Re: [PATCH v1 2/2]: Documentation/admin-guide: introduce perf-security.rst file Message-ID: <20181119104646.GB9761@hirez.programming.kicks-ass.net> References: <0ac97cd0-4773-fff6-7d4e-74c4a1f076c4@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 19, 2018 at 10:35:59AM +0000, Jordan Glover wrote: > On Monday, November 19, 2018 6:42 AM, Alexey Budankov wrote: > > +>=3: > > > > - Restrict *access* to PCL performance monitoring for unprivileged processes. > > > > > > - This is the default on Debian and Android [7]_ , [8]_ . > > AFAIK there is no support for '+>=3' in mainline kernel[1]. > Debian and Android use out-of-tree patch for that[2]. > Maybe someone should upstream it? NAK still stands on that. Alternative's have been proposed but so far nobody that cared seems to care enough to implement those.