Magisk/native
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
..
jni Make sure magisk daemon won't get killed by init 2019-10-31 01:57:47 -04:00
src/main Full project restructuring 2019-01-30 03:10:12 -05:00
.gitignore Support Android Q new init setup 2019-03-03 06:35:25 -05:00
build.gradle Add entrypoint to build test 2019-04-01 02:46:09 -04:00