Files
SukiSU-Ultra/kernel
backslashxx 029ae8d389 kernel: expose umount list to ioctl interface (#2950)
This idea is borrowed from simonpunk's susfs4ksu.
What we see here is that, yeah well, lets just have userspace send us
what it
wants unmounted, this is better than hardcoding everything.

This also solves that issue where MNT_DETACH fails, as long as we send
unmountables in proper order.

A small anti-duplicate mechanism is also added.

While in-kernel umount is a bit worse than zygisk-provider-based ones,
this can still
serve as a healthy alternative.

---------

- Remove duplicate checks

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
Co-authored-by: weishu <twsxtd@gmail.com>
Co-authored-by: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com>
2025-11-18 12:36:42 +08:00
..
2025-11-04 21:29:19 +08:00
2025-11-01 23:30:30 +08:00
2023-06-16 19:53:15 +08:00
2025-11-04 21:29:19 +08:00
2025-11-16 14:29:10 +08:00
2023-06-16 19:53:15 +08:00
2025-11-08 19:03:14 +08:00
2025-11-06 13:48:26 +08:00
2023-06-16 19:53:15 +08:00
2025-11-11 16:49:09 +08:00
2025-11-18 12:12:06 +08:00
2025-11-18 12:12:06 +08:00
2023-02-02 09:04:07 +08:00
2025-11-13 17:46:08 +08:00
2025-11-01 23:30:30 +08:00
2025-11-16 14:29:10 +08:00
2025-11-09 19:20:30 +08:00