diff options
author | Jan Beulich <[email protected]> | 2009-10-26 15:20:29 +0000 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-10-26 16:23:26 +0100 |
commit | 81766741fe1eee3884219e8daaf03f466f2ed52f (patch) | |
tree | 0afde40852f608ed101d03a83ef49ef74ccbb434 /tools/perf/scripts/python | |
parent | 72ed7de74e8f0fad0d8e567ae1f987b740accb3f (diff) |
x86-64: Fix register leak in 32-bit syscall audting
Restoring %ebp after the call to audit_syscall_exit() is not
only unnecessary (because the register didn't get clobbered),
but in the sysenter case wasn't even doing the right thing: It
loaded %ebp from a location below the top of stack (RBP <
ARGOFFSET), i.e. arbitrary kernel data got passed back to user
mode in the register.
Signed-off-by: Jan Beulich <[email protected]>
Acked-by: Roland McGrath <[email protected]>
Cc: <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions