]> Savannah Git Hosting - gnulib.git/commit
mprotect: don’t assume pointers fit in long
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 14 Jun 2024 17:47:06 +0000 (10:47 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 14 Jun 2024 20:19:03 +0000 (13:19 -0700)
commit6691dd2aa6348a9901023eee51de535b4e698b5b
tree2b182fb03db56e08c23e44ece37e39727aa98cca
parent27313287a82ea5a6f29e9fc2b6674d53fa1feb64
mprotect: don’t assume pointers fit in long

* m4/mprotect.m4 (gl_FUNC_MPROTECT_WORKS): Don’t assume pointers
fit into unsigned long, as this is not true on CheriBSD.  Prefer
sysconf (_SC_PAGESIZE) to getpagesize.
ChangeLog
m4/mprotect.m4