NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/52303: linux emulation: linux-brk-syscall return value is page-rounded up (?), on native linux the syscall returns the requested value
The following reply was made to PR kern/52303; it has been noted by GNATS.
From: u-bc8k%aetey.se@localhost
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/52303: linux emulation: linux-brk-syscall return value is
page-rounded up (?), on native linux the syscall returns the requested value
Date: Sat, 17 Jun 2017 08:11:52 +0200
Note that a certain sbrk() implementation can use (and uses in practice)
the result of
_syscall1(__NR_brk, 0)
requesting "zero address" to find out the previously requested break
value, not the page-aligned one.
Home |
Main Index |
Thread Index |
Old Index