mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 20:15:29 +00:00
The Magic Mask for Android
f0533fca70
The previous implementation is great if multiple different requesters call su rapidly in a very short period of time, however in the real world this is nearly impossible to happen. This comes with quite a big overhead, since it requires two lists and also an everlasting background thread to constantly maintain the lists. The new implementation will spawn a collector thread for each cache miss, and the thread will terminate itself once the data is invalidated. |
||
---|---|---|
activity.c | ||
pts.c | ||
pts.h | ||
su_daemon.c | ||
su_socket.c | ||
su.c | ||
su.h |