]> git.baikalelectronics.ru Git - kernel.git/commit
uprobes: Don't assume that arch_uprobe->insn/ixol is u8[MAX_UINSN_BYTES]
authorOleg Nesterov <oleg@redhat.com>
Sat, 9 Nov 2013 16:58:54 +0000 (17:58 +0100)
committerOleg Nesterov <oleg@redhat.com>
Wed, 20 Nov 2013 15:31:00 +0000 (16:31 +0100)
commit86490388b73c102bb47be6546aa610708d5e0a5b
treef04ac6d7dd72f4b73acaaf86576c7a27cb8b9386
parent7eb1a7501f8d47962c6d86a669b406e8f5ab9192
uprobes: Don't assume that arch_uprobe->insn/ixol is u8[MAX_UINSN_BYTES]

arch_uprobe should be opaque as much as possible to the generic
code, but currently it assumes that insn/ixol must be u8[] of the
known size. Remove this unnecessary dependency, we can use "&" and
and sizeof() with the same effect.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
kernel/events/uprobes.c