diff --git a/private/compat/28.0/28.0.cil b/private/compat/28.0/28.0.cil index e84c3adbed665b75af0ffd71f3968b9e9fd7fe69..e76bc2d6d52510393509b2df1f873c287162396e 100644 --- a/private/compat/28.0/28.0.cil +++ b/private/compat/28.0/28.0.cil @@ -1571,6 +1571,7 @@ system_linker_exec system_seccomp_policy_file system_security_cacerts_file + tcpdump_exec system_zoneinfo_file )) (typeattributeset systemkeys_data_file_28_0 (systemkeys_data_file)) diff --git a/private/file_contexts b/private/file_contexts index 9046ee1c09a9b27cae145fb3e043460643b61611..5e744192e286dc02f8b105de2d3bfa39f1c521b2 100644 --- a/private/file_contexts +++ b/private/file_contexts @@ -198,6 +198,7 @@ /system/bin/sload_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/tcpdump -- u:object_r:tcpdump_exec:s0 /system/bin/tune2fs -- u:object_r:fsck_exec:s0 /system/bin/toolbox -- u:object_r:toolbox_exec:s0 /system/bin/toybox -- u:object_r:toolbox_exec:s0 diff --git a/public/file.te b/public/file.te index 9bf910ee778c14e16dd20ef79304152afae8e07c..e9fb1a626892ad28da0a178769380613baa6858c 100644 --- a/public/file.te +++ b/public/file.te @@ -146,6 +146,8 @@ type system_seccomp_policy_file, system_file_type, file_type; type apex_key_file, system_file_type, file_type; # Default type for cacerts in /system/etc/security/cacerts/*. 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/*. type system_zoneinfo_file, system_file_type, file_type;