Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sepolicy for get and set of vendor.mesa.anv.queue.override #370

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions graphics/mesa/domain.te
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
allow domain sysfs_app_readable:dir search;
get_prop(coredomain, vendor_graphics_mesa_prop)
1 change: 1 addition & 0 deletions graphics/mesa/property.te
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
vendor_internal_prop(vendor_graphics_hwcomposer_prop)
vendor_public_prop(vendor_graphics_gles_prop)
vendor_restricted_prop(vendor_graphics_mesa_prop)
1 change: 1 addition & 0 deletions graphics/mesa/property_contexts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
vendor.hwcomposer.edid. u:object_r:vendor_graphics_hwcomposer_prop:s0
vendor.gles. u:object_r:vendor_graphics_gles_prop:s0
vendor.mesa. u:object_r:vendor_graphics_mesa_prop:s0
1 change: 1 addition & 0 deletions graphics/mesa/vendor_init.te
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ dontaudit vendor_init debugfs_tracing_instances:dir write;
allow vendor_init mediaserver:process setsched;
allow vendor_init self:udp_socket create;
dontaudit vendor_init coreu_data_file:dir create_dir_perms;
set_prop(vendor_init, vendor_graphics_mesa_prop)