Userdomain patch from Stefan Schulze Frielinghaus.
This commit is contained in:
parent
e526fca176
commit
2d743657f4
@ -1575,6 +1575,24 @@ interface(`userdom_dontaudit_search_user_home_content',`
|
||||
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>
|
||||
## Create, read, write, and delete directories
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
policy_module(userdomain, 4.3.1)
|
||||
policy_module(userdomain, 4.3.2)
|
||||
|
||||
########################################
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user