Re: [PATCH] net: pre-clear the returned sockaddr_storage variable
From: David Miller
Date: Tue Apr 09 2013 - 15:05:51 EST
From: Kees Cook <keescook@xxxxxxxxxxxx>
Date: Tue, 9 Apr 2013 10:50:24 -0700
> To avoid future stack content leaks in the various protocols, pre-clear
> the returned memory.
>
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
> Suggested-by: Brad Spengler <spender@xxxxxxxxxxxxxx>
No thanks, clearing 2 full cache lines unnecessarily on every socket
call has real cost.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/