commit:     5047e25fbaf786fd8a286fc4699eab086bdb13e9
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Sun Jul 27 16:10:47 2025 +0000
Commit:     Kenton Groombridge <concord <AT> gentoo <DOT> org>
CommitDate: Fri Sep 19 16:55:56 2025 +0000
URL:        
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=5047e25f

files context : fix mkfs.f2fs for usr-merged

Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Part-of: https://github.com/gentoo/hardened-refpolicy/pull/19
Closes: https://github.com/gentoo/hardened-refpolicy/pull/19
Signed-off-by: Kenton Groombridge <concord <AT> gentoo.org>

 policy/modules/system/fstools.fc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/policy/modules/system/fstools.fc b/policy/modules/system/fstools.fc
index 88887b010..13de030cf 100644
--- a/policy/modules/system/fstools.fc
+++ b/policy/modules/system/fstools.fc
@@ -114,5 +114,6 @@ ifdef(`distro_gentoo',`
 /run/fsck(/.*)?                gen_context(system_u:object_r:fsadm_run_t,s0)
 
 ifdef(`distro_gentoo',`
+/usr/bin/mkfs\.f2fs    --      gen_context(system_u:object_r:fsadm_exec_t,s0)
 /usr/sbin/mkfs\.f2fs   --      gen_context(system_u:object_r:fsadm_exec_t,s0)
 ')

Reply via email to