Skip to content

Commit

Permalink
Label /run/modprobe.d with modules_conf_t
Browse files Browse the repository at this point in the history
Resolves: RHEL-61453
  • Loading branch information
zpytela committed Oct 10, 2024
1 parent 9250990 commit 1adc754
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions policy/modules/system/modutils.fc
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ ifdef(`distro_gentoo',`

/usr/lib/modules/modprobe\.conf -- gen_context(system_u:object_r:modules_conf_t,s0)

/var/run/modprobe\.d(/.*)? gen_context(system_u:object_r:modules_conf_t,s0)
/var/run/tmpfiles.d/kmod.conf -- gen_context(system_u:object_r:kmod_var_run_t,s0)
/var/run/tmpfiles.d/static-nodes.conf -- gen_context(system_u:object_r:kmod_var_run_t,s0)

0 comments on commit 1adc754

Please sign in to comment.