kernel: Expose the ksu_handle_sys_read hook

This commit is contained in:
ShirkNeko
2025-11-09 18:11:30 +08:00
parent 2433ced81a
commit 0b63cc445c

View File

@@ -456,7 +456,7 @@ static int ksu_handle_vfs_read(struct file **file_ptr, char __user **buf_ptr,
return 0;
}
static int ksu_handle_sys_read(unsigned int fd, char __user **buf_ptr,
int ksu_handle_sys_read(unsigned int fd, char __user **buf_ptr,
size_t *count_ptr)
{
struct file *file = fget(fd);