diff --git a/dhcp.te b/dhcp.te index e7103608f112ce6b198173255c2318978d2f9ba9..2baca81a9490dc5ff9bad7f7694baf9154b10f96 100644 --- a/dhcp.te +++ b/dhcp.te @@ -2,7 +2,6 @@ type dhcp, domain; permissive dhcp; type dhcp_exec, exec_type, file_type; type dhcp_data_file, file_type, data_file_type; -type dhcp_system_file, file_type, data_file_type; init_daemon_domain(dhcp) net_domain(dhcp) @@ -16,8 +15,6 @@ allow dhcp system_file:file rx_file_perms; # For /proc/sys/net/ipv4/conf/*/promote_secondaries allow dhcp proc_net:file write; allow dhcp system_prop:property_service set ; -allow dhcp dhcp_system_file:file rx_file_perms; -allow dhcp dhcp_system_file:dir r_dir_perms; unix_socket_connect(dhcp, property, init) allow dhcp owntty_device:chr_file rw_file_perms; diff --git a/file_contexts b/file_contexts index 6c530a66e1caeb536971c7613a3161479f355d09..f1c306b901c6149e3886e566e0a434e686e36a19 100644 --- a/file_contexts +++ b/file_contexts @@ -138,8 +138,6 @@ /system/bin/pppd u:object_r:ppp_exec:s0 /system/bin/tf_daemon u:object_r:tee_exec:s0 /system/bin/racoon u:object_r:racoon_exec:s0 -/system/etc/ppp(/.*)? u:object_r:ppp_system_file:s0 -/system/etc/dhcpcd(/.*)? u:object_r:dhcp_system_file:s0 /system/xbin/su u:object_r:su_exec:s0 /system/vendor/bin/gpsd u:object_r:gpsd_exec:s0 /system/bin/dnsmasq u:object_r:dnsmasq_exec:s0 diff --git a/ppp.te b/ppp.te index bc1bafcb891eff67f540bf7d9263564da08c655f..1f61fdd9a3fc33c72b88b1f75587304ef6ac67b5 100644 --- a/ppp.te +++ b/ppp.te @@ -2,6 +2,5 @@ type ppp, domain; type ppp_device, dev_type; type ppp_exec, exec_type, file_type; -type ppp_system_file, file_type; unconfined_domain(ppp) domain_auto_trans(mtp, ppp_exec, ppp)