[grsec] grsecurity 2.1.7 2.4.31/2.6.13 test patches

Brad Spengler spender at grsecurity.net
Mon Sep 12 16:47:43 EDT 2005


> --- grsecurity/grsec_sock.c.orig	2005-09-12 18:46:10.000000000 +0300
> +++ grsecurity/grsec_sock.c	2005-09-12 18:46:55.000000000 +0300
> @@ -137,7 +137,7 @@
>  	struct signal_struct *sig = task->signal;
>  	struct conn_table_entry *newent;
>  
> -	newent = kmalloc(GFP_KERNEL, sizeof(struct conn_table_entry));
> +	newent = kmalloc(sizeof(struct conn_table_entry), GFP_ATOMIC);
>  	if (newent == NULL)
>  		return;

Thanks, fixed in the latest patch.

-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/20050912/a71e8a3d/attachment.pgp


More information about the grsecurity mailing list