blob: 7d223e05f18c1e56c16c468bcaec656bcc1d65cd [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From 3a788e9168c9b9eac66c4fa479413f4a95c61be4 Mon Sep 17 00:00:00 2001
2From: Florent Revest <revestflo@gmail.com>
3Date: Mon, 30 Oct 2017 21:05:46 +0100
4Subject: [PATCH] adb: Allow adbd to be ran as root
5
6---
7 adb/adb.c | 1 +
8 1 file changed, 1 insertion(+)
9
10diff --git a/adb/adb.c b/adb/adb.c
11index 027edd9359..e0f7ecde45 100644
12--- a/adb/adb.c
13+++ b/adb/adb.c
14@@ -1271,6 +1271,7 @@ static int should_drop_privileges() {
15 int secure = 0;
16 char value[PROPERTY_VALUE_MAX];
17
18+ return 0;
19 /* run adbd in secure mode if ro.secure is set and
20 ** we are not in the emulator
21 */