Date: Mon, 22 Apr 2002 19:43:41 -0400 (EDT) From: Kenneth Culver <culverk@alpha.yumyumyum.org> To: Terry Lambert <tlambert2@mindspring.com> Cc: freebsd-hackers@FreeBSD.ORG, <freebsd-emulation@FreeBSD.ORG> Subject: Re: implementing linux mmap2 syscall Message-ID: <20020422194240.K24428-100000@alpha.yumyumyum.org> In-Reply-To: <3CC3E619.8AD5EFF9@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Basically, it just wants to bitch when the offset is not page > aligned, and then call the old mmap if it doesn't bitch. > Basically I misunderstood what the linux mmap2 was doing, it recieves an offset as a number of pages, not as bytes, so by definition it's already page aligned. All I have to do is convert the number of pages to a number of bytes and pass it along to FreeBSD's mmap. Thanks! Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020422194240.K24428-100000>