FORUMS

Google No Longer Sending Calendar SMS Notifications

In a not entirely surprising move, Google announced that it’s putting an … more

Enable Multi-Window Mode on M Developer Preview

What was not mentioned in yeterday’s keynote was Android M’s multi-window … more

I/O Summary: Google Cardboard Virtual Reality

One year ago, Google introduced cardboard. Amazingly enough, that was all it took to fire … more

Android M Preview Images – XDA TV

Android M preview images are available. That and much more news is covered by Jordan when he … more

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

Thanks Meter: 11,696
 
Post Reply Subscribe to Thread Email Thread
19th September 2014, 10:57 AM |#11  
Senior Member
Thanks Meter: 9
 
More
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
 
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
 
More
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 Recognized Contributor
Flag Baltimore, MD
Thanks Meter: 11,696
 
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


Top Threads in Verizon Galaxy Note 3 Android Development by ThreadRank