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:
Dominick Grift 2010-03-03 16:10:56 +01:00 committed by Chris PeBenito
parent c46376e665
commit 4cb24aed7b

View File

@ -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)
')