LoveSy
a4b9ea04a4
Use as_ref instead of as_slice ( #1336 )
2024-02-02 10:40:36 +08:00
LoveSy
f80d0764b5
Use rustix for setgroups ( #1334 )
2024-02-01 23:35:42 +08:00
LoveSy
64269c8c4f
Use rustix for prctl ( #1333 )
2024-02-01 23:28:56 +08:00
LoveSy
c1a2cbf1e4
Use rustix to replace some unsafe calls
2024-02-01 00:35:51 +08:00
weishu
757e69b15e
ksud: report module mounted event to kernel
2024-01-08 12:11:54 +08:00
weishu
01711b4114
ksud: minor tweaks
2024-01-04 16:12:22 +08:00
5ec1cff
097e291d93
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
df9cf61575
ksud: fix su args parse error. close #736
2023-07-28 22:21:12 +08:00
weishu
56d145666c
ksud: fix path env, close #775
2023-07-18 10:02:06 +08:00
weishu
8b6204a534
ksud: Fix su parameter parsing. close #530 , close #305 , close #330 , close #305
2023-06-10 15:23:45 +08:00
weishu
75509aba72
ksud: fix gid is override by uid
2023-06-04 23:14:44 +08:00
weishu
019da4a634
ksud: respect the kernel default uid
2023-06-04 18:09:58 +08:00
tiann
b80e06256d
Revert "Add option to enable global namespace ( #497 )"
...
This reverts commit f81caf75a9 .
2023-05-16 22:27:01 +08:00
Hikari-no-Tenshi
f81caf75a9
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
c96b0e8f8b
ksud: support .ksurc ( #345 )
2023-04-05 13:30:21 +08:00
Ylarod
862d12a904
ksud: add /data/adb/ksu/bin to PATH ( #343 )
2023-04-05 11:47:35 +08:00
tiann
b191ec94a5
ksud: fix unknown hang of root shell
2023-04-04 16:41:57 +08:00
tiann
8f910fbb75
ksud: fix build
2023-04-04 15:09:53 +08:00
tiann
693d827144
ksud: fix windows build again
2023-04-04 14:59:17 +08:00
tiann
effcaf0cde
ksud: Remove sufix of 'v' in version tag
...
close #331
2023-04-04 14:44:51 +08:00
tiann
5be8fe39d0
ksud: fix windows build
2023-04-04 14:33:25 +08:00
tiann
8d12f96d8b
ksud: fix compile err in x86_64
2023-04-04 14:12:37 +08:00
tiann
c1b30458d6
ksud: fmt
2023-04-04 13:55:36 +08:00
tiann
48e76f9096
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
42428345ff
ksud: check kernel safemode
2023-02-13 22:28:43 +08:00
tiann
175de861bf
ksud: Fix incorrect dependency
2023-02-03 23:19:22 +08:00
tiann
71cc166f72
ksud: Fix macOS compile
2023-02-03 14:46:48 +08:00
skbeh
219ea1c458
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
3413f4a4fe
ksud: sepolicy support
2023-01-31 18:47:43 +08:00
skbeh
7785d2a3f8
ksud: replace some utils with rust libraries ( #142 )
2023-01-30 12:57:25 +08:00
tiann
f6c249bd77
ksud: fix compile for non-android
2023-01-26 15:05:20 +08:00
tiann
ed86635b3c
ksud: add su
2023-01-26 12:28:55 +08:00
tiann
080aeee5e3
ksud: make other os build happy
2023-01-26 12:12:25 +08:00
Ylarod
db600d5ea0
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