RE: seandroid 4.1.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Try using “adb shell dmesg” or “adb shell –c dmesg” or “adb shell su –c dmesg” or “adb shell su 0 –c dmesg”

 

 

From: owner-selinux@xxxxxxxxxxxxx [mailto:owner-selinux@xxxxxxxxxxxxx] On Behalf Of Alexandra Test
Sent: Thursday, September 20, 2012 7:10 AM
To: Stephen Smalley
Cc: selinux@xxxxxxxxxxxxx
Subject: Re: seandroid 4.1.1

 

effectively I have a problem with dmesg
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?

 

 

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:
> 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...

No avc: or SELinux: messages in dmesg output when it fails?

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

 


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux