Skip to content
Snippets Groups Projects
Commit e8b33c31 authored by Tri Vo's avatar Tri Vo
Browse files

Add type for /system/bin/tcpdump.

We add this type with the intent to expose /system/bin/tcpdump to
vendor on userdebug devices only.

Bug: 111243627
Test: device boots /system/bin/tcpdump correctly labeled as
tcpdump_exec, can browse internet, turn wifi on/off
Change-Id: Icb35e84c87120d198fbb2b44edfa5edf6021d0f0
parent 25b4eb21
No related branches found
No related tags found
No related merge requests found
...@@ -1571,6 +1571,7 @@ ...@@ -1571,6 +1571,7 @@
system_linker_exec system_linker_exec
system_seccomp_policy_file system_seccomp_policy_file
system_security_cacerts_file system_security_cacerts_file
tcpdump_exec
system_zoneinfo_file system_zoneinfo_file
)) ))
(typeattributeset systemkeys_data_file_28_0 (systemkeys_data_file)) (typeattributeset systemkeys_data_file_28_0 (systemkeys_data_file))
......
...@@ -198,6 +198,7 @@ ...@@ -198,6 +198,7 @@
/system/bin/sload_f2fs -- u:object_r:e2fs_exec:s0 /system/bin/sload_f2fs -- u:object_r:e2fs_exec:s0
/system/bin/make_f2fs -- u:object_r:e2fs_exec:s0 /system/bin/make_f2fs -- u:object_r:e2fs_exec:s0
/system/bin/fsck_msdos -- u:object_r:fsck_exec:s0 /system/bin/fsck_msdos -- u:object_r:fsck_exec:s0
/system/bin/tcpdump -- u:object_r:tcpdump_exec:s0
/system/bin/tune2fs -- u:object_r:fsck_exec:s0 /system/bin/tune2fs -- u:object_r:fsck_exec:s0
/system/bin/toolbox -- u:object_r:toolbox_exec:s0 /system/bin/toolbox -- u:object_r:toolbox_exec:s0
/system/bin/toybox -- u:object_r:toolbox_exec:s0 /system/bin/toybox -- u:object_r:toolbox_exec:s0
......
...@@ -146,6 +146,8 @@ type system_seccomp_policy_file, system_file_type, file_type; ...@@ -146,6 +146,8 @@ type system_seccomp_policy_file, system_file_type, file_type;
type apex_key_file, system_file_type, file_type; type apex_key_file, system_file_type, file_type;
# Default type for cacerts in /system/etc/security/cacerts/*. # Default type for cacerts in /system/etc/security/cacerts/*.
type system_security_cacerts_file, system_file_type, file_type; type system_security_cacerts_file, system_file_type, file_type;
# Default type for /system/bin/tcpdump.
type tcpdump_exec, system_file_type, exec_type, file_type;
# Default type for zoneinfo files in /system/usr/share/zoneinfo/*. # Default type for zoneinfo files in /system/usr/share/zoneinfo/*.
type system_zoneinfo_file, system_file_type, file_type; type system_zoneinfo_file, system_file_type, file_type;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment