polygraphene/DirtyPipe-Android

Some kernel compilation issues.

Vxer-Lee opened this issue · 2 comments

Hello:
I want to add some demo for reading and writing files in mymod.c, such as filp_open and kernel_read_file. I used the./build/build.sh file in your document and found an error: "ERROR: modpost: "kernel_read_file" [../google-modules/mymod/mymod.ko] undefined!" 。

I don't have any driver development decompression, thank you!
image

Try to add this if didn't.

#include <linux/kernel_read_file.h>

Thank you very much!