blob: ed9aaf622c8f7ccdb733966b9194b56a8303e5ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
#============= iddd ==============
allow iddd system_file:file execute_no_trans;
#============= init ==============
allow init debugfs:file write;
allow init tad_block_device:blk_file setattr;
#============= qti_init_shell ==============
allow qti_init_shell iddd_file:dir { getattr open read remove_name rmdir write };
allow qti_init_shell tad:unix_stream_socket connectto;
allow qti_init_shell tad_socket:sock_file write;
allow qti_init_shell toolbox_exec:file entrypoint;
#============= mm-qcamerad ==============
allow mm-qcamerad camera_device:chr_file { ioctl open read write };
#============= thermanager ==============
allow thermanager sysfs:file { open read };
allow thermanager sysfs_battery_supply:dir search;
allow thermanager sysfs_battery_supply:file { open read write };
#============= scd ==============
allow scd scd_data:dir getattr;
allow scd scd_data:file { getattr open read write };
allow scd socket_device:dir { add_name write };
allow scd socket_device:sock_file { create setattr };
allow scd sysfs:file { getattr open read };
#============= wv ==============
allow wv ion_device:chr_file { ioctl open read };
allow wv suntrold:unix_stream_socket connectto;
allow wv suntrold_sock_socket:sock_file write;
allow wv tad:unix_stream_socket connectto;
allow wv tad_socket:sock_file write;
allow wv tee_device:chr_file { ioctl open read write };
#============= mediaserver ==============
allow mediaserver sensorservice_service:service_manager find;
#============= rmt_storage ==============
allow rmt_storage self:capability dac_override;
#============= scd ==============
allow scd socket_device:sock_file write;
|