summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Yu <willy.yu@mediatek.com>2020-02-14 09:37:42 +0800
committerGerrit Code Review <gerrit@mediatek.com>2020-02-14 09:37:42 +0800
commit75738998aab106c94e07c25717dc1d2abeab8bb7 (patch)
treecba2b5c8ad0d3676cd7f076cadc2e05dbca71601
parent4c072597d7a0c0decfc3a86126f7570b5e82e761 (diff)
parentb922e328bd53e5fcfd6c508a405a52a6b18b6d9c (diff)
downloadwembley-sepolicy-75738998aab106c94e07c25717dc1d2abeab8bb7.tar.gz
Merge "[ALPS04949825] WMT: add sepolicy" into alps-trunk-r0.basic
-rw-r--r--non_plat/stp_dump3.te2
-rw-r--r--r_non_plat/stp_dump3.te2
2 files changed, 4 insertions, 0 deletions
diff --git a/non_plat/stp_dump3.te b/non_plat/stp_dump3.te
index 6d0a65b..0501d29 100644
--- a/non_plat/stp_dump3.te
+++ b/non_plat/stp_dump3.te
@@ -30,12 +30,14 @@ allow stp_dump3 tmpfs:lnk_file read;
allow stp_dump3 mnt_user_file:dir search;
allow stp_dump3 mnt_user_file:lnk_file read;
allow stp_dump3 storage_file:lnk_file read;
+allow stp_dump3 storage_file:dir search;
allow stp_dump3 sdcard_type:dir search;
allow stp_dump3 sdcard_type:dir {open read write create setattr getattr add_name remove_name search};
allow stp_dump3 sdcard_type:file { open read write create setattr getattr append unlink rename};
allow stp_dump3 sdcard_type:file create_file_perms;
allow stp_dump3 stp_dump_data_file:dir create_dir_perms;
allow stp_dump3 stp_dump_data_file:file create_file_perms;
+allow stp_dump3 stp_dump_data_file:sock_file { write create unlink setattr };
allow stp_dump3 connsyslog_data_vendor_file:dir create_dir_perms;
allow stp_dump3 connsyslog_data_vendor_file:file create_file_perms;
get_prop(stp_dump3, coredump_prop)
diff --git a/r_non_plat/stp_dump3.te b/r_non_plat/stp_dump3.te
index 6d0a65b..0501d29 100644
--- a/r_non_plat/stp_dump3.te
+++ b/r_non_plat/stp_dump3.te
@@ -30,12 +30,14 @@ allow stp_dump3 tmpfs:lnk_file read;
allow stp_dump3 mnt_user_file:dir search;
allow stp_dump3 mnt_user_file:lnk_file read;
allow stp_dump3 storage_file:lnk_file read;
+allow stp_dump3 storage_file:dir search;
allow stp_dump3 sdcard_type:dir search;
allow stp_dump3 sdcard_type:dir {open read write create setattr getattr add_name remove_name search};
allow stp_dump3 sdcard_type:file { open read write create setattr getattr append unlink rename};
allow stp_dump3 sdcard_type:file create_file_perms;
allow stp_dump3 stp_dump_data_file:dir create_dir_perms;
allow stp_dump3 stp_dump_data_file:file create_file_perms;
+allow stp_dump3 stp_dump_data_file:sock_file { write create unlink setattr };
allow stp_dump3 connsyslog_data_vendor_file:dir create_dir_perms;
allow stp_dump3 connsyslog_data_vendor_file:file create_file_perms;
get_prop(stp_dump3, coredump_prop)