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

sepolicy #240

Draft
wants to merge 1 commit into
base: celadon/s/mr0/master
Choose a base branch
from
Draft
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 aafd/logwrapper.te
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ set_prop(logwrapper, vendor_intel_ipaddr_prop)
set_prop(logwrapper, vendor_graphics_gles_prop)
set_prop(logwrapper, vendor_media_target_prop)
set_prop(logwrapper, vendor_display_prop)
set_prop(logwrapper, vendor_virtual_device_prop)
1 change: 1 addition & 0 deletions aafd/property.te
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ vendor_internal_prop(vendor_usb_controller_prop)
vendor_internal_prop(vendor_fixed_perf_prop)
vendor_internal_prop(vendor_mount_ep0_prop)
vendor_internal_prop(vendor_display_prop)
vendor_internal_prop(vendor_virtual_device_prop)
1 change: 1 addition & 0 deletions aafd/property_contexts
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ vendor.usb.controller u:object_r:vendor_usb_controller_prop:s0
vendor.power.fixed_performance_scale_factor u:object_r:vendor_fixed_perf_prop:s0
vendor.mount.ep0 u:object_r:vendor_mount_ep0_prop:s0
vendor.sys.display.size u:object_r:vendor_display_prop:s0
vendor.virtual.device u:object_r:vendor_virtual_device_prop:s0
1 change: 1 addition & 0 deletions aafd/vendor_init.te
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ set_prop(vendor_init, vendor_usb_controller_prop)
get_prop(vendor_init, vendor_fixed_perf_prop)
get_prop(vendor_init, vendor_media_target_prop)
set_prop(vendor_init, vendor_display_prop)
set_prop(vendor_init, vendor_virtual_device_prop)
#============= vendor_init ==============
allow vendor_init tmpfs:dir { add_name create write };
set_prop(vendor_init, vendor_mount_ep0_prop)
1 change: 1 addition & 0 deletions sensors/mediation/sensor_hal_default.te
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ allowxperm hal_sensors_default self:socket ioctl unpriv_sock_ioctls;
allow hal_sensors_default serial_device:chr_file rw_file_perms;

allow hal_sensors_default self:vsock_socket { create read write connect getopt setopt };
get_prop(hal_sensors_default, vendor_virtual_device_prop)