⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.184
Server IP:
65.21.180.239
Server:
Linux gowhm.eplangoweb.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.0.30
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
src
/
glibc
/
debian
/
patches
/
hurd-i386
/
View File Name :
unsubmitted-mremap.diff
MREMAP is unimplemented on GNU/Hurd for now --- a/bits/mman.h +++ b/bits/mman.h @@ -85,10 +85,12 @@ #define MS_INVALIDATE 2 /* Invalidate the caches. */ /* Flags for `mremap'. */ +#if 0 #ifdef __USE_GNU # define MREMAP_MAYMOVE 1 /* Mapping address may change. */ # define MREMAP_FIXED 2 /* Fifth argument sets new address. */ #endif +#endif /* Flags for `mlockall' (can be OR'd together). */ #define MCL_CURRENT 1 /* Lock all currently mapped pages. */ --- a/malloc/memusage.c +++ b/malloc/memusage.c @@ -680,6 +680,9 @@ mmap64 (void *start, size_t len, int pro return result; } +#ifndef MREMAP_FIXED +#define MREMAP_FIXED 0 +#endif /* `mremap' replacement. We do not have to keep track of the size since `munmap' will get it as a parameter. */