Commit 453fc63
authored
Show default selinux context as untrusted_app (#871)
In the CONFIG_FILE, there is a field for selinux context label.
Though this field is not wildely used by APatch or Android modules, it is confusing to have its default always to be `magisk`.
For example, if one sets an app to be excluded, then in the file `/data/adb/ap/package_config`, its selinux context is shown to be `u:r:magisk:s0`, which is not reasonable.
It is better to use the Android default context for applications to avoid confusions (of module developers who parse this file).1 parent eb8959b commit 453fc63
File tree
3 files changed
+5
-3
lines changed- app/src/main/java/me/bmax/apatch
- util
3 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
91 | | - | |
| 92 | + | |
0 commit comments