LSPosed/daemon
JingMatrix bfa38b0d53 Fix liboat_hook.so inaccessible in some device (#190)
User has reported `dex2oat` failure with SELinux log:

```
W dex2oat64: type=1400 audit(0.0:922): avc: denied { read } for path="/data/adb/modules/zygisk_lsposed/bin/liboat_hook64.so" dev="dm-58" ino=91204 scontext=u:r:dex2oat:s0 tcontext=u:object_r:adb_data_file:s0 tclass=file permissive=0
```

Hence, we now set the SELinux context of `liboat_hook.so` in Dex2OatService.

Moreover, by the pull-request #194, we have to move `putenv` out of the if block by testing.
Indeed, if we call `putenv` inside the if block, then it is no longer valid out of the block.
2025-02-23 09:30:36 +01:00
..
src/main Fix liboat_hook.so inaccessible in some device (#190) 2025-02-23 09:30:36 +01:00
.gitignore Refactor `core` to use LSPlant as the ART hook framework (#1756) 2022-03-15 07:51:30 +08:00
build.gradle.kts Add commons-lang as a subproject 2024-09-22 14:25:45 +02:00
proguard-rules.pro Fix incorrect mount point on Android 10 (#1870) 2022-04-21 01:40:48 +00:00