is it possible I don't have the package installed?
this is the output....
adb shell su 0 dmsg
Usage: su [options] [LOGIN]
Options:
-c, --command COMMAND pass COMMAND to the invoked shell
-h, --help display this help message and exit
-, -l, --login make the shell a login shell
-s, --shell SHELL use SHELL instead of the default in passwd
-v, --version display version number and exit
-V display version code and exit. this is
used almost exclusively by Superuser.apk
root@alexandra:~/new/external/sepolicy# adb shell su 0 dmesg
Usage: su [options] [LOGIN]
Options:
-c, --command COMMAND pass COMMAND to the invoked shell
-h, --help display this help message and exit
...
what is wrong?Usage: su [options] [LOGIN]
Options:
-c, --command COMMAND pass COMMAND to the invoked shell
-h, --help display this help message and exit
-, -l, --login make the shell a login shell
-s, --shell SHELL use SHELL instead of the default in passwd
-v, --version display version number and exit
-V display version code and exit. this is
used almost exclusively by Superuser.apk
root@alexandra:~/new/external/sepolicy# adb shell su 0 dmesg
Usage: su [options] [LOGIN]
Options:
-c, --command COMMAND pass COMMAND to the invoked shell
-h, --help display this help message and exit
...
On Thu, Sep 20, 2012 at 4:00 PM, Stephen Smalley <sds@xxxxxxxxxxxxx> wrote:
On Thu, 2012-09-20 at 15:57 +0200, Alexandra Test wrote:No avc: or SELinux: messages in dmesg output when it fails?
> I don't have any denials.
> 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...
I suppose it could be hidden by a dontaudit rule. You could try
stripping those from your policy and see if you get anything.
--
Stephen Smalley
National Security Agency