Page 1 of 1

grsecurity and user-mode-linux

PostPosted: Mon Aug 23, 2004 11:45 am
by Jens Roesiger
Is it possible to use user-mode-linux and grsecurity in the guest system?

The grsecurity-patch for kernel-2.6-7 and uml-patch does not apply. Error for patch mm/mmap.c. I adapted the Patch, so which he functions. But that build kernels fails:
mm/mmap.c:775: error: conflicting types for `__do_mmap_pgoff'
include/linux/mm.h:663: error: previous declaration of `__do_mmap_pgoff'
make[2]: *** [mm/mmap.o] Error 1
make[1]: *** [mm] Error 2
make[1]: Leaving directory `/usr/src/uml/user-mode-linux-grsec-2.6.7-2um/kernel-source-2.6.7'
make: *** [build-stamp] Error 2

Did that try already times someone?

PostPosted: Mon Sep 20, 2004 9:57 am
by phil
take a look at http://forums.grsecurity.net/viewtopic.php?t=899 - I merged grsecurity with devicemapper (used for lvm2) and skas-3-v3; compiles w/o problems, give it a try.