newly add MAP_SYNC flag to mmap

Alex Arvelaez ealejandro at outlook.com
Mon Jul 16 22:25:57 EDT 2018


16.07.2018 10:15 PM David Frank <david_frank95 at yahoo.com> napisał(a):
>
> Thanks Valdis.
>
> Yes, I got the kernel and header files installed.
>
> But there seems to be a lot of mman.h. I found one in /usr/include/asm-generic that defined MAP_SYNC, and I included it also, now I got passed compile and linking.

I feel like your toolchain should be able to pick up the right file when you do #include <sys/mman.h>

Regards,

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20180717/80de40de/attachment.html>


More information about the Kernelnewbies mailing list