On Aug 1, 2016 04:17, "Sameer Joshi" <sameerpjo...@gmail.com> wrote:
>
> Hi All,
>
> We are trying to enable SELinux in kernel and have defined following
options in the config file.
>
> CONFIG_SECURITY_SELINUX=y
> CONFIG_SECURITY_SELINUX_BOOTPARAM=y
>
> Command line options for kernel have "selinux=1 security=selinux" set.
>
> However during boot time, we get following error:
>
> [    5.549941] SELinux:  policydb version 30 does not match my version
range 15-28
>
> [    5.557486] init: SELinux:  Could not load policy:  Invalid argument
>
> [    5.563990] init: failed to load policy: Invalid argument
>
> [    5.569413] init: Security failure; rebooting into recovery mode...
>
>
> Can someone help us what this error means? Any help in fixing this would
be appreciated.
>

You're kernel is not up to date. You need the patches from Androids kernel
common tree. Bear in mind that their are two version 30s, and you'll need
to have the right one. Marshmallow uses the old version 30. Newer releases
use the new and upstream merged version 30.

I don't have the patch links handy but I'm pretty sure jeffv or nnk at
Google posted them, check the mail archives.

>
> Regards,
>
> Sameer Joshi
>
>
> _______________________________________________
> Seandroid-list mailing list
> Seandroid-list@tycho.nsa.gov
> To unsubscribe, send email to seandroid-list-le...@tycho.nsa.gov.
> To get help, send an email containing "help" to
seandroid-list-requ...@tycho.nsa.gov.
_______________________________________________
Seandroid-list mailing list
Seandroid-list@tycho.nsa.gov
To unsubscribe, send email to seandroid-list-le...@tycho.nsa.gov.
To get help, send an email containing "help" to 
seandroid-list-requ...@tycho.nsa.gov.

Reply via email to