4e207038_NB_XWIN___SELinux_Wiki__Parameters
[Function Name] SELinuxSetDeviceContext [Minor Opcode] 3 [Comments] This is used by SELinux-aware applications for setting the context on selected x_device object. [Parameters] 
DeviceID + Context+Len
N o n e
C o n t e x t + L e n
D e v i c e I D + C o n t e x t + L e n
D e v i c e I D
W i n d o w I D
W i n d o w I D + A t o m I D
NB XWIN - SELinux Wiki