Merge "Default to secure mode"
This commit is contained in:
commit
9ff99f6536
1 changed files with 1 additions and 1 deletions
|
@ -871,7 +871,7 @@ int adb_main(int is_daemon, int server_port)
|
|||
*/
|
||||
property_get("ro.kernel.qemu", value, "");
|
||||
if (strcmp(value, "1") != 0) {
|
||||
property_get("ro.secure", value, "");
|
||||
property_get("ro.secure", value, "1");
|
||||
if (strcmp(value, "1") == 0) {
|
||||
// don't run as root if ro.secure is set...
|
||||
secure = 1;
|
||||
|
|
Loading…
Reference in a new issue