Magisk/native/jni
topjohnwu e7155837d7 Make sure magisk daemon won't get killed by init
According to this comment in #1880:
https://github.com/topjohnwu/Magisk/issues/1880#issuecomment-546657588

If Linux recycled our PPID, and coincidentally the process that reused
the PPID is root, AND init wants to kill the whole process group,
magiskd will get killed as a result.

There is no real way to block a SIGKILL signal, so we simply make sure
our daemon PID is the process group leader by renaming the directory.

Close #1880
2019-10-31 01:57:47 -04:00
..
core Make sure magisk daemon won't get killed by init 2019-10-31 01:57:47 -04:00
external Update busybox 2019-09-11 23:06:49 -04:00
include Introduce component agnostic communication 2019-10-21 13:59:04 -04:00
init Fix some A/B devices unable to boot into recovery 2019-10-26 17:12:35 -04:00
magiskboot magiskboot: add SPRD dt support 2019-10-23 06:58:31 -04:00
magiskhide Rename classes and small adjustments 2019-09-25 23:55:39 -04:00
magiskpolicy magiskpolicy: rules: standardize update_engine sepolicy when rooted 2019-09-23 07:55:25 -04:00
resetprop Minor code changes across all sources 2019-06-30 19:09:31 -07:00
su Introduce component agnostic communication 2019-10-21 13:59:04 -04:00
systemproperties Some code adjustments 2019-02-24 23:09:34 -05:00
utils Revert "Drop API 17 (Android 4.2) support" 2019-10-20 07:13:03 -04:00
.gitignore Add entrypoint to build test 2019-04-01 02:46:09 -04:00
Android.mk Update to support updated FrankeNDK 2019-07-07 17:38:57 -07:00
Application.mk Update to support updated FrankeNDK 2019-07-07 17:38:57 -07:00