* [Linux-ia64] headsup: MS_SYNC/MS_INVALIDATE mismatch
@ 2002-07-18 20:33 David Mosberger
0 siblings, 0 replies; only message in thread
From: David Mosberger @ 2002-07-18 20:33 UTC (permalink / raw)
To: linux-ia64
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-07-18 20:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-18 20:33 [Linux-ia64] headsup: MS_SYNC/MS_INVALIDATE mismatch David Mosberger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox