Skip to content

Commit

Permalink
Add file context entry for /usr/bin/tpm2-abrmd
Browse files Browse the repository at this point in the history
To comply with the "Unify bin and sbin" Fedora Change [1],
file equivalency for the /bin, /sbin, and /usr/sbin paths
are now set in selinux-policy to /usr/bin.
This requires follow-up changes in DSP modules, too.

[1] https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin

Signed-off-by: Zdenek Pytela <zpytela@redhat.com>
  • Loading branch information
zpytela committed Nov 20, 2024
1 parent b2b0795 commit 5095ace
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions selinux/tabrmd.fc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/usr/bin/tpm2-abrmd -- gen_context(system_u:object_r:tabrmd_exec_t,s0)
/usr/sbin/tpm2-abrmd -- gen_context(system_u:object_r:tabrmd_exec_t,s0)
/usr/local/sbin/tpm2-abrmd -- gen_context(system_u:object_r:tabrmd_exec_t,s0)

0 comments on commit 5095ace

Please sign in to comment.