lkml.org 
[lkml]   [2012]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] avoid entropy starvation due to stack protection
On Tue, 11 Dec 2012 13:33:04 +0100
Stephan Mueller <smueller@chronox.de> wrote:

> Some time ago, I noticed the fact that for every newly
> executed process, the function create_elf_tables requests 16 bytes of
> randomness from get_random_bytes. This is easily visible when calling
>
> while [ 1 ]
> do
> cat /proc/sys/kernel/random/entropy_avail
> sleep 1
> done

Please see
http://ozlabs.org/~akpm/mmotm/broken-out/binfmt_elfc-use-get_random_int-to-fix-entropy-depleting.patch

That patch is about one week from a mainline merge, btw.


\
 
 \ /
  Last update: 2012-12-13 02:01    [W:0.079 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site