All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] android: io/diotest4: remove dependency on <sys/shm.h>
Date: Thu, 26 Oct 2017 10:16:54 +0200	[thread overview]
Message-ID: <20171026081654.GA3873@rei> (raw)
In-Reply-To: <20171018054923.GJ21774@sspatil-macbookpro.roam.corp.google.com>

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

  reply	other threads:[~2017-10-26  8:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-19 23:27 [LTP] [PATCH] android: io/diotest4: remove dependency on <sys/shm.h> Sandeep Patil
2017-10-11 12:15 ` Cyril Hrubis
2017-10-18  5:49   ` Sandeep Patil
2017-10-26  8:16     ` Cyril Hrubis [this message]
2017-11-06 18:37       ` Sandeep Patil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171026081654.GA3873@rei \
    --to=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.