Magisk/native/jni
Shaka Huang 0ecfb63cd6 Fix crash during boot in x86 platform
readlinkat() may return random value instead of the number of bytes placed in buf and crashing the system in two ways:
1. segmentation fault (buf[-7633350] = ‘\0’)
2. wrong link of watchdogd, resulting dog timeout

Confirmed working in ZenFone 2 x86 series, may fix #2247 and #2356

Signed-off-by: Shaka Huang <shakalaca@gmail.com>
2020-02-03 13:02:30 +08:00
..
core Fallback to getprop to get SDK_INT 2020-02-03 12:58:59 +08:00
external Add BusyBox SELinux support 2020-01-20 20:48:05 +08:00
include Add support for genfscon sepolicy rules 2020-02-02 01:16:42 +08:00
init Fix crash during boot in x86 platform 2020-02-03 13:02:30 +08:00
magiskboot magiskboot: fix lzop detection 2020-02-01 01:09:12 +08:00
magiskhide General QoL changes 2019-12-13 00:37:06 -05:00
magiskpolicy Add support for genfscon sepolicy rules 2020-02-02 01:16:42 +08:00
resetprop Minor code changes across all sources 2019-06-30 19:09:31 -07:00
su Reuse buffer 2019-11-13 02:36:45 -05:00
systemproperties Upstream system_properties 2020-01-27 19:50:03 +08:00
utils General QoL changes 2019-12-13 00:37:06 -05:00
.gitignore Add entrypoint to build test 2019-04-01 02:46:09 -04:00
Android.mk Support building standalone resetprop 2020-01-21 00:48:52 +08:00
Application.mk Fix build on Windows 2020-01-26 12:27:07 +08:00