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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D78E715808B for ; Thu, 31 Mar 2022 03:31:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E440CE07D8; Thu, 31 Mar 2022 03:31:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9417CE07C9 for ; Thu, 31 Mar 2022 03:31:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 01FCE341485 for ; Thu, 31 Mar 2022 03:31:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 418EF34E for ; Thu, 31 Mar 2022 03:31:23 +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: <1648694453.d98a4ace89b3fd18005dbb01775294adcf07aa14.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 policy/flask/security_classes X-VCS-Directories: policy/flask/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: d98a4ace89b3fd18005dbb01775294adcf07aa14 X-VCS-Branch: master Date: Thu, 31 Mar 2022 03:31:23 +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: 3fa45413-0738-4ee2-b8b5-201b0d2295be X-Archives-Hash: 2b8c636f407ef2bf16a48b000bc3006d commit: d98a4ace89b3fd18005dbb01775294adcf07aa14 Author: Christian Göttsche googlemail com> AuthorDate: Tue Mar 22 16:53:16 2022 +0000 Commit: Jason Zaman gentoo org> CommitDate: Thu Mar 31 02:40:53 2022 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=d98a4ace flask: add new kernel security classes Add new kernel security classes mctp_socket, anon_inode and io_uring. Signed-off-by: Christian Göttsche googlemail.com> Signed-off-by: Jason Zaman gentoo.org> policy/flask/access_vectors | 16 ++++++++++++++-- policy/flask/security_classes | 5 +++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/policy/flask/access_vectors b/policy/flask/access_vectors index d464a3de..2219fb19 100644 --- a/policy/flask/access_vectors +++ b/policy/flask/access_vectors @@ -1045,6 +1045,9 @@ class bpf class xdp_socket inherits socket +class mctp_socket +inherits socket + class perf_event { open @@ -1057,6 +1060,15 @@ class perf_event class lockdown { - integrity - confidentiality + integrity + confidentiality +} + +class anon_inode +inherits file + +class io_uring +{ + override_creds + sqpoll } diff --git a/policy/flask/security_classes b/policy/flask/security_classes index e62e4c95..63635789 100644 --- a/policy/flask/security_classes +++ b/policy/flask/security_classes @@ -193,9 +193,14 @@ class process2 class bpf class xdp_socket +class mctp_socket class perf_event class lockdown +class anon_inode + +class io_uring + # FLASK