Chris PeBenito 2c12b4
#
Chris PeBenito 2c12b4
# Config file for XSELinux extension
Chris PeBenito 2c12b4
#
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
#
Chris PeBenito 2c12b4
##
Chris PeBenito 2c12b4
### Rules for X Clients
Chris PeBenito 2c12b4
##
Chris PeBenito 2c12b4
#
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
#
Chris PeBenito 2c12b4
# The default client rule defines a context to be used for all clients
Chris PeBenito 2c12b4
# connecting to the server from a remote host.
Chris PeBenito 2c12b4
#
Eamon Walsh b62426
client	*				system_u:object_r:remote_t
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
#
Chris PeBenito 2c12b4
##
Chris PeBenito 2c12b4
### Rules for X Properties
Chris PeBenito 2c12b4
##
Chris PeBenito 2c12b4
#
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
#
Chris PeBenito 2c12b4
# Property rules map a property name to a context.  A default property
Chris PeBenito 2c12b4
# rule indicated by an asterisk should follow all other property rules.
Chris PeBenito 2c12b4
#
Chris PeBenito 2c12b4
# Properties that normal clients may only read
Eamon Walsh b62426
property _SELINUX_*			system_u:object_r:seclabel_xproperty_t
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
# Clipboard and selection properties
Eamon Walsh b62426
property CUT_BUFFER?			system_u:object_r:clipboard_xproperty_t
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
# Default fallback type
Chris PeBenito 2c12b4
property *	   			system_u:object_r:xproperty_t
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
#
Chris PeBenito 2c12b4
##
Chris PeBenito 2c12b4
### Rules for X Extensions
Chris PeBenito 2c12b4
##
Chris PeBenito 2c12b4
#
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
#
Chris PeBenito 2c12b4
# Extension rules map an extension name to a context.  A default extension
Chris PeBenito 2c12b4
# rule indicated by an asterisk should follow all other extension rules.
Chris PeBenito 2c12b4
#
Eamon Walsh b62426
# Restricted extensions
Eamon Walsh b62426
extension SELinux			system_u:object_r:security_xextension_t
Chris PeBenito 2c12b4
Eamon Walsh b62426
# Standard extensions
Eamon Walsh b62426
extension *	   			system_u:object_r:xextension_t
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
#
Chris PeBenito 2c12b4
##
Chris PeBenito 2c12b4
### Rules for X Selections
Chris PeBenito 2c12b4
##
Chris PeBenito 2c12b4
#
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
# Selection rules map a selection name to a context.  A default selection
Chris PeBenito 2c12b4
# rule indicated by an asterisk should follow all other selection rules.
Chris PeBenito 2c12b4
#
Chris PeBenito 2c12b4
# Standard selections
Chris PeBenito 2c12b4
selection PRIMARY			system_u:object_r:clipboard_xselection_t
Chris PeBenito 2c12b4
selection CLIPBOARD			system_u:object_r:clipboard_xselection_t
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
# Default fallback type
Chris PeBenito 2c12b4
selection *				system_u:object_r:xselection_t
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
#
Chris PeBenito 2c12b4
##
Chris PeBenito 2c12b4
### Rules for X Events
Chris PeBenito 2c12b4
##
Chris PeBenito 2c12b4
#
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
#
Chris PeBenito 2c12b4
# Event rules map an event protocol name to a context.  A default event
Chris PeBenito 2c12b4
# rule indicated by an asterisk should follow all other event rules.
Chris PeBenito 2c12b4
#
Chris PeBenito 2c12b4
# Input events
Chris PeBenito 2c12b4
event X11:KeyPress			system_u:object_r:input_xevent_t
Chris PeBenito 2c12b4
event X11:KeyRelease			system_u:object_r:input_xevent_t
Chris PeBenito 2c12b4
event X11:ButtonPress			system_u:object_r:input_xevent_t
Chris PeBenito 2c12b4
event X11:ButtonRelease			system_u:object_r:input_xevent_t
Chris PeBenito 2c12b4
event X11:MotionNotify			system_u:object_r:input_xevent_t
Chris PeBenito 2c12b4
event XInputExtension:DeviceKeyPress	system_u:object_r:input_xevent_t
Chris PeBenito 2c12b4
event XInputExtension:DeviceKeyRelease	system_u:object_r:input_xevent_t
Chris PeBenito 2c12b4
event XInputExtension:DeviceButtonPress	system_u:object_r:input_xevent_t
Chris PeBenito 2c12b4
event XInputExtension:DeviceButtonRelease	system_u:object_r:input_xevent_t
Chris PeBenito 2c12b4
event XInputExtension:DeviceMotionNotify	system_u:object_r:input_xevent_t
Chris PeBenito 2c12b4
event XInputExtension:DeviceValuator	system_u:object_r:input_xevent_t
Chris PeBenito 2c12b4
event XInputExtension:ProximityIn	system_u:object_r:input_xevent_t
Chris PeBenito 2c12b4
event XInputExtension:ProximityOut	system_u:object_r:input_xevent_t
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
# Client message events
Chris PeBenito 2c12b4
event X11:ClientMessage			system_u:object_r:client_xevent_t
Eamon Walsh b62426
event X11:SelectionNotify		system_u:object_r:client_xevent_t
Eamon Walsh b62426
event X11:UnmapNotify			system_u:object_r:client_xevent_t
Eamon Walsh b62426
event X11:ConfigureNotify		system_u:object_r:client_xevent_t
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
# Default fallback type
Chris PeBenito 2c12b4
event *					system_u:object_r:xevent_t