If I change in enforcing mode with the wifi still connected, the wifi works.
But if, in the enforcing mode, I disconnect it and try to reconnect it, it doesn't : he says "obtaining IP address", "connecting", "saved" at the end without being connected...
On Thu, Sep 20, 2012 at 2:55 PM, Stephen Smalley <sds@xxxxxxxxxxxxx> wrote:
On Thu, 2012-09-20 at 12:19 +0200, Alexandra Test wrote:Follow the instructions on the wiki,
> I am sorry... it is working when the device is in permissive mode.
> I really cannot understand the way to define the policies.
> For the wifi, for example, what do I suppose to do?
>
> Thanks for your help
http://selinuxproject.org/page/SEAndroid#Getting_Started_with_SE_Android
In particular, capture the dmesg output to see the avc denials, and then
address those denials in your policy. If you need help, post the avc
denials to the list and we can help you decipher them.
Boot it permissive, use the wifi, and then run adb shell su 0 dmesg |
grep avc, and post the result.
--
Stephen Smalley
National Security Agency