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

From: H. Peter Anvin
Date: Thu Aug 09 2012 - 16:30:10 EST


On 08/09/2012 12:19 PM, Andy Lutomirski wrote:
> On 08/01/2012 03:10 PM, Meredydd Luff wrote:
>>
>> +#ifndef sys_execveat
>> +asmlinkage long sys_execveat(int dfd, const char __user *filename,
>> + const char __user *const __user *argv,
>> + const char __user *const __user *envp,
>> + struct pt_regs *regs);
>> +#endif
>
> Should this have a flags argument for future extension?
>

Not just for future extension. We already have a NOFOLLOW flag for the
-at functions, and that would be applicable here. CLOEXEC, obviously not ;)

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