Hello i am beginner i have a question how to enforcing a rom in compilling using sepolicy?
SELinux policy is controlled via Android's system file build.prop.
Related
Please Please help been smashing brains out on google trying to find this
Am trying to build various ROMs without selinux support, i noticed a while back in 4.1 there was a selinux build flag in one of the thousands .mk files in the android source tree, which seemed to be a global switch to enable selinux (modules i assume ).
With 4.3 and 4.4 selinux seems more integrated, is the SElinux env var still there ?,if not can i just build a NO SElinux kernel and remove the selinux components from the manifests ?
SElinux has considerable userland components, do i need to clean up the init to remove refs as well as remove the binaries ?
Any info and help would be greatly appreciated thanks
I've been building custom cm builds for about a year. With the transition to lollipop, with selinux being much more restrictive in enforcing mode, my init.d script no longer works. I need the script to be able to write to sysfs nodes. Can anyone help me out with writing a policy to allow init.d scripts write access to sysfs? I'm fairly knowledgeable, but I'm in the weeds with selinux.
What i have to do with the kernel sources,to set SE Linux Permissive per default?
I only get it enforcing or completely disabled
Hi,
is there any Stockkernel for CM 12.1 Nightly available which is compiled as SELinux permissive or disabled, IsoRec enabled would be useful.
Disabling SELinux via the App "SELinuxModeChanger" requires a software reboot to enable some Xposed Modules to work, which is a long procedure (considering daily random reboots) and could be left out this way.
Nice to know: Will disabling SELinux enable init.d support? Looking forward to the Netflix fix.
Greetings,
F4R3
Is there a SELINUX permissive kernel or rom for Mido, I really want to have a kernel or rom with default SELINUX permissive in nougat, could you suggest any?