Hi,
I get this error:
CC mm/mmap.o
mm/mmap.c: In function "expand_downwards":
mm/mmap.c:1877: warning: passing argument 1 of "find_vma_prev" makes pointer from integer without a cast
mm/mmap.c:1877: warning: passing argument 2 of "find_vma_prev" makes integer from pointer without a cast
mm/mmap.c:1877: error: too few arguments to function "find_vma_prev"
make[1]: *** [mm/mmap.o] Error 1
make: *** [mm] Error 2
#
I can not see any problem.
I runing IA64 hardware rx2660 server, OS RedHat ES 5.
Find a bug in the patch file (grsecurity-2.1.11-2.6.24.5-200804211829.patch):
Get a error wide make.
Line 391:396
static inline int
in_core (const struct module *mod, uint64_t addr)
{
- return addr - (uint64_t) mod->module_core < mod->core_size;
+ return in_core_rx(mod, value) || in_core_rw(mod, value;)
}
Shall be:
static inline int
in_core (const struct module *mod, uint64_t addr)
{
- return addr - (uint64_t) mod->module_core < mod->core_size;
+ return in_core_rx(mod, addr) || in_core_rw(mod, addr);
}
Jens Skoglund
JS Data / IT Service
Stockholm, Sweden