Merge "gps: add sepolicy to coredump node" into main
This commit is contained in:
commit
c290ed9612
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