unimplemented OSF mmap flags 0402

Thomas Bogendoerfer (tsbogend@alpha.franken.de)
Tue, 5 Nov 1996 23:36:05 +0100 (MET)

Yesterday I decided to setup german locale support on my alpha. After
doing this I get syslog messages from every program, which uses locale.
It always says: "unimplemented OSF mmap flags 0402"

I looked in the kernel sources and found out that MAP_INHERIT isn't
implemented, but it's defined in asm/mman.h. And glibc checks in
locale/loadlocale.c, if MAP_INHERIT is defined and uses it (if not defined
it would define MAP_INHERIT to 0).

So the message is really harmless in my case, but maybe we should think
about renaming the not implemented flags to something not standard
(OSF_MAP_INHERIT for example), so that we avoid problems with software
which needs the special mmap features (ok, we would see this case also in
syslog, but I'd prefer seeing it during compilation time).


See, you not only have to be a good coder to create a system like Linux,
you have to be a sneaky bastard too ;-)
                   [Linus Torvalds in <4rikft$7g5@linux.cs.Helsinki.FI>]

To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

Feedback | Store | News | Support | Product Errata | About Us | Linux Info | Search | JumpWords
No Frames | Show Frames

Copyright © 1995-1997 Red Hat Software. Legal notices