mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
Test: boot, basic functionality Change-Id: I9c07718b481730c3388f99c5e1eff17c9fd75a7b Signed-off-by: Thierry Strudel <tstrudel@google.com>
29 lines
801 B
Plaintext
29 lines
801 B
Plaintext
type location, domain;
|
|
type location_exec, exec_type, file_type;
|
|
|
|
init_daemon_domain(location)
|
|
|
|
# STOPSHIP b/28340421
|
|
# Temporarily grant this permission and log its use.
|
|
allow location self:capability { net_admin };
|
|
auditallow location self:capability { net_admin };
|
|
|
|
allow location location_exec:file execute_no_trans;
|
|
|
|
allow location self:capability { setgid setuid };
|
|
|
|
allow location proc_net:file r_file_perms;
|
|
allow location location_data_file:file w_file_perms;
|
|
allow location location_data_file:dir w_dir_perms;
|
|
allow location location_data_file:sock_file create_file_perms;
|
|
|
|
allow location self:netlink_route_socket create_socket_perms_no_ioctl;
|
|
allow location self:udp_socket create_socket_perms;
|
|
|
|
# files in /sys
|
|
r_dir_file(location, sysfs_type)
|
|
|
|
userdebug_or_eng(`
|
|
permissive location;
|
|
')
|