Commit Graph

67 Commits

Author SHA1 Message Date
Mygod
b887569cee Fix more stream closed detections 2021-06-08 14:03:09 -04:00
Mygod
2e83f8b22d Use synchronized instead of Mutex 2021-05-25 14:14:38 -04:00
Mygod
4ad0e596d0 Refine implementation of init 2021-05-25 14:12:05 -04:00
Mygod
d9f67661d3 Handle IOException in readUnexpectedStderr 2021-05-25 13:38:54 -04:00
Mygod
9c04af0d61 Fix counter not protected by mutex 2021-05-20 17:10:40 -04:00
Mygod
a344398624 Handle unexpected death 2021-05-09 10:23:21 -04:00
Mygod
5c4f88967b Migrate from deprecated APIs 2021-05-05 10:04:55 -04:00
Mygod
310b55553b Suppress EBADF for RootServer as well 2021-04-24 12:56:04 -04:00
Mygod
78398a9eef Reduce process premature death warnings 2021-04-16 15:39:12 -04:00
Mygod
a1d86e4929 Fix bufferedReaders not closed 2021-02-02 03:03:50 +08:00
Mygod
3b7c6f0ebf Fix deprecated APIs 2020-12-16 06:20:33 +08:00
Mygod
df6676950d Fix throwing in finally 2020-12-10 09:16:05 +08:00
Mygod
aa9cc98581 Suppress close exception instead 2020-12-10 09:16:05 +08:00
Mygod
795caee54d Prevent RootServer.create cancelling the entire scope 2020-11-08 01:49:12 -05:00
Mygod
973c947d4a Shutdown RootServer forcibly if timeout 2020-11-04 07:27:24 +08:00
Mygod
2fc237913b Support buggy systems 2020-10-02 06:39:14 +08:00
Mygod
aa7a8f1d80 Prevent crash on timeout 2020-10-02 06:26:04 +08:00
Mygod
93c7a91fa8 Rename timeoutContext 2020-10-02 06:24:43 +08:00
Mygod
18f27baa23 Remove timber 2020-08-24 01:40:23 +08:00
Mygod
e6b2010b38 closeLocked might throw 2020-08-23 11:10:29 -04:00
Mygod
1029728f22 Refine code style 2020-08-18 05:43:30 +08:00
Mygod
35055bc074 Fix deprecations 2020-08-18 05:02:09 +08:00
Mygod
2989094efd Update dependencies 2020-08-18 04:43:53 +08:00
Mygod
a25d6478ff Refactoring to lazy 2020-08-13 03:56:12 +08:00
Mygod
618360a6c9 More informative error message 2020-08-12 10:37:03 -04:00
Mygod
44ba43389d Locate system linker section automatically 2020-08-12 10:33:01 -04:00
Mygod
de9d2a744f Ensure crash is reflected 2020-08-12 12:01:23 +08:00
Mygod
f5ea58e35a Detect ABI_STRING correctly 2020-08-12 01:39:50 +08:00
Mygod
bcfccac142 Fix vndk detection 2020-08-09 00:53:35 +08:00
Mygod
c3b2d476e5 Improve logging 2020-08-08 07:51:47 +08:00
Mygod
6b10334919 Remove dependency on librootjava 2020-08-08 07:18:28 +08:00
Mygod
32161d4997 Refine locating ld.config.txt 2020-08-08 02:43:45 +08:00
Mygod
f1bead4316 Revert "Use /data if possible"
This reverts commit 9fae52277e.
2020-08-07 23:15:57 +08:00
Mygod
9fae52277e Use /data if possible 2020-08-07 09:53:08 +08:00
Mygod
4e9561fc86 Run root server in unrestricted SELinux context on Android 10+
Related bug: https://github.com/Chainfire/librootjava/issues/21
2020-08-07 09:37:05 +08:00
Mygod
6305989cf7 Deprecate unused WiMAX tethering 2020-08-07 07:48:47 +08:00
Mygod
db165257f2 Remove dependency on useless getSystemContext from librootjava 2020-07-28 05:01:20 +08:00
Mygod
fe68f72854 Do not return dead server from ensureServerLocked 2020-07-28 04:50:54 +08:00
Mygod
83154e6d38 Check for active while locked 2020-07-28 03:39:41 +08:00
Mygod
70ca91cd08 Prevent callback being called twice when cancelling 2020-07-28 03:31:37 +08:00
Mygod
680021a27b Prevent Samsung KNOX hijacking stdout 2020-07-28 03:16:21 +08:00
Mygod
8908605767 Prevent future write attempts to System.out 2020-07-24 03:38:45 +08:00
Mygod
5e52e63d1d Do not rely on supporting -n for cp
Fixes #176.
2020-07-23 09:45:49 +08:00
Mygod
3fead73a12 Refine logging 2020-07-23 07:50:38 +08:00
Mygod
ecd277cd81 Update dependencies 2020-07-23 07:37:09 +08:00
Mygod
b0cfb6be68 Add debug logging 2020-07-20 09:09:03 +08:00
Mygod
2da3b9b5a3 Fix #173 2020-07-19 02:35:38 +08:00
Mygod
a90df1b88c Downgrade coroutines until Kotlin 1.4 2020-07-18 03:41:50 +08:00
Mygod
6bef518ac0 Make sure unregistering callback is not cancelled 2020-07-18 03:28:14 +08:00
Mygod
14beddd0dd Sync debug value to Logger 2020-07-10 04:33:58 +08:00