commit | 4c4fd55d3d59a41ddfa6ecba7e76928921759f43 | [log] [tgz] |
---|---|---|
author | Andy Lutomirski <luto@kernel.org> | Wed Nov 20 09:49:33 2019 +0100 |
committer | Peter Zijlstra <peterz@infradead.org> | Thu Nov 21 19:37:43 2019 +0100 |
tree | 6ba323bbb4d8e772ecb6679ce73b0d0260f8fcfe | |
parent | 40ad2199580e248dce2a2ebb722854180c334b9e [diff] |
x86/entry/32: Use %ss segment where required When re-building the IRET frame we use %eax as an destination %esp, make sure to then also match the segment for when there is a nonzero SS base (ESPFIX). [peterz: Changelog and minor edits] Fixes: 3c88c692c287 ("x86/stackframe/32: Provide consistent pt_regs") Signed-off-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: stable@kernel.org