diff options
author | Grzegorz Filo <gf578@wp.pl> | 2024-04-03 13:02:48 +0200 |
---|---|---|
committer | Kenton Groombridge <concord@gentoo.org> | 2024-05-14 13:41:29 -0400 |
commit | e3d5625354b069f68fe3fff6135df2e5bc14f207 (patch) | |
tree | a3843bcd9259b802c5d89d0391335d14b377255c /policy/modules/services | |
parent | Need map perm for cockpit 300.4 (diff) | |
download | hardened-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')
-rw-r--r-- | policy/modules/services/smartmon.fc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/policy/modules/services/smartmon.fc b/policy/modules/services/smartmon.fc index efbb8886..562cf0b0 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) +') |