| commit | d81cfebb9c0b96e8127638c8d43f0a620f351483 | [log] [tgz] |
|---|---|---|
| author | Andy Lutomirski <luto@kernel.org> | Fri Sep 18 19:58:31 2015 -0700 |
| committer | Andy Lutomirski <luto@kernel.org> | Sat Sep 19 11:30:04 2015 -0700 |
| tree | 26c0d28a1f0903814ac15c2bb9bf8e3204a75158 | |
| parent | 24c87345e84aae7993004343c9c7afb4a38271bc [diff] |
kcmp: Defer pointer obfuscation cookie initialization If the kcmp cookie is predictable, then KASLR can be easily defeated, and calling get_random_bytes from an arch_initcall might give predictable results. Defer initialization as long as possible to give the random number subsystem time to initialize. Signed-off-by: Andy Lutomirski <luto@kernel.org>