summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java/com/wireguard/util
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2018-12-29 15:31:26 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2019-02-14 11:03:41 +0100
commit69c6fa0a2452ae3d8cb5df4c9a0b62fb66ef1b2c (patch)
tree0704ac54f25b5f9f92c942d146766466a9e42a63 /app/src/main/java/com/wireguard/util
parentc3e63df7b551eccd39de86293f7c3d62f85ebbcd (diff)
ToolsInstaller: Use chcon over restorecon
restorecon probes file_contexts to get the context to be applied to the file. /sbin/.magisk does not exist in file_contexts for obvious reasons so restorecon always fails. Use chcon directly with the system_file context to allow contexts to be applied. Suggested-by: Chris Renshaw <osm0sis@outlook.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src/main/java/com/wireguard/util')
0 files changed, 0 insertions, 0 deletions