Re: [PATCH 1/2] uprobes: add comment with insn opcodes, mnemonics and why we dont support them
From: Denys Vlasenko
Date: Tue May 06 2014 - 13:01:48 EST
On 05/05/2014 09:41 PM, Oleg Nesterov wrote:
> On 05/05, Denys Vlasenko wrote:
>>
>> + * Opcodes we'll probably never support:
>> + * 6c-6f - ins,outs. SEGVs if used in userspace
>> + * e4-e7 - in,out imm. SEGVs if used in userspace
>> + * ec-ef - in,out acc. SEGVs if used in userspace
>
> Well. I have no idea why they are nacked, but this is not the reason.
>
> SEGVs are fine. Plus we have ioperm().
Noted.
Oleg, can you clear for me the following -
If the probed instruction triggers an "illegal insn" or "privileged insn"
CPU exception - are we completely fine?
Or there are some problems? how bad are they?
Slightly wrong signal stack? Wrong EFLAGs on stack?
Wrong address of failing insn?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/