From 4cb24aed7b3d036f8ff3a60889c73cfe3237e0f7 Mon Sep 17 00:00:00 2001 From: Dominick Grift Date: Mar 03 2010 15:31:56 +0000 Subject: 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 Signed-off-by: Chris PeBenito --- diff --git a/policy/modules/system/userdomain.if b/policy/modules/system/userdomain.if index b18abce..b3b08d6 100644 --- a/policy/modules/system/userdomain.if +++ b/policy/modules/system/userdomain.if @@ -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) ')