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
#
Chris PeBenito 2c12b4
client	*				system_u:object_r:remote_xclient_t:s0
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
Chris PeBenito 2c12b4
property XFree86_VT			system_u:object_r:info_xproperty_t:s0
Chris PeBenito 2c12b4
property XFree86_DDC_EDID1_RAWDATA	system_u:object_r:info_xproperty_t:s0
Chris PeBenito 2c12b4
property RESOURCE_MANAGER		system_u:object_r:info_xproperty_t:s0
Chris PeBenito 2c12b4
property SCREEN_RESOURCES		system_u:object_r:info_xproperty_t:s0
Chris PeBenito 2c12b4
property _MIT_PRIORITY_COLORS		system_u:object_r:info_xproperty_t:s0
Chris PeBenito 2c12b4
property AT_SPI_IOR			system_u:object_r:info_xproperty_t:s0
Chris PeBenito 2c12b4
property _SELINUX_CLIENT_CONTEXT	system_u:object_r:info_xproperty_t:s0
Chris PeBenito 2c12b4
property _NET_WORKAREA			system_u:object_r:info_xproperty_t:s0
Chris PeBenito 2c12b4
property _XKB_RULES_NAMES		system_u:object_r:info_xproperty_t:s0
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
# Clipboard and selection properties
Chris PeBenito 2c12b4
property CUT_BUFFER0			system_u:object_r:clipboard_xproperty_t:s0
Chris PeBenito 2c12b4
property CUT_BUFFER1			system_u:object_r:clipboard_xproperty_t:s0
Chris PeBenito 2c12b4
property CUT_BUFFER2			system_u:object_r:clipboard_xproperty_t:s0
Chris PeBenito 2c12b4
property CUT_BUFFER3			system_u:object_r:clipboard_xproperty_t:s0
Chris PeBenito 2c12b4
property CUT_BUFFER4			system_u:object_r:clipboard_xproperty_t:s0
Chris PeBenito 2c12b4
property CUT_BUFFER5			system_u:object_r:clipboard_xproperty_t:s0
Chris PeBenito 2c12b4
property CUT_BUFFER6			system_u:object_r:clipboard_xproperty_t:s0
Chris PeBenito 2c12b4
property CUT_BUFFER7			system_u:object_r:clipboard_xproperty_t:s0
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
# Default fallback type
Chris PeBenito 2c12b4
property *	   			system_u:object_r:xproperty_t:s0
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
#
Chris PeBenito 2c12b4
# Standard extensions
Chris PeBenito 2c12b4
extension BIG-REQUESTS			system_u:object_r:std_xext_t:s0
Chris PeBenito 2c12b4
extension SHAPE				system_u:object_r:std_xext_t:s0
Chris PeBenito 2c12b4
extension SYNC				system_u:object_r:std_xext_t:s0
Chris PeBenito 2c12b4
extension XC-MISC			system_u:object_r:std_xext_t:s0
Chris PeBenito 2c12b4
extension XFIXES			system_u:object_r:std_xext_t:s0
Chris PeBenito 2c12b4
extension XInputExtension		system_u:object_r:std_xext_t:s0
Chris PeBenito 2c12b4
extension XKEYBOARD			system_u:object_r:std_xext_t:s0
Chris PeBenito 2c12b4
extension DAMAGE			system_u:object_r:std_xext_t:s0
Chris PeBenito 2c12b4
extension RENDER			system_u:object_r:std_xext_t:s0
Chris PeBenito 2c12b4
extension XINERAMA			system_u:object_r:std_xext_t:s0
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
# Direct hardware access extensions
Chris PeBenito 2c12b4
extension XFree86-DGA			system_u:object_r:directhw_xext_t:s0
Chris PeBenito 2c12b4
extension XFree86-VidModeExtension	system_u:object_r:directhw_xext_t:s0
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
# Screen management and multihead extensions
Chris PeBenito 2c12b4
extension RANDR				system_u:object_r:output_xext_t:s0
Chris PeBenito 2c12b4
extension Composite			system_u:object_r:output_xext_t:s0
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
# Screensaver, power management extensions
Chris PeBenito 2c12b4
extension DPMS				system_u:object_r:screensaver_xext_t:s0
Chris PeBenito 2c12b4
extension MIT-SCREEN-SAVER		system_u:object_r:screensaver_xext_t:s0
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
# Shared memory extensions
Chris PeBenito 2c12b4
extension MIT-SHM			system_u:object_r:shmem_xext_t:s0
Chris PeBenito 2c12b4
extension XFree86-Bigfont		system_u:object_r:shmem_xext_t:s0
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
# Accelerated graphics, OpenGL, direct rendering extensions
Chris PeBenito 2c12b4
extension GLX				system_u:object_r:accelgraphics_xext_t:s0
Chris PeBenito 2c12b4
extension NV-CONTROL			system_u:object_r:accelgraphics_xext_t:s0
Chris PeBenito 2c12b4
extension NV-GLX			system_u:object_r:accelgraphics_xext_t:s0
Chris PeBenito 2c12b4
extension NVIDIA-GLX			system_u:object_r:accelgraphics_xext_t:s0
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
# Debugging, testing, and recording extensions
Chris PeBenito 2c12b4
extension RECORD			system_u:object_r:debug_xext_t:s0
Chris PeBenito 2c12b4
extension X-Resource			system_u:object_r:debug_xext_t:s0
Chris PeBenito 2c12b4
extension XTEST				system_u:object_r:debug_xext_t:s0
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
# Security-related extensions
Chris PeBenito 2c12b4
extension SECURITY			system_u:object_r:security_xext_t:s0
Chris PeBenito 2c12b4
extension SELinux			system_u:object_r:security_xext_t:s0
Chris PeBenito 2c12b4
extension XAccessControlExtension	system_u:object_r:security_xext_t:s0
Chris PeBenito 2c12b4
extension XC-APPGROUP			system_u:object_r:security_xext_t:s0
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
# Video extensions
Chris PeBenito 2c12b4
extension XVideo			system_u:object_r:video_xext_t:s0
Chris PeBenito 2c12b4
extension XVideo-MotionCompensation	system_u:object_r:video_xext_t:s0
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
# Default fallback type
Chris PeBenito 2c12b4
extension *	   			system_u:object_r:xext_t:s0
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 XA_PRIMARY			system_u:object_r:clipboard_xselection_t:s0
Chris PeBenito 2c12b4
selection XA_SECONDARY			system_u:object_r:clipboard_xselection_t:s0
Chris PeBenito 2c12b4
selection PRIMARY			system_u:object_r:clipboard_xselection_t:s0
Chris PeBenito 2c12b4
selection CLIPBOARD			system_u:object_r:clipboard_xselection_t:s0
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
# Default fallback type
Chris PeBenito 2c12b4
selection *				system_u:object_r:xselection_t:s0
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:s0
Chris PeBenito 2c12b4
event X11:KeyRelease			system_u:object_r:input_xevent_t:s0
Chris PeBenito 2c12b4
event X11:ButtonPress			system_u:object_r:input_xevent_t:s0
Chris PeBenito 2c12b4
event X11:ButtonRelease			system_u:object_r:input_xevent_t:s0
Chris PeBenito 2c12b4
event X11:MotionNotify			system_u:object_r:input_xevent_t:s0
Chris PeBenito 2c12b4
event X11:SelectionNotify		system_u:object_r:input_xevent_t:s0
Chris PeBenito 2c12b4
event XInputExtension:DeviceKeyPress	system_u:object_r:input_xevent_t:s0
Chris PeBenito 2c12b4
event XInputExtension:DeviceKeyRelease	system_u:object_r:input_xevent_t:s0
Chris PeBenito 2c12b4
event XInputExtension:DeviceButtonPress	system_u:object_r:input_xevent_t:s0
Chris PeBenito 2c12b4
event XInputExtension:DeviceButtonRelease	system_u:object_r:input_xevent_t:s0
Chris PeBenito 2c12b4
event XInputExtension:DeviceMotionNotify	system_u:object_r:input_xevent_t:s0
Chris PeBenito 2c12b4
event XInputExtension:DeviceValuator	system_u:object_r:input_xevent_t:s0
Chris PeBenito 2c12b4
event XInputExtension:ProximityIn	system_u:object_r:input_xevent_t:s0
Chris PeBenito 2c12b4
event XInputExtension:ProximityOut	system_u:object_r:input_xevent_t:s0
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
# Focus events
Chris PeBenito 2c12b4
event X11:FocusIn			system_u:object_r:focus_xevent_t:s0
Chris PeBenito 2c12b4
event X11:FocusOut			system_u:object_r:focus_xevent_t:s0
Chris PeBenito 2c12b4
event X11:EnterNotify			system_u:object_r:focus_xevent_t:s0
Chris PeBenito 2c12b4
event X11:LeaveNotify			system_u:object_r:focus_xevent_t:s0
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
# Property events
Chris PeBenito 2c12b4
event X11:PropertyNotify		system_u:object_r:property_xevent_t:s0
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
# Client message events
Chris PeBenito 2c12b4
event X11:ClientMessage			system_u:object_r:client_xevent_t:s0
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
# Manager events
Chris PeBenito 2c12b4
event X11:ConfigureRequest		system_u:object_r:manage_xevent_t:s0
Chris PeBenito 2c12b4
event X11:ResizeRequest			system_u:object_r:manage_xevent_t:s0
Chris PeBenito 2c12b4
event X11:MapRequest			system_u:object_r:manage_xevent_t:s0
Chris PeBenito 2c12b4
event X11:CirculateRequest		system_u:object_r:manage_xevent_t:s0
Chris PeBenito 2c12b4
event X11:CreateNotify			system_u:object_r:manage_xevent_t:s0
Chris PeBenito 2c12b4
event X11:DestroyNotify			system_u:object_r:manage_xevent_t:s0
Chris PeBenito 2c12b4
event X11:MapNotify			system_u:object_r:manage_xevent_t:s0
Chris PeBenito 2c12b4
event X11:UnmapNotify			system_u:object_r:manage_xevent_t:s0
Chris PeBenito 2c12b4
event X11:ReparentNotify		system_u:object_r:manage_xevent_t:s0
Chris PeBenito 2c12b4
event X11:ConfigureNotify		system_u:object_r:manage_xevent_t:s0
Chris PeBenito 2c12b4
event X11:GravityNotify			system_u:object_r:manage_xevent_t:s0
Chris PeBenito 2c12b4
event X11:CirculateNotify		system_u:object_r:manage_xevent_t:s0
Chris PeBenito 2c12b4
event X11:Expose			system_u:object_r:manage_xevent_t:s0
Chris PeBenito 2c12b4
event X11:VisibilityNotify		system_u:object_r:manage_xevent_t:s0
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
# Unknown events (that are not registered in the X server's name database)
Chris PeBenito 2c12b4
event <unknown>				system_u:object_r:unknown_xevent_t:s0
Chris PeBenito 2c12b4
Chris PeBenito 2c12b4
# Default fallback type
Chris PeBenito 2c12b4
event *					system_u:object_r:xevent_t:s0