commit:     f8b20780a5fe71630cae51dae016bf1d861fbbc2
Author:     Rahul Sandhu <rahul <AT> sandhuservices <DOT> dev>
AuthorDate: Wed Dec  4 21:48:21 2024 +0000
Commit:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Sun Dec 15 00:19:42 2024 +0000
URL:        
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=f8b20780
systemd-homed: fix filecontexts for systemd_home_storage_t objects

Signed-off-by: Rahul Sandhu <rahul <AT> sandhuservices.dev>
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>

 policy/modules/system/systemd.fc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/policy/modules/system/systemd.fc b/policy/modules/system/systemd.fc
index 6a770c502..858c46ee3 100644
--- a/policy/modules/system/systemd.fc
+++ b/policy/modules/system/systemd.fc
@@ -66,7 +66,7 @@ HOME_DIR/\.local/share/systemd(/.*)?          
gen_context(system_u:object_r:systemd_data
 # homed files
 HOME_DIR/\.identity    --      
gen_context(system_u:object_r:systemd_homed_record_t,s0)
 HOME_DIR/\.identity-blob(/.*)? 
gen_context(system_u:object_r:systemd_homed_record_t,s0)
-HOME_ROOT/(.+)\.home   --      
gen_context(system_u:object_r:systemd_homed_storage_t,s0)
+HOME_ROOT/.+\.home     --      
gen_context(system_u:object_r:systemd_homed_storage_t,s0)
 
 /usr/lib/systemd/user(/.*)?            
gen_context(system_u:object_r:systemd_user_unit_t,s0)
 

Reply via email to