Magisk/native/jni/init
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
..
getinfo.cpp Small init refactoring 2019-12-06 12:02:34 -05:00
init.cpp General QoL changes 2019-12-13 00:37:06 -05:00
init.h Backup proper magiskinit in A-only 2SI 2020-01-22 05:12:04 +08:00
magiskrc.h Remove load_persist_props in post-fs-data 2019-09-17 13:50:53 -04:00
mount.cpp init: fix Tegra "APP" /system partition mounting 2020-02-01 01:09:12 +08:00
rootdir.cpp Fix crash during boot in x86 platform 2020-02-03 13:02:30 +08:00