Fix userdom_write_user_tmp_sockets to use write_sock_file_perms to allow domains to open user_tmp_t sock_files.
Signed-off-by: Dominick Grift <domg472@gmail.com> Signed-off-by: Chris PeBenito <cpebenito@tresys.com>
This commit is contained in:
parent
c46376e665
commit
4cb24aed7b
@ -2077,7 +2077,7 @@ interface(`userdom_write_user_tmp_sockets',`
|
||||
type user_tmp_t;
|
||||
')
|
||||
|
||||
allow $1 user_tmp_t:sock_file write;
|
||||
allow $1 user_tmp_t:sock_file write_sock_file_perms;
|
||||
files_search_tmp($1)
|
||||
')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user