Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2328886imu; Sun, 18 Nov 2018 21:38:40 -0800 (PST) X-Google-Smtp-Source: AJdET5d9riU3DaudtEmU4NX7HtHbgiBkoqRaeUeXXvacC/vT+0tLzek+0cwvOgDFz9ENHpJL2XXA X-Received: by 2002:a63:a51b:: with SMTP id n27mr19249549pgf.17.1542605920085; Sun, 18 Nov 2018 21:38:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542605920; cv=none; d=google.com; s=arc-20160816; b=CjzWjwRSvn3D/JmKL3C+m9tk6pjE1drHs4SW7l/TVvm4MhX7jxIufeQvYVC/dWkI/L trVwJ1csVcw3g3pRKzofIp7ib36neZIG/fbrsxrLa0iSf0rJ1nmF7OlwRhIUtMokoG5O T20mrsUG7qzvTatmFOVkIWdJ7zGaofzMfQrdFJZ0sOZYTo8LB+yGoCzXmWfw77UC0zxz LyL1GH2v89Pg3skA74kgU2YIM1KRYohi3ZYDl5tQHRJQweJyhZ7Tv5+2JA3Lc/VuVxsg b58k+0t422TsaRvU+bFnKwXjFRGjLSHFbleYn/nSP4nVsP0fIMQGPtvot6D2gCyrZTJ6 eZDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id :organization:cc:to:subject:from; bh=AV5gA2n+v9mo66GiQAEZ4wZn2+SbMN2yDoEzTlRGU0c=; b=ANLXnk3/kadpTKYTJ+VYN2RhyKcOlStKRugfKPRdy4NaaTFTWk+Wix3FL5x5nbx48i f74UXNpvJnFbJNfuC4PpArUexu7bqK+Xd01mOpqVmJquv9Vwjn9g1uZ2klSsIXVE1VFA 0XiPRRXDGK1G/PbPYqodS+9cuY726GkmnSuZptsGgCV0r/imxd+8H6hWEXFXdINMrvV6 of+UesKUOk8gsaJIFdsKr4QXGQkM8P5uDSss7aFER2odLE4KQcmb4AoE75PSejep3r4r Iadl5IDh9C7ZakWjl4eRCZX8zM3v40d7ZYBpaVj/CwGlUbAtLdnICNpYBJTSKZormfKf W0QA== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r7si12217800pfb.237.2018.11.18.21.38.24; Sun, 18 Nov 2018 21:38:40 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726011AbeKSQAT (ORCPT + 99 others); Mon, 19 Nov 2018 11:00:19 -0500 Received: from mga05.intel.com ([192.55.52.43]:50437 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725908AbeKSQAT (ORCPT ); Mon, 19 Nov 2018 11:00:19 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Nov 2018 21:37:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,251,1539673200"; d="scan'208";a="109409068" Received: from linux.intel.com ([10.54.29.200]) by orsmga001.jf.intel.com with ESMTP; 18 Nov 2018 21:37:47 -0800 Received: from [10.252.19.222] (abudanko-mobl.ccr.corp.intel.com [10.252.19.222]) by linux.intel.com (Postfix) with ESMTP id 8F5C5580378; Sun, 18 Nov 2018 21:37:43 -0800 (PST) From: Alexey Budankov Subject: [PATCH v1 0/2]: Documentation/admin-guide: introduce perf-security.rst file and extend perf_event_paranoid documentation To: Thomas Gleixner , Kees Cook , Jann Horn , Ingo Molnar , Peter Zijlstra , Arnaldo Carvalho de Melo , Andi Kleen , Jonatan Corbet Cc: Alexander Shishkin , Jiri Olsa , Namhyung Kim , Mark Rutland , Tvrtko Ursulin , linux-kernel , kernel-hardening@lists.openwall.com, linux-doc@vger.kernel.org Organization: Intel Corp. Message-ID: <0ac97cd0-4773-fff6-7d4e-74c4a1f076c4@linux.intel.com> Date: Mon, 19 Nov 2018 08:37:41 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 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 To facilitate informed decision making by system administrators [1] to permit and manage access to PCL/Perf [2],[3] performance monitoring for multiple users perf-security.rst document suggested by Thomas Gleixner is introduced [4] that: a) states PCL/Perf access security concerns for multi user environment b) refers to base Linux access control and management principles c) extends documentation of possible perf_event_paranoid knob settings The file serves as single knowledge source for PCL/Perf security and access control related matter according to decisions, discussion and PoC prototype previously made here [5],[6]. The file can later be extended with information describing: a) PCL/Perf usage models and its security implications b) PCL/Perf user interface, its changes and related security implications c) security related implications of monitoring by a specific PCL PMU [2] --- Alexey Budankov (2): Documentation/admin-guide: update admin-guide index.rst Documentation/admin-guide: introduce perf-security.rst file Documentation/admin-guide/index.rst | 1 + Documentation/admin-guide/perf-security.rst | 83 +++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) --- [1] https://marc.info/?l=linux-kernel&m=153815883923913&w=2 [2] http://man7.org/linux/man-pages/man2/perf_event_open.2.html [3] https://perf.wiki.kernel.org/index.php/Main_Page [4] https://marc.info/?l=linux-kernel&m=153837512226838&w=2 [5] https://marc.info/?l=linux-kernel&m=153736008310781&w=2 [6] https://lkml.org/lkml/2018/5/21/156