diff options
author | Oleg Nesterov <oleg@redhat.com> | 2012-12-31 18:00:06 +0100 |
---|---|---|
committer | Oleg Nesterov <oleg@redhat.com> | 2013-02-08 17:47:12 +0100 |
commit | a6cb3f6d51253e9cf21a38b17c025018117809d7 (patch) | |
tree | f0ffafefd93cb97f550b0149b14e56a68c778576 /kernel/capability.c | |
parent | 5a2df662aafdabffb2cf3adb780a5adf66dfb3bc (diff) | |
download | linux-a6cb3f6d51253e9cf21a38b17c025018117809d7.tar.bz2 |
uprobes: Do not play with utask in xol_get_insn_slot()
pre_ssout()->xol_get_insn_slot() path is confusing and buggy. This patch
cleanups the code, the next one fixes the bug.
Change xol_get_insn_slot() to only allocate the slot and do nothing more,
move the initialization of utask->xol_vaddr/vaddr into pre_ssout().
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Anton Arapov <anton@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/capability.c')
0 files changed, 0 insertions, 0 deletions