[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a question about the use of MAP_ANON in libsigsegv
From: |
Bruno Haible |
Subject: |
Re: a question about the use of MAP_ANON in libsigsegv |
Date: |
Thu, 10 Aug 2023 21:16:37 +0200 |
Hi Dennis,
> -std=iso9899:1999 -pedantic -pedantic-errors
> ...
> ./stackvma-rofile.c:154:22: error: call to undeclared function
> 'getpagesize'; ISO C99 and later do not support implicit function
> declarations [-Werror,-Wimplicit-function-declaration]
> pagesize = getpagesize ();
> ^
> ./stackvma-rofile.c:169:36: error: use of undeclared identifier
> 'MAP_ANONYMOUS'
> MAP_ANONYMOUS | MAP_PRIVATE, -1, 0);
> ^
I explained already in
<https://lists.gnu.org/archive/html/bug-libsigsegv/2022-10/msg00000.html>
why this cannot work.
Bruno