Re: mmap specification - was: ... select specification

Andries Brouwer
2004-10-08T09:19:38Z

On Thu, Oct 07, 2004 at 07:30:53PM -0400, Kyle Moffett wrote:
> 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)};

It is here you are wrong.