Allow all X apps to use direct dri if user_direct_dri boolean is turned on
This commit is contained in:
parent
03527520de
commit
09686dc8ee
@ -511,6 +511,10 @@ template(`xserver_user_x_domain_template',`
|
|||||||
xserver_object_types_template($1)
|
xserver_object_types_template($1)
|
||||||
xserver_common_x_domain_template($1,$2)
|
xserver_common_x_domain_template($1,$2)
|
||||||
|
|
||||||
|
tunable_policy(`user_direct_dri',`
|
||||||
|
dev_rw_dri($2)
|
||||||
|
')
|
||||||
|
|
||||||
# Client write xserver shm
|
# Client write xserver shm
|
||||||
tunable_policy(`allow_write_xshm',`
|
tunable_policy(`allow_write_xshm',`
|
||||||
allow $2 xserver_t:shm rw_shm_perms;
|
allow $2 xserver_t:shm rw_shm_perms;
|
||||||
|
Loading…
Reference in New Issue
Block a user