[FIX] unexpected undefined instruction after disarm kprobe 08/54708/2
authorVyacheslav Cherkashin <v.cherkashin@samsung.com>
Wed, 16 Dec 2015 15:03:39 +0000 (18:03 +0300)
committerDmitry Kovalenko <d.kovalenko@samsung.com>
Fri, 18 Dec 2015 12:43:12 +0000 (04:43 -0800)
commit098b080b3a50fd9db952ed96716ba2a3de88f91b
tree5016721de4653b5cdcbf80e233394abadfa70e59
parentdc1c6bfd0067c46f809c1862e7146032569fbbf6
[FIX] unexpected undefined instruction after disarm kprobe

After disarm kprobe there is race condition in kernel within undefined
instruction handler (between undefined instruction firing and seaching for
hooks).

Now kprobe register undef hook on all instruction and skip 'false exeption'.

Change-Id: I972082ca5b94506e59306b9fe5834fccf883f83b
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
kprobe/arch/arm/swap-asm/swap_kprobes.c