!2527 允许processdump在native crash时向ability manager service 报告进程退出原因

Merge pull request !2527 from Maplestory_zeng/master
This commit is contained in:
openharmony_ci 2023-06-21 01:21:04 +00:00 committed by Gitee
commit f1c62da581
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -92,6 +92,8 @@ allow processdump init:unix_stream_socket { read write connectto };
#============ foundation ===========
allow processdump foundation:dir { getattr open read search };
allow processdump foundation:binder { call transfer };
allow processdump sa_foundation_abilityms:samgr_class { get };
#============ data_xxx ==================
allow processdump data_init_agent:file { append ioctl open read };
@ -114,6 +116,8 @@ allow processdump system_lib_file:dir { search };
allow processdump system_lib_file:file { execute getattr map open read };
allow processdump system_etc_file:dir { getattr open read search };
allow processdump system_etc_file:file { getattr open read };
allow processdump system_usr_file:dir { search };
allow processdump system_usr_file:file { getattr read open map };
#============ vendor_xxx =================
allow processdump vendor_file:file { getattr map open read };