weishu
6aa708230f
ksud: minor tweaks
2024-01-04 16:12:22 +08:00
5ec1cff
41f120ddf2
ksud: su supports set gid and groups ( #1240 )
...
- When no gid is provided, use uid as gid.
2024-01-03 18:22:01 +08:00
weishu
bedc54c03f
ksud: fix su args parse error. close #736
2023-07-28 22:21:12 +08:00
weishu
a92afcc95d
ksud: fix path env, close #775
2023-07-18 10:02:06 +08:00
weishu
d621ea6e1d
ksud: Fix su parameter parsing. close #530 , close #305 , close #330 , close #305
2023-06-10 15:23:45 +08:00
weishu
2555ce3052
ksud: fix gid is override by uid
2023-06-04 23:14:44 +08:00
weishu
37bd497139
ksud: respect the kernel default uid
2023-06-04 18:09:58 +08:00
tiann
dc8e63421d
Revert "Add option to enable global namespace ( #497 )"
...
This reverts commit 00a459a91b .
2023-05-16 22:27:01 +08:00
Hikari-no-Tenshi
00a459a91b
Add option to enable global namespace ( #497 )
...
Disabled by default.
To enable/disable use terminal with root.
To enable:
echo 1 > /sys/module/ksu/parameters/global_namespace_enable
To disable:
echo 0 > /sys/module/ksu/parameters/global_namespace_enable
Value will be reset to 0 (disabled) on reboot.
2023-05-16 11:39:48 +08:00
Ylarod
2d9c6c64be
ksud: support .ksurc ( #345 )
2023-04-05 13:30:21 +08:00
Ylarod
8c93e03504
ksud: add /data/adb/ksu/bin to PATH ( #343 )
2023-04-05 11:47:35 +08:00
tiann
b739155e06
ksud: fix unknown hang of root shell
2023-04-04 16:41:57 +08:00
tiann
08f029485b
ksud: fix build
2023-04-04 15:09:53 +08:00
tiann
b5f321d5a4
ksud: fix windows build again
2023-04-04 14:59:17 +08:00
tiann
5c5724f7c6
ksud: Remove sufix of 'v' in version tag
...
close #331
2023-04-04 14:44:51 +08:00
tiann
87863e3adf
ksud: fix windows build
2023-04-04 14:33:25 +08:00
tiann
6f97cdd8db
ksud: fix compile err in x86_64
2023-04-04 14:12:37 +08:00
tiann
1ef4c28a02
ksud: fmt
2023-04-04 13:55:36 +08:00
tiann
e808bed680
ksud: refine su and make it compitable with MagiskSU
...
Supported features:
1. --mount-master, -M, -mm which would make the command run in global mount namespace.
2. - user to switch a specific user's shell.
3. -v, -V to print version code and name.
fix #330 #306 #305 #32
2023-04-04 13:50:48 +08:00
tiann
06659dca43
ksud: check kernel safemode
2023-02-13 22:28:43 +08:00
tiann
a8e85f65eb
ksud: Fix incorrect dependency
2023-02-03 23:19:22 +08:00
tiann
94462f8521
ksud: Fix macOS compile
2023-02-03 14:46:48 +08:00
skbeh
9e34996c3b
ksud: fix issues found by clippy ( #167 )
...
These issues are mostly found by `cargo clippy -- -W clippy::pedantic`.
2023-02-03 09:45:07 +08:00
tiann
4852beec79
ksud: sepolicy support
2023-01-31 18:47:43 +08:00
skbeh
783093384a
ksud: replace some utils with rust libraries ( #142 )
2023-01-30 12:57:25 +08:00
tiann
f89635e628
ksud: fix compile for non-android
2023-01-26 15:05:20 +08:00
tiann
196cb84571
ksud: add su
2023-01-26 12:28:55 +08:00
tiann
d98b507c47
ksud: make other os build happy
2023-01-26 12:12:25 +08:00
Ylarod
443c5867cd
kernel: precise trigger timing of post-fs-data ( #118 )
...
* kernel: add report_event cmd
* ksud: report event
* kernel: trigger on_post_fs_data
* ksud: comment unused code
* [skip ci] run clang-format
Signed-off-by: Ylarod <me@ylarod.cn >
* ci: use custom key to sign official bootimgs
* format ksud
* reject non root
* remove
Signed-off-by: Ylarod <me@ylarod.cn >
2023-01-26 11:29:02 +08:00