On Jul 1 17:33, David Allsopp wrote:
> This program fails at the second mmap call with EINVAL:
>
> #include
> #include
> #include
>
> int main (void) {
> void * mem;
> /* Reserve 256MB address space for the minor heaps */
> mem = mmap(0, 268439552, PROT_NONE, MAP_PRIVATE |
On Fri, Jul 01, 2022 at 05:33:31PM +0100, David Allsopp wrote:
> This program fails at the second mmap call with EINVAL:
>
> #include
> #include
> #include
>
> int main (void) {
> void * mem;
> /* Reserve 256MB address space for the minor heaps */
> mem = mmap(0, 268439552,
This program fails at the second mmap call with EINVAL:
#include
#include
#include
int main (void) {
void * mem;
/* Reserve 256MB address space for the minor heaps */
mem = mmap(0, 268439552, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
if (mem == MAP_FAILED)
e
3 matches
Mail list logo