Re: [PATCH] x32: Mask away the x32 syscall bit in the ptrace codepath
From: H. Peter Anvin
Date: Wed May 28 2014 - 17:19:52 EST
On 05/28/2014 02:15 PM, Andy Lutomirski wrote:
>>
>>> 3. The OOPS you're fixing doesn't seem like it's fixed. What if some
>>> other random high bits are set?
>>
>> There is a range check in entry_*.S for the system call.
>
> I can imagine that causing a certain amount of confusion to fancy
> seccomp users. Oh, well. No one that I know of has complained yet.
>
I don't know how seccomp or audit deal with out-of-range syscall
numbers, so that might be worth taking a look at.
-hpa
--
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/