Userdomain patch from Stefan Schulze Frielinghaus.

This commit is contained in:
Chris PeBenito 2010-02-08 11:43:44 -05:00
parent e526fca176
commit 2d743657f4
2 changed files with 19 additions and 1 deletions

View File

@ -1575,6 +1575,24 @@ interface(`userdom_dontaudit_search_user_home_content',`
dontaudit $1 user_home_t:dir search_dir_perms; dontaudit $1 user_home_t:dir search_dir_perms;
') ')
########################################
## <summary>
## List contents of users home directory.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`userdom_list_user_home_content',`
gen_require(`
type user_home_t;
')
allow $1 user_home_t:dir list_dir_perms;
')
######################################## ########################################
## <summary> ## <summary>
## Create, read, write, and delete directories ## Create, read, write, and delete directories

View File

@ -1,5 +1,5 @@
policy_module(userdomain, 4.3.1) policy_module(userdomain, 4.3.2)
######################################## ########################################
# #