摘要: #include <linux/compat.h> //否则报compat_alloc_user_space找不到 //compact_ioctl中先对arg做些处理,然后直接调用ioctl即可 long compact_ioctl(struct file *file, unsigned int c 阅读全文
posted @ 2021-05-12 17:26 olivertian 阅读(466) 评论(0) 推荐(0)
摘要: https://chuna2.787528.xyz/gotodsp/articles/3630008.html 阅读全文
posted @ 2021-05-12 10:01 olivertian 阅读(64) 评论(0) 推荐(0)