diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2018-12-29 15:31:26 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-02-14 11:03:41 +0100 |
commit | 69c6fa0a2452ae3d8cb5df4c9a0b62fb66ef1b2c (patch) | |
tree | 0704ac54f25b5f9f92c942d146766466a9e42a63 /app/tools/wireguard-go | |
parent | c3e63df7b551eccd39de86293f7c3d62f85ebbcd (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/tools/wireguard-go')
0 files changed, 0 insertions, 0 deletions