aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Filo <gf578@wp.pl>2024-04-03 13:02:48 +0200
committerKenton Groombridge <concord@gentoo.org>2024-05-14 13:41:29 -0400
commite3d5625354b069f68fe3fff6135df2e5bc14f207 (patch)
treea3843bcd9259b802c5d89d0391335d14b377255c /policy/modules/services/smartmon.fc
parentNeed map perm for cockpit 300.4 (diff)
downloadhardened-refpolicy-e3d5625354b069f68fe3fff6135df2e5bc14f207.tar.gz
hardened-refpolicy-e3d5625354b069f68fe3fff6135df2e5bc14f207.tar.bz2
hardened-refpolicy-e3d5625354b069f68fe3fff6135df2e5bc14f207.zip
files context for merged-usr profile on gentoo
Signed-off-by: Grzegorz Filo <gf578@wp.pl> Signed-off-by: Kenton Groombridge <concord@gentoo.org>
Diffstat (limited to 'policy/modules/services/smartmon.fc')
-rw-r--r--policy/modules/services/smartmon.fc4
1 files changed, 4 insertions, 0 deletions
diff --git a/policy/modules/services/smartmon.fc b/policy/modules/services/smartmon.fc
index efbb8886f..562cf0b04 100644
--- a/policy/modules/services/smartmon.fc
+++ b/policy/modules/services/smartmon.fc
@@ -9,3 +9,7 @@
/run/smartd\.pid -- gen_context(system_u:object_r:fsdaemon_runtime_t,s0)
/var/lib/smartmontools(/.*)? gen_context(system_u:object_r:fsdaemon_var_lib_t,s0)
+
+ifdef(`distro_gentoo',`
+/usr/bin/update-smart-drivedb -- gen_context(system_u:object_r:smartmon_update_drivedb_exec_t,s0)
+')