gps: add sepolicy to coredump node
Bug: 319766739 Test: build pass and verify pass Change-Id: I7cf289865540533b9d65a2c2c21d1ea4e9f391a2
This commit is contained in:
parent
ddcf9b45e9
commit
a7430966ea
2
gps/lsi/sepolicy/genfs_contexts
Normal file
2
gps/lsi/sepolicy/genfs_contexts
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# gps coredump node
|
||||||
|
genfscon sysfs /devices/platform/gnssif/coredump u:object_r:sysfs_gps:s0
|
@ -24,3 +24,4 @@ net_domain(gnssd);
|
|||||||
get_prop(gnssd, bootanim_system_prop)
|
get_prop(gnssd, bootanim_system_prop)
|
||||||
|
|
||||||
allow gnssd sysfs_soc:file r_file_perms;
|
allow gnssd sysfs_soc:file r_file_perms;
|
||||||
|
allow gnssd sysfs_gps:file rw_file_perms;
|
||||||
|
@ -3,6 +3,7 @@ allow hal_gnss_default gnssd:unix_stream_socket connectto;
|
|||||||
allow hal_gnss_default vendor_gps_file:dir create_dir_perms;
|
allow hal_gnss_default vendor_gps_file:dir create_dir_perms;
|
||||||
allow hal_gnss_default vendor_gps_file:file create_file_perms;
|
allow hal_gnss_default vendor_gps_file:file create_file_perms;
|
||||||
allow hal_gnss_default vendor_gps_file:fifo_file create_file_perms;
|
allow hal_gnss_default vendor_gps_file:fifo_file create_file_perms;
|
||||||
|
allow hal_gnss_default sysfs_gps:file rw_file_perms;
|
||||||
binder_call(hal_gnss_default, gnssd);
|
binder_call(hal_gnss_default, gnssd);
|
||||||
|
|
||||||
#Read GPS property
|
#Read GPS property
|
||||||
|
Loading…
x
Reference in New Issue
Block a user