What is the problem with the shared anonymous mmap syntax?
I mean, if the programmer is so dumb that he does not use blocks he
allocated, God help him. That should not be a reason not to have a
library call.
The best idea would probably be to add this syntax to libc. There are
programs that use this.
> These mappings have a big advantage over anonymous mappings too - you
> can pass them around between processes using fd descriptor passing.
Good point. On the other hand, documentation on fd passing is quite
sparse, isn't it? Does anyone have demo code that works on the
important platforms where fd passing is supported?
Felix
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/