Re: RFD: x32 ABI system call numbers

From: Linus Torvalds
Date: Fri Sep 02 2011 - 23:05:55 EST


On Fri, Sep 2, 2011 at 7:56 PM, H.J. Lu <hjl.tools@xxxxxxxxx> wrote:
>
> We need to make decision on some system calls which take a pointer
> to structure with long.  For example, msg calls take a pointer to
>
>          struct msgbuf {
>               long mtype;       /* message type, must be > 0 */
>               char mtext[1];    /* message data */
>           };
>
> We have 3 choices:
>
> 1. Use long long for x32 and use 64bit msg system calls.

I think this sounds like the best option. As many plain 64-bit system
calls as humanly possible.

Linus
--
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/