kernel: Remove redundant ksu_handle_inode_permission hooks, calling only for manual_su

This commit is contained in:
ShirkNeko
2025-11-13 15:02:20 +08:00
parent 722fd6c756
commit cb344d8546
5 changed files with 36 additions and 72 deletions

View File

@@ -11,12 +11,6 @@
#include "selinux/selinux.h"
#include "objsec.h"
#ifndef DEVPTS_SUPER_MAGIC
#define DEVPTS_SUPER_MAGIC 0x1cd1
#endif
extern int __ksu_handle_devpts(struct inode *inode); // sucompat.c
// Hook manager initialization and cleanup
void ksu_syscall_hook_manager_init(void);
void ksu_syscall_hook_manager_exit(void);