module: code clean

This commit is contained in:
zy
2023-11-27 15:16:35 +08:00
parent a04078c068
commit 49fb0b5f2e
8 changed files with 310 additions and 338 deletions

View File

@@ -4,10 +4,10 @@
// #include <linux/sched.h>
typedef struct {
int __user *user_ptr_len;
size_t __user user_buf_len;
void __user *user_buf;
} ioctl_dump_param;
int __user *user_ptr_len;
size_t __user user_buf_len;
void __user *user_buf;
} ioctl_dump_param; // for ioctl_num 1;
typedef struct {
pid_t task_id; // current process id