From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 61BD3C282D8 for ; Fri, 1 Feb 2019 07:23:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3088320857 for ; Fri, 1 Feb 2019 07:23:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727283AbfBAHXc (ORCPT ); Fri, 1 Feb 2019 02:23:32 -0500 Received: from mga14.intel.com ([192.55.52.115]:21282 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726092AbfBAHXc (ORCPT ); Fri, 1 Feb 2019 02:23:32 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Jan 2019 23:23:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,547,1539673200"; d="scan'208";a="140690330" Received: from linux.intel.com ([10.54.29.200]) by fmsmga004.fm.intel.com with ESMTP; 31 Jan 2019 23:23:31 -0800 Received: from [10.125.252.37] (abudanko-mobl.ccr.corp.intel.com [10.125.252.37]) by linux.intel.com (Postfix) with ESMTP id 174945803DC; Thu, 31 Jan 2019 23:23:26 -0800 (PST) From: Alexey Budankov Subject: [PATCH v1 0/3] admin-guide: extend perf-security with resource control, data categories and privileged users To: Jonatan Corbet , Kees Cook , Peter Zijlstra , Thomas Gleixner , Ingo Molnar Cc: Jann Horn , Arnaldo Carvalho de Melo , Jiri Olsa , Namhyung Kim , Alexander Shishkin , Mark Rutland , Andi Kleen , Tvrtko Ursulin , "kernel-hardening@lists.openwall.com" , "linux-doc@vger.kernel.org" , linux-kernel Organization: Intel Corp. Message-ID: <9cfbf7a1-72dd-f9d0-8137-0f120fa74d21@linux.intel.com> Date: Fri, 1 Feb 2019 10:23:24 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch set extends the first version of perf-security.rst documentation file [1], [2], [3] with the following topics: 1) perf_events/Perf resource limits and control management that describes RLIMIT_NOFILE and perf_event_mlock_kb settings for processes conducting performance monitoring; 2) categories of system and performance data that can be captured by perf_events/Perf with explicit designation of process sensitive data; 3) possible steps to create perf_event/Perf privileged users groups for the current implementations of perf_events syscall API [4] and Perf tool; --- Alexey Budankov (3): perf-security: document perf_events/Perf resource control perf-security: document collected perf_events/Perf data categories perf-security: document perf_events/Perf resource control Documentation/admin-guide/perf-security.rst | 111 +++++++++++++++++++- 1 file changed, 109 insertions(+), 2 deletions(-) --- [1] https://marc.info/?l=linux-kernel&m=153736008310781&w=2 [2] https://lkml.org/lkml/2018/5/21/156 [3] https://lkml.org/lkml/2018/11/27/604 [4] http://man7.org/linux/man-pages/man2/perf_event_open.2.html