Co-authored-by: Ylarod <me@ylarod.cn> Co-authored-by: 5ec1cff <56485584+5ec1cff@users.noreply.github.com> Co-authored-by: backslashxx <118538522+backslashxx@users.noreply.github.com> Co-authored-by: u9521 <63995396+u9521@users.noreply.github.com> Co-authored-by: Wang Han <416810799@qq.com> Co-authored-by: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com> Co-authored-by: Faris <rissu.ntk@gmail.com>
14 lines
337 B
C
14 lines
337 B
C
#ifndef KSU_FILE_WRAPPER_H
|
|
#define KSU_FILE_WRAPPER_H
|
|
|
|
#include <linux/file.h>
|
|
#include <linux/fs.h>
|
|
|
|
struct ksu_file_wrapper {
|
|
struct file *orig;
|
|
struct file_operations ops;
|
|
};
|
|
|
|
struct ksu_file_wrapper *ksu_create_file_wrapper(struct file *fp);
|
|
void ksu_delete_file_wrapper(struct ksu_file_wrapper *data);
|
|
#endif // KSU_FILE_WRAPPER_H
|