Re: seandroid 4.1.1

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

 



The output of
adb shell
su
dmesg

is

"klogctl: Operation not permitted"


On Thu, Sep 20, 2012 at 4:48 PM, Stephen Smalley <sds@xxxxxxxxxxxxx> wrote:
On Thu, 2012-09-20 at 16:10 +0200, Alexandra Test wrote:
> 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

You aren't using the AOSP-provided su command there - that is
Superuser.apk from CM.  Anyway, you should be able to do this:
adb shell
su
dmesg


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