Commit d673f8f
committed
throne_tracker: avoid cross-fs traversal using s_magic check
Skip directories in /data/app that are NOT the same as /data/app.
This is to avoid scanning incfs and any other stacked filesystems.
This is a simple workaround for Ultra-Legacy kernels where upstream's
method fails.
Replaces:
`throne_tracker: avoid cross fs access`
tiann/KernelSU#2626
Signed-off-by: backslashxx <[email protected]>1 parent 70379a2 commit d673f8f
1 file changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| 228 | + | |
228 | 229 | | |
229 | 230 | | |
230 | 231 | | |
| |||
271 | 272 | | |
272 | 273 | | |
273 | 274 | | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
274 | 291 | | |
275 | 292 | | |
276 | 293 | | |
| |||
0 commit comments