摘要: #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 阅读(410) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/gotodsp/articles/3630008.html 阅读全文
posted @ 2021-05-12 10:01 olivertian 阅读(60) 评论(0) 推荐(0) 编辑