Re: [PATCH] 2.6: mmap complement, fdmap

From: viro
Date: Mon Mar 22 2004 - 00:31:26 EST


On Sun, Mar 21, 2004 at 10:43:07PM -0600, Matt Miller wrote:
> ``flags'' can be one of O_RDONLY, O_WRONLY, or O_RDWR.
>
> I have verified functionality on ia32 and sparc as these are the only
> architectures I currently have some type of access to. To test, start the
> kernel configuration process and go under File systems/Pseudo filesystems
> and select this option:
>
> [*] Virtual memory file descriptor mapping support
>
> Please let me know about any and all suggestions/bugs/flames. I tried to
> be as thorough as possible but do suspect that I've missed some things.
> I'm looking forward to hearing feedback.

*boggle*

a) what the hell for?
b) what happens if I pass such descriptor to another task?
c) what happens if I mmap that sucker on the source range of addresses?
d) same for loops made of more than one of those...
e) see (a)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/