Skip to content

Commit

Permalink
Merge pull request SELinuxProject#792 from yizhao1/systemd
Browse files Browse the repository at this point in the history
systemd: make xdg optional
  • Loading branch information
pebenito authored Jul 12, 2024
2 parents 302e665 + 75492f9 commit 1b11d94
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions policy/modules/system/systemd.te
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,16 @@ init_unit_file(systemd_user_manager_unit_t)

type systemd_conf_home_t;
init_unit_file(systemd_conf_home_t)
xdg_config_content(systemd_conf_home_t)

optional_policy(`
xdg_config_content(systemd_conf_home_t)
')

type systemd_data_home_t;
xdg_data_content(systemd_data_home_t)
userdom_user_home_content(systemd_data_home_t)
optional_policy(`
xdg_data_content(systemd_data_home_t)
')

type systemd_user_runtime_notify_t;
userdom_user_runtime_content(systemd_user_runtime_notify_t)
Expand Down

0 comments on commit 1b11d94

Please sign in to comment.