Commit Graph

20 Commits

Author SHA1 Message Date
rifsxd 30835787c9 Revert "ksud: determine modules's size by checking partion size"
This reverts commit c40bfd694c.
2025-03-23 22:38:01 +06:00
Tiann ee71a992a3 ksud: migrate to Rust 2024 edition 2025-02-25 15:34:27 +06:00
Tiann 195e1ba494 ksud: upgrade nom to 8.0 2025-02-25 14:11:26 +06:00
Wang Han 43d30c8f2b Drop module image if no module remaining (#2447)
This fixes the issue that module image will always exist even if there
is no module to be loaded. Sadly we need to boot twice because we can
only know module status after image is mounted.
2025-02-22 04:50:51 +06:00
weishu c40bfd694c ksud: determine modules's size by checking partion size 2025-02-21 17:02:03 +06:00
rifsxd aa22fd880d ksud_overlayfs: better hide modules.img (create a sparse image without journaling) and run e2fsck for eliminating possible data corruption after umount 2025-02-21 16:57:24 +06:00
rifsxd fdd307fe8b ksud_overlayfs: bring back journaling for sparse image (futile for hiding so reverting until a possible better way is discovered) 2025-02-16 20:36:03 +06:00
rifsxd b2a8fb66d3 ksud_overlayfs: reduce sparse image size to 6GB 2025-02-16 03:10:30 +06:00
rifsxd f247a6d5d8 ksud_overlayfs: better hide modules.img (create a sparse image without journaling) and run e2fsck for eliminating possible data corruption after umount 2025-02-15 19:51:30 +06:00
Caner Karaca b18f89b434 Updates (#151)
* Update

* Fix
2025-02-13 05:54:36 +06:00
rifsxd fcc4f0d206 ksud_overlayfs: fix sparse image journal size being 0 block and cause error to format into ext4 with mke2fs 2025-02-07 14:23:56 +06:00
rifsxd c20fe6c886 ksud_overlayfs: changed sparse image journal size to 64MB for good balance of performance and efficiency 2025-02-06 19:22:48 +06:00
weishu 8832532f09 ksud: make clippy happy 2025-02-06 17:46:14 +06:00
Caner Karaca 4ac264135d ksud: updates (#84) 2025-01-25 20:57:03 +06:00
5ec1cff 7ac03d638c ksud: fix copy sparse file (#2374) 2025-01-24 22:59:16 +06:00
Wang Han b6d670f9a7 Don't unshare after entering global namespace (#2373)
Global namespace is usually used to publicly apply mounts so calling
unshare after entering root namespace is not desired bahavior. This also
keeps -M option same as Magisk.
2025-01-24 15:53:46 +06:00
Rifat Azad 090f4c0f02 ksud: fixed "warning: elided lifetime has a name" and "warning: constant SUSFSD_PATH is never used" 2025-01-20 13:31:18 +06:00
Rifat Azad 82f38fe817 userspace: ksud: fix global namespace su (#55) 2025-01-18 14:25:14 +06:00
Rifat Azad 84f230d35b manager: add susfs status and sus_su toggle
userspace: add susfsd
ci: build susfsd
ksud_overlayfs: update aarch64 bin  BusyBox v1.36.1.1 topjohnwu (2024-10-06 01:38:43 PDT)
2025-01-15 14:26:42 +06:00
Rifat Azad f3f4ba5897 manager: added mount system switchability
userspace: added ksud_overlayfs & ksud_magic
2025-01-07 17:08:53 +06:00