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:
@@ -110,7 +110,6 @@
|
||||
<string name="install_inactive_slot_warning">將在重新啟動後強制切換至另一槽位!\n注意:僅能在 OTA 更新完成後重新啟動前使用。\n確定繼續?</string>
|
||||
<string name="install_next">下一步</string>
|
||||
<string name="select_file_tip">建議選擇 %1$s 分區映像檔</string>
|
||||
<string name="select_file_tip_vendor">(實驗性的)</string>
|
||||
<string name="select_kmi">選擇 KMI</string>
|
||||
<string name="settings_uninstall">解除安裝</string>
|
||||
<string name="settings_uninstall_temporary">臨時解除安裝</string>
|
||||
@@ -125,7 +124,6 @@
|
||||
<string name="selected_lkm">已選擇的 LKM:%s</string>
|
||||
<string name="save_log">儲存日誌</string>
|
||||
<string name="log_saved">日誌已儲存</string>
|
||||
<string name="sus_su_mode">SuS SU 模式:</string>
|
||||
<!-- Module related -->
|
||||
<string name="module_install_confirm">確定安裝模組 %1$s?</string>
|
||||
<string name="unknown_module">未知模組</string>
|
||||
@@ -279,8 +277,6 @@
|
||||
<string name="advanced_settings">進階設定</string>
|
||||
<string name="appearance_settings">外觀設定</string>
|
||||
<string name="back">返回</string>
|
||||
<string name="susfs_enabled">SuSFS 已啟用</string>
|
||||
<string name="susfs_disabled">SuSFS 已禁用</string>
|
||||
<string name="background_set_success">背景設定成功</string>
|
||||
<string name="background_removed">已移除自訂背景</string>
|
||||
<string name="icon_switch_title">備用圖示</string>
|
||||
@@ -593,7 +589,6 @@
|
||||
<string name="loop_paths_section">循環路徑</string>
|
||||
<string name="add_loop_path">新增循環路徑</string>
|
||||
<!-- 循环路径功能描述 -->
|
||||
<string name="sus_loop_path_feature_label">SuS 循環路徑</string>
|
||||
<string name="sus_loop_paths_description_title">循環路徑設定</string>
|
||||
<string name="sus_loop_paths_description_text">循環路徑會在每次非 root 使用者應用程式或隔離服務啟動時重新標記為 SUS_PATH。這有助於解決新增的路徑可能因 inode 狀態重設或內核中 inode 重新建立而失效的問題</string>
|
||||
<string name="avc_log_spoofing">AVC 日誌偽裝</string>
|
||||
@@ -647,7 +642,6 @@
|
||||
<string name="uid_multi_user_scan_title">多使用者應用掃描</string>
|
||||
<string name="uid_multi_user_scan_summary">開啟後將掃描所有使用者的應用,包括工作資料等</string>
|
||||
<string name="uid_scanner_setting_failed">設定失敗,請檢查許可權</string>
|
||||
<string name="uid_scanner_setting_error">設定失敗: %s</string>
|
||||
<string name="clean_runtime_environment">清理執行環境</string>
|
||||
<string name="clean_runtime_environment_summary">清理執行時檔案並停止掃描服務</string>
|
||||
<string name="clean_runtime_environment_confirm">您確定要清理執行環境嗎?這將停止掃描服務並刪除相關檔案</string>
|
||||
|
||||
Reference in New Issue
Block a user