[PATCH] Linux: Add execveat system call wrapper

Florian Weimer fweimer@redhat.com
Tue Dec 8 15:18:09 GMT 2020


* Adhemerval Zanella:

> On 03/12/2020 11:20, Alexandra Hájková via Libc-alpha wrote:
>> From: Alexandra Hájková <ahajkova@redhat.com>
>> 
>>  Also add the test for the new wrapper.
>> ---
>> This version:
>>  * extends NEWS entry
>>  * adds various one line comments
>>  * uses exit $FOO instead of exit 3 to test if FOO was set properly
>>  * removes the implicit check
>>  * improves comments
>>  * removes unnecessary Makefile change
>>  * returns INLINE_SYSCALL_CALL return value
>> 
>> 
>
> There are some formatting issues on comment the test, I think we should
> nonnull for envp as well, and some changes on the Linux implementation

I think envp == NULL is a well-documented Linux extension, in wide use
with execve.

Thanks,
Florian
-- 
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill



More information about the Libc-alpha mailing list