From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A043813835A for ; Sat, 28 Nov 2020 23:09:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DAF88E0824; Sat, 28 Nov 2020 23:09:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C4B3EE0824 for ; Sat, 28 Nov 2020 23:09:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0537234165D for ; Sat, 28 Nov 2020 23:09:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0BFC1473 for ; Sat, 28 Nov 2020 23:09:30 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1605517423.dadb27bdd553c2e64101dc9992a1df4f6e5975d0.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/flask/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/flask/access_vectors X-VCS-Directories: policy/flask/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: dadb27bdd553c2e64101dc9992a1df4f6e5975d0 X-VCS-Branch: master Date: Sat, 28 Nov 2020 23:09:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 72c684a2-7d22-4406-bd03-5063551330bf X-Archives-Hash: 9d4542628446c7bbc730cb550053a2c7 commit: dadb27bdd553c2e64101dc9992a1df4f6e5975d0 Author: Dannick Pomerleau hotmail com> AuthorDate: Fri Oct 16 00:49:49 2020 +0000 Commit: Jason Zaman gentoo org> CommitDate: Mon Nov 16 09:03:43 2020 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=dadb27bd access_vectors: Add new capabilities to cap2 Updated location of capability definitions to point to current location within kernel source code. CAP_BPF and CAP_PERFMON mainlined in: cb8e59cc87201af93dfbb6c3dccc8fcad72a09c2, original commit: a17b53c4a4b55ec322c132b6670743612229ee9c CAP_CHECKPOINT_RESTORE mainlined in: 74858abbb1032222f922487fd1a24513bbed80f9, original commit: 124ea650d3072b005457faed69909221c2905a1f The missing capabilities were noticed on archlinux with kernel 5.8.14-arch1-1. Signed-off-by: Dannick Pomerleau hotmail.com> Signed-off-by: Jason Zaman gentoo.org> policy/flask/access_vectors | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/policy/flask/access_vectors b/policy/flask/access_vectors index a9aceb46..d464a3de 100644 --- a/policy/flask/access_vectors +++ b/policy/flask/access_vectors @@ -132,7 +132,7 @@ common x_device # common cap { - # The capabilities are defined in include/linux/capability.h + # The capabilities are defined in include/uapi/linux/capability.h # Capabilities >= 32 are defined in the cap2 common. # Care should be taken to ensure that these are consistent with # those definitions. (Order matters) @@ -179,6 +179,9 @@ common cap2 wake_alarm block_suspend audit_read + perfmon + bpf + checkpoint_restore } #