kernel: Implementing editable, removable mount points

This commit is contained in:
ShirkNeko
2025-11-07 12:16:42 +08:00
parent d7c101e244
commit 9b209765c4
6 changed files with 423 additions and 13 deletions

View File

@@ -144,6 +144,7 @@ struct ksu_manual_su_cmd {
#ifdef CONFIG_KSU_MANUAL_SU
#define KSU_IOCTL_MANUAL_SU _IOC(_IOC_READ|_IOC_WRITE, 'K', 106, 0)
#endif
#define KSU_IOCTL_UMOUNT_MANAGER _IOC(_IOC_READ|_IOC_WRITE, 'K', 107, 0)
// IOCTL handler types
typedef int (*ksu_ioctl_handler_t)(void __user *arg);