[grsec] error compiling kernel-2.4.29 + grsec-2.1.2

Brad Spengler spender at grsecurity.net
Sun Mar 6 09:02:32 EST 2005


On Sun, Mar 06, 2005 at 10:17:28AM -0300, Mauro Faccenda wrote:
> When compiling the new kernel modules with a .config with just few 
> modifications from the original (from Redhat 9) I get these message:
> 
> gcc -D__KERNEL__ -I/usr/local/src/linux-2.4.29/include -Wall 
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 
> -DMODULE -DMODVERSIONS -include 
> /usr/local/src/linux-2.4.29/include/linux/modversions.h  -nostdinc 
> -iwithprefix include -DKBUILD_BASENAME=sdla_ppp  -c -o sdla_ppp.o sdla_ppp.c
> sdla_ppp.c: In function `update':
> sdla_ppp.c:493: warning: dereferencing `void *' pointer
> sdla_ppp.c:493: request for member `imask' in something not a structure 

Thanks for reporting this.  I've uploaded two new patches to the website 
that correct this compilation issue.  The reason this file was modified 
in the first place was to correct an obvious null pointer dereference 
in the mainline kernel.

-Brad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://grsecurity.net/pipermail/grsecurity/attachments/20050306/1e38fa45/attachment.pgp


More information about the grsecurity mailing list