Messages in this thread | | | Date | Wed, 01 Aug 2012 16:30:22 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH] [RFC] syscalls,x86: Add execveat() system call (v2) |
| |
On 08/01/2012 04:09 PM, Meredydd Luff wrote: >>> # >>> # x32-specific system call numbers start at 512 to avoid cache impact >> >> I think that should be common, not 64 (as should kcmp be). > > I copied the original execve, which is 64. >
Sorry, you're right. The argument vector needs compatibility support.
This means you need an x32 version of the function -- execve unfortunately is one of the few system calls which require a special x32 version (although it's a simple wrapper around sys32_execve). See sys_x32_execve.
-hpa
| |