patch from Eamon Walsh to remove useage of deprecated xserver interfaces.

This commit is contained in:
Chris PeBenito 2009-08-28 13:40:29 -04:00
parent 93c49bdb04
commit 4279891d1f
5 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
policy_module(wireshark, 2.0.0)
policy_module(wireshark, 2.0.1)
########################################
#
@ -119,6 +119,6 @@ optional_policy(`
')
optional_policy(`
xserver_user_client(wireshark_t, wireshark_tmpfs_t)
xserver_user_x_domain_template(wireshark, wireshark_t, wireshark_tmpfs_t)
xserver_create_xdm_tmp_sockets(wireshark_t)
')

View File

@ -297,7 +297,7 @@ interface(`xserver_rw_session',`
## </param>
#
interface(`xserver_user_client',`
# refpolicywarn(`$0() has been deprecated, please use xserver_user_x_domain_template instead.')
refpolicywarn(`$0() has been deprecated, please use xserver_user_x_domain_template instead.')
gen_require(`
type xdm_t, xdm_tmp_t;
type xauth_home_t, iceauth_home_t, xserver_t, xserver_tmpfs_t;

View File

@ -1,5 +1,5 @@
policy_module(xserver, 3.2.2)
policy_module(xserver, 3.2.3)
gen_require(`
class x_drawable all_x_drawable_perms;

View File

@ -439,7 +439,7 @@ template(`userdom_xwindows_client_template',`
# GNOME checks for usb and other devices:
dev_rw_usbfs($1_t)
xserver_user_client($1_t, user_tmpfs_t)
xserver_user_x_domain_template($1, $1_t, user_tmpfs_t)
xserver_xsession_entry_type($1_t)
xserver_dontaudit_write_log($1_t)
xserver_stream_connect_xdm($1_t)

View File

@ -1,5 +1,5 @@
policy_module(userdomain, 4.2.1)
policy_module(userdomain, 4.2.2)
########################################
#