diff options
author | John Turner <jturner.usa@gmail.com> | 2025-08-28 02:45:12 -0400 |
---|---|---|
committer | John Turner <jturner.usa@gmail.com> | 2025-08-28 02:45:12 -0400 |
commit | 9a91e4bcfa0cd55e338a8ede881f2529e7acfb47 (patch) | |
tree | 370ed42ff072e6cba310e63547237459fbf642a1 /src | |
parent | 71bcaf19980f65b4b68e45b2d0fe4c77028c56ab (diff) | |
download | selinux-policy-9a91e4bcfa0cd55e338a8ede881f2529e7acfb47.tar.gz |
add file type transition for xdgfiles
Diffstat (limited to 'src')
-rw-r--r-- | src/file/homefile/userhomefile/xdgfile.cil | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/file/homefile/userhomefile/xdgfile.cil b/src/file/homefile/userhomefile/xdgfile.cil index b10dd2c..cb79cc6 100644 --- a/src/file/homefile/userhomefile/xdgfile.cil +++ b/src/file/homefile/userhomefile/xdgfile.cil @@ -17,6 +17,9 @@ (block config (block user (block home + (macro user_home_file_type_transition_file ((type ARG1) (class ARG2) (name ARG3)) + (call .user.home.home_file_type_transition_file (ARG1 file ARG2 ARG3))) + (blockinherit .file.home.user.template) (filecon "HOME_DIR/\.config" dir file_context) @@ -25,6 +28,9 @@ (block cache (block user (block home + (macro user_home_file_type_transition_file ((type ARG1) (class ARG2) (name ARG3)) + (call .user.home.home_file_type_transition_file (ARG1 file ARG2 ARG3))) + (blockinherit .file.home.user.template) (filecon "HOME_DIR/\.cache" dir file_context) @@ -33,6 +39,9 @@ (block share (block user (block home + (macro user_home_file_type_transition_file ((type ARG1) (class ARG2) (name ARG3)) + (call .user.home.home_file_type_transition_file (ARG1 file ARG2 ARG3))) + (blockinherit .file.home.user.template) (filecon "HOME_DIR/\.local/share" dir file_context) @@ -41,6 +50,9 @@ (block state (block user (block home + (macro user_home_file_type_transition_file ((type ARG1) (class ARG2) (name ARG3)) + (call .user.home.home_file_type_transition_file (ARG1 file ARG2 ARG3))) + (blockinherit .file.home.user.template) (filecon "HOME_DIR/\.local/state" dir file_context) @@ -49,6 +61,9 @@ (block bin (block user (block home + (macro user_home_file_type_transition_file ((type ARG1) (class ARG2) (name ARG3)) + (call .user.home.home_file_type_transition_file (ARG1 file ARG2 ARG3))) + (blockinherit .file.exec.template) (filecon "HOME_DIR/\.local/bin" dir file_context) |