mozilla_plugin_tmp_t is userdom_user_tmp_content() and so callers have
full access to it.
#
interface(`mozilla_run_plugin',`
gen_require(`
- type mozilla_plugin_t, mozilla_plugin_tmp_t;
+ type mozilla_plugin_t;
')
mozilla_domtrans_plugin($1)
role $2 types mozilla_plugin_t;
allow $1 mozilla_plugin_t:unix_stream_socket { connectto rw_socket_perms };
- allow $1 mozilla_plugin_tmp_t:sock_file write_sock_file_perms;
allow $1 mozilla_plugin_t:fd use;
allow mozilla_plugin_t $1:unix_stream_socket rw_socket_perms;