What Do You Do with All of Your Old Photos?

Smartphone cameras have advanced so tremendously over the past few years that they have … more

Diving into the April 2015 Material Design Update

Before the release of Android 5.0 Lollipop, the Holo Design guidelines served as the … more

New Cyanogen Partnerships Bring Privacy Concerns

New Privacy concerns have emerged regarding Cyanogen’s latest announcements, … more

PSA: Google Play Services Wakelock Affects Many 5.x ROMs

Wakelocks are the bane of the battery conscious, and this wakelock bug has been … more
Post Reply Subscribe to Thread Email Thread

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

19th September 2014, 10: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, 02: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, 05: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, 05:30 PM |#14  
hsbadr's Avatar
OP Senior Member
Flag Baltimore, MD
Thanks Meter: 10,120
 
2,372 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