From 9a91e4bcfa0cd55e338a8ede881f2529e7acfb47 Mon Sep 17 00:00:00 2001 From: John Turner Date: Thu, 28 Aug 2025 02:45:12 -0400 Subject: add file type transition for xdgfiles --- src/file/homefile/userhomefile/xdgfile.cil | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/file') 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) -- cgit v1.2.3