Pixie Dust – XDA Game Time!

more

Droid Turbo & Moto Maxx Compatibility Guide

more

YU “Project Caesar” with CM12 to Launch in India in April

The post YU “Project Caesar” with CM12 to Launch in India … more

Five New Forums for Latest Phones, Tablet and Smartwatch

The post Five New Forums for Latest Phones, Tablet and Smartwatch appeared first on … more
Post Reply

[SCRIPT] [INIT.D] Permissive SELinux on Stock Kernels [08/21/2014]

OP hsbadr

19th September 2014, 11:57 AM   |  #11  
Member
Thanks Meter: 1
 
53 posts
Join Date:Joined: Feb 2012
if i run the commands by hand from a prompt and it doesnt switch selinux to permissive is there a point to trying to get this into init.d ?
20th September 2014, 03:43 AM   |  #12  
RomsWell's Avatar
Senior Member
Flag Venice
Thanks Meter: 1,036
 
1,595 posts
Join Date:Joined: Jul 2011
More
Quote:
Originally Posted by siriom

if i run the commands by hand from a prompt and it doesnt switch selinux to permissive is there a point to trying to get this into init.d ?

Im not all that sure it will show that way. It is during boot that permissive is checked. After boot I dont think it rechecks. If your following me? Might be a appcto force close and maybe it will restart and change the about listing. Or maybe a soft reboot
20th September 2014, 06:02 PM   |  #13  
Junior Member
Thanks Meter: 5
 
24 posts
Join Date:Joined: Jun 2010
I noticed you have 775 for rwx-rx-rx but 775 is rwx-rwx-rx shouldn't it be set to 755 for rwx-rx-rx?
20th September 2014, 06:30 PM   |  #14  
hsbadr's Avatar
OP Senior Member
Flag Baltimore, MD
Thanks Meter: 8,108
 
1,995 posts
Join Date:Joined: May 2014
Donate to Me
More
Quote:
Originally Posted by siriom

if i run the commands by hand from a prompt and it doesnt switch selinux to permissive is there a point to trying to get this into init.d ?

you did something wrong for sure. The screenshot is from my device on NC4 kernel with permissive SELinux & all JasmineROM's users on NC4 kernel use the same script.

Quote:
Originally Posted by Zarg95ET

I noticed you have 775 for rwx-rx-rx but 775 is rwx-rwx-rx shouldn't it be set to 755 for rwx-rx-rx?

You're right. It's 0755; OP updated.
Post Reply Subscribe to Thread

Tags
init.d, permissive, script, selinux
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes