topjohnwu
513d732934
SIGPIPE is handled in main daemon
2018-07-03 01:37:33 +08:00
topjohnwu
2c4001387e
Several adjustments
2018-06-26 18:45:51 +08:00
topjohnwu
30e459252c
Update daemon
2018-06-17 01:26:38 +08:00
topjohnwu
79eb5b2ed2
Rename entry
2018-06-14 01:44:16 +08:00
topjohnwu
f0533fca70
Simplify su_info cache
...
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.
2018-06-13 23:04:57 +08:00
topjohnwu
08e98eeb15
Fail fast when possible
2018-06-13 18:14:23 +08:00
topjohnwu
b2f719989d
Move database logic outside of MagiskSU
2018-06-13 04:33:32 +08:00
topjohnwu
7e2ba41c64
Refactoring
2018-04-22 02:16:16 +08:00
topjohnwu
b0c1a6f73a
Update su to match Linux's implementation
2017-12-18 13:12:06 +08:00
topjohnwu
257308d5db
Change database location and implementation
2017-12-12 03:03:05 +08:00
topjohnwu
84ca8e1f3e
Support changing requester in DB
2017-10-28 16:03:39 +08:00
topjohnwu
1a702b08b9
Support FBE: read from DE
2017-09-15 18:01:31 +08:00
topjohnwu
9be2844c82
Fix multiuser in user independent mode
2017-08-12 01:09:02 +08:00
topjohnwu
875c687e3f
Fix multiuser mode
2017-08-07 00:31:27 +08:00
topjohnwu
40b6de599c
Prevent client error
2017-07-16 15:31:40 +08:00
topjohnwu
60ca704a9e
Add mount-master option
2017-07-08 01:12:47 +08:00
topjohnwu
7c4d5cee95
Update to new list implementation
2017-07-02 17:46:30 +08:00
topjohnwu
c9286624d4
Add namespace mode support
2017-06-08 22:50:39 +08:00
topjohnwu
1ddd746862
Switch to DB based su config
2017-06-01 03:19:45 +08:00
topjohnwu
48ace3de57
Big refactor: Add request cache and collector
2017-05-29 18:54:33 +08:00