I've reported that at least a year ago, but nobody was interested in
fixing it. So my kernel patch for that problem looks similair to yours:-)
I guess a better fix for the problem would be, to not define the not
implemented mmap flags (MAP_INHERIT, etc.) to user land and rebuild glibc.
Thomas.
-- 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>]