Re: mmap specification - was: ... select specification
From: Kyle Moffett
Date: Thu Oct 07 2004 - 18:41:30 EST
On Oct 07, 2004, at 18:46, Andries Brouwer wrote:
The POSIX text is clear to me, and Linux is compliant.
On the other hand, I have no idea what you try to say.
On Thu, Oct 07, 2004 at 06:32:43PM -0400, Kyle Moffett wrote:
"References within the address range starting at pa and continuing
for len bytes to whole pages following the end of an object shall
result in delivery of a SIGBUS signal."
Reviewing this once more:
References within the address range starting at pa and continuing for
len bytes:
range = {pa ... pa+len};
To whole pages following the end of an object:
range = {pa ... PAGE_ROUND_UP(pa+len)};
shall result in delivery of a SIGBUS signal:
pa[ range[n] ]; => SIGBUS
This is clearly not what is meant
Cheers,
Kyle Moffett
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCM/CS/IT/U d- s++: a17 C++++>$ UB/L/X/*++++(+)>$ P+++(++++)>$
L++++(+++) E W++(+) N+++(++) o? K? w--- O? M++ V? PS+() PE+(-) Y+
PGP+++ t+(+++) 5 X R? tv-(--) b++++(++) DI+ D+ G e->++++$ h!*()>++$ r
!y?(-)
------END GEEK CODE BLOCK------
-
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/