[LTP] [PATCH] android: io/diotest4: remove dependency on <sys/shm.h>

Cyril Hrubis chrubis@suse.cz
Thu Oct 26 10:16:54 CEST 2017


Hi!
> Thank you very much for the history. I guess I can make this change under
> __BIONIC__ check (like some of the other tests) and that should work fine ..

Or we may as well fix this in a clean way and once for all. What about
adding a constant to include/lapi/mmap.h something as MMAP_GRANULARITY
and defining it to SHMLBA if the shm headers are present and to
getpagesize() if they are not?

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list