Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6193726ybv; Tue, 18 Feb 2020 11:45:59 -0800 (PST) X-Google-Smtp-Source: APXvYqyFvhuWNINFLyALWPNCb78cflNItYlCp1+Mxog0qun/qBQ41MMHLKgoFPZg2Va2xbDsUq5B X-Received: by 2002:aca:54cc:: with SMTP id i195mr2273092oib.126.1582055158922; Tue, 18 Feb 2020 11:45:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582055158; cv=none; d=google.com; s=arc-20160816; b=Jp8WJPBsHNV5UKFw6IP9pnOr644NkrsIHq1UjppOjHDnGbe4ofLnELrt43dgbEPHen +3hp6guulpy4GlBHC/t9EjLxug0TZhZftqYR3cwTYAlGQjHqLyItbLNJP6rfkCVVkXjY 30u4P59TGKVYN5TyuN4g1FKwNxdK7MBDjFcqZd1DTUy5brWduk/+lXwmz9Xe+6yALfNv yYcvmBREaukad1iyB1lpcAPI81Ft4TxYxgvKo0z8a/z1vWUaSOJP+GiYnl6zQSI5lY7G l0ldONlZy/3jDoLIv5DDX8dBRrLKhbdYYKvRWA8jNXRkSzH8Ik/JvxY1/AGsGuU44d/W CAsw== 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=AYK1m3GqmftPL/ljiReI19As3QzyWwzAOJ9NA94GV6Y=; b=V0d/SQ5iiU/sA7C9HAYx1UVAY8eGEI8fKPecASrqtRCvzxcEt4WshvPo1x/L5CB8iu Df7TbRGnJtNOjXX+Q0CeQsH8D+k/RWgs+TBZULCA7jpyguKx823RjuiiA2DY8vhis9ID MrAenHO7rjbHgAtOeWE6NBw1YsZko4DLmjRrcakr/vnLxYv80n/iKo4TVKWY7GVLRnCJ zYsKp3OHJpWm/ln9cUu5PIVv95w9HpTN8qmpDJf6MQObBKjuKexZkM0Y+VPJef61cw9Y c9dSlZ65TQTsMCr0Cqo+JdzFOwEh5lI4b5Eqscp5xDLj5jqQFQz9n1frwgdFx9zmmgHI cD0g== 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 i17si542505oii.95.2020.02.18.11.45.45; Tue, 18 Feb 2020 11:45:58 -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 S1726422AbgBRTpm (ORCPT + 99 others); Tue, 18 Feb 2020 14:45:42 -0500 Received: from namei.org ([65.99.196.166]:46900 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726283AbgBRTpm (ORCPT ); Tue, 18 Feb 2020 14:45:42 -0500 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id 01IJhv9J016349; Tue, 18 Feb 2020 19:43:58 GMT Date: Wed, 19 Feb 2020 06:43:57 +1100 (AEDT) From: James Morris To: Alexey Budankov cc: Serge Hallyn , Stephen Smalley , Peter Zijlstra , Arnaldo Carvalho de Melo , Ingo Molnar , "joonas.lahtinen@linux.intel.com" , Alexei Starovoitov , Will Deacon , Paul Mackerras , Helge Deller , Thomas Gleixner , Andi Kleen , Stephane Eranian , Igor Lubashev , Jiri Olsa , linux-kernel , "intel-gfx@lists.freedesktop.org" , "linux-security-module@vger.kernel.org" , "selinux@vger.kernel.org" , linux-arm-kernel , "linuxppc-dev@lists.ozlabs.org" , "linux-parisc@vger.kernel.org" , oprofile-list@lists.sf.net, "linux-doc@vger.kernel.org" , linux-man@vger.kernel.org Subject: Re: [PATCH v7 09/12] drivers/perf: open access for CAP_PERFMON privileged process In-Reply-To: <48baecd5-a015-3dbf-f774-9f2caee13893@linux.intel.com> Message-ID: References: <48baecd5-a015-3dbf-f774-9f2caee13893@linux.intel.com> 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, 17 Feb 2020, Alexey Budankov wrote: > For backward compatibility reasons access to the monitoring remains > open for CAP_SYS_ADMIN privileged processes but CAP_SYS_ADMIN usage > for secure monitoring is discouraged with respect to CAP_PERFMON > capability. > > Signed-off-by: Alexey Budankov Reviewed-by: James Morris -- James Morris