Kernel: Implement sulog for enhanced logging of SU attempts and permissions

This commit is contained in:
ShirkNeko
2025-10-22 17:21:58 +08:00
parent c4a60378a0
commit b8e463b532
7 changed files with 489 additions and 3 deletions

View File

@@ -117,4 +117,8 @@ static long ksu_copy_from_user_retry(void *to,
#define ksu_access_ok(addr, size) access_ok(VERIFY_READ, addr, size)
#endif
extern int ksu_vfs_unlink(struct inode *dir, struct dentry *dentry);
extern int ksu_vfs_rename(struct inode *old_dir, struct dentry *old_dentry,
struct inode *new_dir, struct dentry *new_dentry);
#endif