On 05/23/2016 02:58 PM, Edward Paul Ratazzi wrote:
> It's a userdebug build, William.
> 
> Prompted by Stephen's question about the kernel config options, I did a 
> little digging into the android-x86 source and found out that there are no 
> SELINUX options included in the default config file for the 4.0.9 kernel used 
> in thier 5.1.1 build (see 
> https://sourceforge.net/p/android-x86/kernel/ci/kernel-4.0/tree/arch/x86/configs/android-x86_defconfig).
>  Sure enough, the resulting .config file has nothing about SELinux (see 
> attached).  It looks as though their newest 4.4.8 kernel, for the marshmallow 
> build, includes SELINUX options (see 
> https://sourceforge.net/p/android-x86/kernel/ci/kernel-4.4/tree/arch/x86/configs/android-x86_defconfig).
> 
> I'm guessing this means that the only path to getting SELinux into an enabled 
> state in 5.1.1 VM is to rebuild the kernel with a configuration that includes 
> the SELINUX options, correct?  Even though I am seeing the file 
> infrastructure (sepolicy, etc.), am I correct in believing the the built 
> kernel, as it currently stands, does not include the required functionality 
> to act on the kernel command line parameters I passed to it?

Yes.  See android/configs/README in the Android kernel tree; you want to
merge android-base.cfg at least into your defconfig.  It should already
include SELinux and its dependencies.


_______________________________________________
Seandroid-list mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to 
[email protected].

Reply via email to