Skip to content
Snippets Groups Projects
Commit cd308f8c authored by gcondra@google.com's avatar gcondra@google.com Committed by Android Git Automerger
Browse files

am b40d5972: am ca326e2c: Add policy for ping.

* commit 'b40d5972':
  Add policy for ping.
parents 789085d8 b40d5972
No related branches found
No related tags found
No related merge requests found
......@@ -148,6 +148,7 @@
/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/ping u:object_r:ping_exec:s0
#############################
# Vendor files
#
......
ping.te 0 → 100644
type ping, domain;
type ping_exec, file_type;
domain_auto_trans(shell, ping_exec, ping)
allow ping self:capability net_raw;
allow ping self:rawip_socket create_socket_perms;
allow ping self:udp_socket create_socket_perms;
allow ping node:rawip_socket node_bind;
allow ping dnsproxyd_socket:sock_file write;
allow ping netd:unix_stream_socket connectto;
allow ping devpts:chr_file rw_file_perms;
allow ping shell:fd use;
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