Re: [PATCH] [RFC] syscalls,x86: Add execveat() system call (v2)

From: Meredydd Luff
Date: Wed Aug 01 2012 - 19:10:02 EST


On Wed, Aug 1, 2012 at 11:53 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
> On 08/01/2012 03:10 PM, Meredydd Luff wrote:
>> diff --git a/arch/x86/syscalls/syscall_64.tbl b/arch/x86/syscalls/syscall_64.tbl
>> index 51171ae..c35df9e 100644
>> --- a/arch/x86/syscalls/syscall_64.tbl
>> +++ b/arch/x86/syscalls/syscall_64.tbl
>> @@ -319,6 +319,7 @@
>> 310 64 process_vm_readv sys_process_vm_readv
>> 311 64 process_vm_writev sys_process_vm_writev
>> 312 64 kcmp sys_kcmp
>> +313 64 execveat stub_execveat
>>
>> #
>> # 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.

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