From: David Mosberger <davidm@napali.hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] headsup: MS_SYNC/MS_INVALIDATE mismatch
Date: Thu, 18 Jul 2002 20:33:42 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590701905780@msgid-missing> (raw)
A bug in the glibc version of the header file /usr/include/bits/mman.h
has been found which has the effect that the values of MS_SYNC and
MS_INVALIDATE are swapped compared to what the kernel expects. The
correct values are as follows:
#define MS_INVALIDATE 2 /* invalidate the caches */
#define MS_SYNC 4 /* synchronous memory sync */
The glibc maintainer (Uli Drepper) is aware of the problem and future
versions of glibc will be fixed.
This bug was introduced by yours truly back in 1999. The fact that it
went unnoticed for so long suggests that there don't seem to be too
many applications out there that depend on these values. Still, my
apologies for any inconvenience this may have caused.
--david
reply other threads:[~2002-07-18 20:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=marc-linux-ia64-105590701905780@msgid-missing \
--to=davidm@napali.hpl.hp.com \
--cc=linux-ia64@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox