From patchwork Fri Feb 1 07:23:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Budankov X-Patchwork-Id: 10791871 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 43D4F922 for ; Fri, 1 Feb 2019 07:23:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2AC3B313D7 for ; Fri, 1 Feb 2019 07:23:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1A8BD316EC; Fri, 1 Feb 2019 07:23:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from mother.openwall.net (mother.openwall.net [195.42.179.200]) by mail.wl.linuxfoundation.org (Postfix) with SMTP id 4D7B1313D7 for ; Fri, 1 Feb 2019 07:23:45 +0000 (UTC) Received: (qmail 17844 invoked by uid 550); 1 Feb 2019 07:23:44 -0000 Mailing-List: contact kernel-hardening-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Delivered-To: mailing list kernel-hardening@lists.openwall.com Received: (qmail 17826 invoked from network); 1 Feb 2019 07:23:44 -0000 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,547,1539673200"; d="scan'208";a="140690330" 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-Language: en-US X-Virus-Scanned: ClamAV using ClamSMTP 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