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>
This commit is contained in:
@@ -126,7 +126,6 @@
|
||||
<string name="selected_lkm">LKM sélectionné : %s</string>
|
||||
<string name="save_log">Enregistrer les journaux</string>
|
||||
<string name="log_saved">Journaux enregistrés</string>
|
||||
<string name="sus_su_mode">Mode Sus</string>
|
||||
<!-- Module related -->
|
||||
<string name="module_install_confirm">confirmer l\'installation du module %1$s?</string>
|
||||
<string name="unknown_module">module inconnu</string>
|
||||
@@ -276,8 +275,6 @@
|
||||
<string name="advanced_settings">Paramètres avancés</string>
|
||||
<string name="appearance_settings">Choisir les boutons à afficher</string>
|
||||
<string name="back">Reviens</string>
|
||||
<string name="susfs_enabled">SuSFS activé</string>
|
||||
<string name="susfs_disabled">SuSFS désactivé</string>
|
||||
<string name="background_set_success">Fond d\'écran défini avec succès</string>
|
||||
<string name="background_removed">Fond d\'écran personnalisé supprimé</string>
|
||||
<string name="icon_switch_title">Icône alternative</string>
|
||||
|
||||
Reference in New Issue
Block a user