diff options
author | Jan Beulich <[email protected]> | 2009-09-30 11:22:11 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-10-01 11:24:26 +0200 |
commit | 24e35800cdc4350fc34e2bed37b608a9e13ab3b6 (patch) | |
tree | 0e592a3f097d101263c7da4fc529f86d03cf9f2a /tools/perf/util/trace-event-scripting.c | |
parent | 4701472e441e41be2549a25228f703bc9cd13b5b (diff) |
x86: Don't leak 64-bit kernel register values to 32-bit processes
While 32-bit processes can't directly access R8...R15, they can
gain access to these registers by temporarily switching themselves
into 64-bit mode.
Therefore, registers not preserved anyway by called C functions
(i.e. R8...R11) must be cleared prior to returning to user mode.
Signed-off-by: Jan Beulich <[email protected]>
Cc: <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions