From dc9670c439845519470db4583a8ab9f282d1da87 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Thu, 30 Mar 2017 02:53:46 +0800 Subject: [PATCH] Allow Samsung setprop policy --- rules.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules.c b/rules.c index 65ee3dba0..2e6a4d3dd 100644 --- a/rules.c +++ b/rules.c @@ -194,6 +194,8 @@ void min_rules() { // Misc: basic shell scripts, prop management etc. allow("su", "property_socket", "sock_file", "write"); + if (exists("default_prop")) + allow("su", "default_prop", "property_service", "set"); allow("su", "init", "unix_stream_socket", "connectto"); allow("su", "su", "unix_dgram_socket", ALL); allow("su", "su", "unix_stream_socket", ALL);