Revert "Make ping enforcing."

Causing adbd to run at 100% cpu utilization when the following
sequence of commands are run:

1) Run the command "adb shell ping -c 1 -w 5 www.google.com" for 5 times
2) Run "adb shell top -m 5"

The following denial occurs:

<5>[   20.647559] type=1400 audit(1389054327.861:21): avc:  denied  { sigchld } for  pid=1989 comm="adbd" scontext=u:r:ping:s0 tcontext=u:r:adbd:s0 tclass=process

Reverting for now.

This reverts commit 1b556c3270.

Bug: 12251052
Change-Id: I1b9920624f49b0aed2226c41a45005aff228d9e8
This commit is contained in:
Nick Kralevich 2014-01-06 16:24:23 -08:00
parent b8ac06f379
commit a6f88c73dc

View file

@ -1,4 +1,5 @@
type ping, domain;
permissive ping;
type ping_exec, exec_type, file_type;
domain_auto_trans(shell, ping_exec, ping)
domain_auto_trans(dumpstate, ping_exec, ping)