rename to proxy_file

This commit is contained in:
Ylarod
2025-11-08 10:52:14 +08:00
committed by ShirkNeko
parent bf5cb885b5
commit 776bcc4d5d
11 changed files with 382 additions and 400 deletions

10
kernel/file_proxy.h Normal file
View File

@@ -0,0 +1,10 @@
#include <linux/file.h>
#include <linux/fs.h>
struct ksu_file_proxy {
struct file* orig;
struct file_operations ops;
};
struct ksu_file_proxy* ksu_create_file_proxy(struct file* fp);
void ksu_delete_file_proxy(struct ksu_file_proxy* data);