Android Lollipop Lands for the Sony Xperia Z Ultra

The undisputed king of the beasts–at least in Sony’s current stable,is the … more

Android 5.0 Lollipop in 3D–EVO 3D, That Is!

It is that time of the year once again. Flowers bloom (or snow falls, depending on which … more

Gaming Console with Lollipop? Ouya Gets an Android TV Port

Android is a very flexible platform, and it can be used on a large variety of … more

Android App Review: Manage Your Connections Automagically – XDA TV

Material Design is all the buzz in the Android world right now. … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
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
 
50 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,029
 
1,584 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
Thanks Meter: 7,054
 
1,818 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