Re: [PATCH] broken TASK_SIZE for ia32_aout

From: H. Peter Anvin
Date: Sun May 06 2012 - 19:48:26 EST


Why not just make it illegal to make the system calls you don't care about then, to prevent any security issue?

David Miller <davem@xxxxxxxxxxxxx> wrote:

>From: "H. Peter Anvin" <hpa@xxxxxxxxx>
>Date: Sun, 06 May 2012 13:51:30 -0700
>
>> No. The input layer exports pointers in structures on the
>> read/write paths, and bitmasks encoded in ASCII strings which depend
>> on sizeof(long). The stupid... it burns...
>
>So there has to be a hack in every userland application wherein we
>teach it no only about this issue, but add special code to teach it
>how to make 64-bit system call traps.
>
>FOR EVERY CPU TYPE?
>
>I'd rather wait for a newer less broken input API to be added, rather
>than go through the pain of having to support 64-bit system calls in
>32-bit apps.
>
>Nobody on sparc has noticed this yet, and I doubt anyone is going to
>care meanwhile.

--
Sent from my mobile phone. Please excuse brevity and lack of formatting.
--
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/