summaryrefslogtreecommitdiff
path: root/rnd.c
AgeCommit message (Expand)AuthorFilesLines
2013-06-04rnd: add gen_key_bytes to generate key from good entropy sourceDaniel Borkmann1-7/+30
2013-06-04rnd: move entropy source definition to rndDaniel Borkmann1-5/+1
2013-06-04rnd: break out prng from xutilsDaniel Borkmann1-0/+49
inux/net-next.git/commit/?h=nds-private-remove&id=ac73b27aea4eacdd7555f664d5fc6e1d4d1c8bf6'>ac73b27aea4eacdd7555f664d5fc6e1d4d1c8bf6 (patch) tree53a9134c773334bb917c7ffcb2707266bff1c6d5 parent996952e0148026ac0e512db5cad26e14f4267e8b (diff)
x86/fpu/xstate: Fix xstate_offsets, xstate_sizes for non-extended xstates
The arrays xstate_offsets[] and xstate_sizes[] record XSAVE standard- format offsets and sizes. Values for non-extended state components fpu and xmm's were not initialized or used. Ptrace format conversion needs them. Fix it. Signed-off-by: Yu-cheng Yu <yu-cheng.yu@intel.com> Reviewed-by: Dave Hansen <dave.hansen@intel.com> Cc: Andy Lutomirski <luto@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: Fenghua Yu <fenghua.yu@intel.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Quentin Casasnovas <quentin.casasnovas@oracle.com> Cc: Ravi V. Shankar <ravi.v.shankar@intel.com> Cc: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/cf3ea36cf30e2a99e37da6483e65446d018ff0a7.1466179491.git.yu-cheng.yu@intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat