| 1 | = psneuter (by scotty2) = |
| 2 | |
| 3 | Description from the code: |
| 4 | {{{ |
| 5 | // psneuter.c, written by scotty2. |
| 6 | |
| 7 | // neuter the android property service. |
| 8 | |
| 9 | // ashmem allows us to restrict permissions for a page further, but not relax them. |
| 10 | // adb relies on the ability to read ro.secure to know whether to drop its privileges or not; |
| 11 | // if it can't read the ro.secure property (because perhaps it couldn't map the ashmem page... :) |
| 12 | // then it will come up as root under the assumption that ro.secure is off. |
| 13 | // this will have the unfortunate side effect of rendering any of the bionic userspace that relies on the property |
| 14 | // service and things like dns broken. |
| 15 | // thus, we will want to use this, see if we can fix the misc partition, and downgrade the firmware as a whole to something more root friendly. |
| 16 | }}} |