selinux-refpolicy/policy/modules/system/xdg.te
Chris PeBenito 78276fc43b Drop module versioning.
Semodule stopped using this many years ago. The policy_module() macro will
continue to support an optional second parameter as version.
If it is not specified, a default value of 1 is set.

Signed-off-by: Chris PeBenito <pebenito@ieee.org>
2022-01-06 09:19:13 -05:00

39 lines
762 B
Plaintext

policy_module(xdg)
########################################
#
# Declarations
#
attribute xdg_cache_type;
attribute xdg_config_type;
attribute xdg_data_type;
type xdg_cache_t;
xdg_cache_content(xdg_cache_t)
type xdg_config_t;
xdg_config_content(xdg_config_t)
type xdg_data_t;
xdg_data_content(xdg_data_t)
# Various user location types (see ~/.config/user-dirs.dirs)
type xdg_documents_t; # customizable
userdom_user_home_content(xdg_documents_t)
type xdg_downloads_t; # customizable
userdom_user_home_content(xdg_downloads_t)
type xdg_music_t; # customizable
userdom_user_home_content(xdg_music_t)
type xdg_pictures_t; # customizable
userdom_user_home_content(xdg_pictures_t)
type xdg_videos_t; # customizable
userdom_user_home_content(xdg_videos_t)