kernel: Utilise the existing try_umount to avoid repackaging

This commit is contained in:
ShirkNeko
2025-11-15 19:29:12 +08:00
parent cd21af6728
commit 46846dce91
4 changed files with 8 additions and 56 deletions

View File

@@ -6,6 +6,8 @@
void ksu_kernel_umount_init(void);
void ksu_kernel_umount_exit(void);
void try_umount(const char *mnt, bool check_mnt, int flags);
// Handler function to be called from setresuid hook
int ksu_handle_umount(uid_t old_uid, uid_t new_uid);