[TSV2] Remove tcpdump sepolicy from gs101 and move sepolicy to gs-common

Bug: 264490014
Test: 1. Enable tcpdump_logger always-on function
      2. Dump bugreport
      3. Pull dumpstate_board.bin and chagne it to zip
      4. Unzip dumpstate_board.zip and check if tcpdump files
         are there.
Change-Id: Iea67de1e645592c6993a3ee6f2ca8e6bf3c6c949
This commit is contained in:
martinwu 2023-04-24 16:26:22 +00:00
parent af47588653
commit 3055e06f0a
2 changed files with 0 additions and 4 deletions

View file

@ -92,9 +92,6 @@ type persist_modem_file, file_type, vendor_persist_type;
type modem_img_file, contextmount_type, file_type, vendor_file_type; type modem_img_file, contextmount_type, file_type, vendor_file_type;
allow modem_img_file self:filesystem associate; allow modem_img_file self:filesystem associate;
# TCP logging
type tcpdump_vendor_data_file, file_type, data_file_type, mlstrustedobject;
# Pca # Pca
type sysfs_pca, sysfs_type, fs_type; type sysfs_pca, sysfs_type, fs_type;

View file

@ -243,7 +243,6 @@
# TCP logging # TCP logging
/vendor/bin/tcpdump_logger u:object_r:tcpdump_logger_exec:s0 /vendor/bin/tcpdump_logger u:object_r:tcpdump_logger_exec:s0
/data/vendor/tcpdump_logger(/.*)? u:object_r:tcpdump_vendor_data_file:s0
# modem_svc_sit files # modem_svc_sit files
/vendor/bin/modem_svc_sit u:object_r:modem_svc_sit_exec:s0 /vendor/bin/modem_svc_sit u:object_r:modem_svc_sit_exec:s0