From 4a8acfd123eabe59d07e7698cc462bb1649c7c3a Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Wed, 1 Feb 2017 23:12:18 +0800 Subject: [PATCH] No more su_daemon context! --- daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.c b/daemon.c index ad1130de6..4ea08e454 100644 --- a/daemon.c +++ b/daemon.c @@ -471,7 +471,7 @@ int run_daemon() { PLOGE("setsid"); return -1; } - if (setcon("u:r:su_daemon:s0") < 0) { + if (setcon("u:r:su:s0") < 0) { PLOGE("setcon"); return -1; }