[LTP] [PATCH] android: io/diotest4: remove dependency on <sys/shm.h>
Sandeep Patil
sspatil@google.com
Mon Nov 6 19:37:10 CET 2017
On Thu, Oct 26, 2017 at 1:16 AM, Cyril Hrubis <chrubis@suse.cz> wrote:
> 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?
>
>
Ah, that sounds even better. Amending my patch to make it that
way now.
- ssp
> --
> Cyril Hrubis
> chrubis@suse.cz
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20171106/71bf63dd/attachment.html>
More information about the ltp
mailing list