mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-24 02:25:28 +00:00
e7155837d7
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 |
||
---|---|---|
.. | ||
applet_stub.cpp | ||
applets.cpp | ||
bootstages.cpp | ||
daemon.cpp | ||
db.cpp | ||
magisk.cpp | ||
scripting.cpp | ||
socket.cpp |