feature: add devpts fd wrapper (#21)
This feature is intended to resolve devpts problem.
This commit is contained in:
10
kernel/file_wrapper.h
Normal file
10
kernel/file_wrapper.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#include <linux/file.h>
|
||||
#include <linux/fs.h>
|
||||
|
||||
struct ksu_file_wrapper {
|
||||
struct file* orig;
|
||||
struct file_operations ops;
|
||||
};
|
||||
|
||||
struct ksu_file_wrapper* mksu_create_file_wrapper(struct file* fp);
|
||||
void mksu_delete_file_wrapper(struct ksu_file_wrapper* data);
|
||||
Reference in New Issue
Block a user