selinux-policy/Allow-systemd_logind_t-to-read-fixed-dist-device-BZ-.patch

25 lines
816 B
Diff

From 5a103fd1d605fb1195fbfb02361a723d0f7669aa Mon Sep 17 00:00:00 2001
From: Lukas Vrabec <lvrabec@redhat.com>
Date: Sat, 3 Nov 2018 13:06:47 +0100
Subject: [PATCH] Allow systemd_logind_t to read fixed dist device BZ(1645631)
---
policy/modules/system/systemd.te | 1 +
1 file changed, 1 insertion(+)
diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te
index eaf0aed..008400a 100644
--- a/policy/modules/system/systemd.te
+++ b/policy/modules/system/systemd.te
@@ -252,6 +252,7 @@ userdom_mounton_tmp_dirs(systemd_logind_t)
storage_setattr_removable_dev(systemd_logind_t)
storage_setattr_scsi_generic_dev(systemd_logind_t)
storage_setattr_fixed_disk_dev(systemd_logind_t)
+storage_raw_read_fixed_disk(systemd_logind_t)
term_use_unallocated_ttys(systemd_logind_t)
--
1.8.3.1