topjohnwu
b2f719989d
Move database logic outside of MagiskSU
2018-06-13 04:33:32 +08:00
topjohnwu
873f14bbe0
setexeccon is not needed
2018-04-15 03:15:29 +08:00
topjohnwu
190d857949
Allow su to work when manager uninstalled
2017-12-22 00:29:58 +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
6b7b71b1f8
Remove error handler
2017-10-13 04:42:30 +08:00
topjohnwu
1a702b08b9
Support FBE: read from DE
2017-09-15 18:01:31 +08:00
topjohnwu
8c52dfb804
Cleanup
2017-09-15 15:23:50 +08:00
topjohnwu
09392be069
Cleanup file descriptors and add info
2017-07-08 23:50:47 +08:00
topjohnwu
60ca704a9e
Add mount-master option
2017-07-08 01:12:47 +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
topjohnwu
3395c84560
Improve multiuser notifications
2017-05-28 01:28:18 +08:00
topjohnwu
94c2fc80d2
Add multiuser support
2017-05-27 02:40:12 +08:00
topjohnwu
3904ca38c0
Do not fork a new process for waiting
2017-05-08 03:08:34 +08:00
topjohnwu
f799db67eb
Add version info
2017-04-28 03:26:18 +08:00
topjohnwu
a0de3fc643
Change umask
2017-04-24 21:28:25 +08:00
topjohnwu
977c049875
Change flags
2017-04-18 21:09:53 +08:00
topjohnwu
aefbc1c9bf
Move the helper function to higher level
2017-04-17 16:33:01 +08:00
topjohnwu
222c31b306
Fix checking order
2017-04-16 23:10:18 +08:00
topjohnwu
a92c9fc226
MagiskSU rewrite for unified binary
2017-04-15 03:21:31 +08:00
topjohnwu
ed052e0b0b
Compile with unified binary only
...
The su binary itself cannot do much, since it still requires a daemon to work
The daemon code will soon be moved to a higher level (out of MagiskSU), so there is no point in creating a separate binary
2017-04-06 06:18:39 +08:00
topjohnwu
3800b4b45c
Adjustments for unified binary
2017-04-05 06:06:21 +08:00
topjohnwu
17e395c2a8
Cleanup and hide debug msg
2017-03-15 19:25:19 +08:00
topjohnwu
d50c1f39ab
Make context option NOP
2017-03-15 17:31:21 +08:00
topjohnwu
ef6b25b3bb
Duplicate the command string
2017-03-15 17:04:23 +08:00
topjohnwu
f269695d4a
Improve compatibility and remove unnecessary fork
2017-02-04 17:36:45 +08:00
topjohnwu
165eee102a
Restore working directory
2017-02-01 05:59:48 +08:00
topjohnwu
fe3c66a7c8
No need to hack anything...
2017-01-31 04:20:36 +08:00
topjohnwu
827057b9f1
Concat commands when using -c
2017-01-31 02:51:22 +08:00
topjohnwu
1716452203
Add prop checks for root access management
2017-01-28 05:30:02 +08:00
topjohnwu
54827cacb9
Improve communication with app
2017-01-24 14:17:57 +08:00
topjohnwu
e3a4a16507
Adapt su to Magisk
2017-01-23 22:51:00 +08:00
topjohnwu
ef1d1303f4
Apparently, bumping versioncode isn't enough.. WTF
2017-01-03 09:35:46 +08:00
topjohnwu
04fcb33d7e
Fix app request issue
2016-12-31 01:05:20 +08:00
topjohnwu
7955ddceb2
Remove bind, init, and GNU compiler dependancy
2016-12-30 05:50:08 +08:00
topjohnwu
3dfcc6b0be
Checkout from seSuperuser/Superuser, leaving only native parts
...
- Checkout from https://github.com/seSuperuser/Superuser (commit: 69f84dd7a035b4a9f18dea69d9e0452bf0f73103)
- Move Superuser/Superuser/jni/su/* to root
- Move Superuser/jni/sqlite3/* to sqlite3
2018-07-18 18:12:47 +08:00