Magisk/native/jni
canyie 448384af06 Guard su request IPC
Previously `read_string()` calls `std::string.resize()` with a int read from remote process. When I/O error occurs, -1 will be used for resizing the string, `std::bad_alloc` is thrown and since magisk is compiled with `-fno-exceptions`, it will crash the whole daemon process.

May fix topjohnwu#5681
2022-04-06 21:15:07 -07:00
..
core Guard su request IPC 2022-04-06 21:15:07 -07:00
external Update BusyBox 2022-03-22 04:18:12 -07:00
include Guard su request IPC 2022-04-06 21:15:07 -07:00
init Check device tree fstab entries are compatible 2022-04-02 04:28:30 -07:00
magiskboot Support multiple CPIO concatenated 2022-03-13 04:23:00 -07:00
magiskpolicy Reorganize magiskpolicy source code 2022-03-29 22:26:38 -07:00
resetprop Rename persist_properties.cpp -> persist.cpp 2021-11-30 01:58:31 -08:00
su Guard su request IPC 2022-04-06 21:15:07 -07:00
utils Introduce new sepolicy injection mechanism 2022-03-16 00:31:55 -07:00
zygisk Only dlopen valid fd 2022-03-26 13:48:53 -07:00
.gitignore Add entrypoint to build test 2019-04-01 02:46:09 -04:00
Android.mk Reorganize magiskpolicy source code 2022-03-29 22:26:38 -07:00
Application.mk Add runtime FORTIFY support 2022-01-31 01:49:37 -08:00
lto_fix.lds Update to NDK r23b 2022-01-30 07:11:51 -08:00