xdg: add interface to search xdg data directories
Signed-off-by: Kenton Groombridge <me@concord.sh>
This commit is contained in:
parent
321591144b
commit
34abc09255
@ -635,6 +635,24 @@ interface(`xdg_relabel_all_config',`
|
||||
userdom_search_user_home_dirs($1)
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Search through the xdg data home directories
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
## Domain allowed access
|
||||
## </summary>
|
||||
## </param>
|
||||
#
|
||||
interface(`xdg_search_data_dirs',`
|
||||
gen_require(`
|
||||
type xdg_data_t;
|
||||
')
|
||||
|
||||
allow $1 xdg_data_t:dir search_dir_perms;
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Watch the xdg data home directories
|
||||
|
Loading…
Reference in New Issue
Block a user