[PATCH] Linux: Add execveat system call wrapper
Adhemerval Zanella
adhemerval.zanella@linaro.org
Tue Dec 8 16:41:05 GMT 2020
On 08/12/2020 12:18, Florian Weimer wrote:
> * 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.
But the generic interface returns EINVAL for NULL envp. Should we change
it to accept NULL then?
More information about the Libc-alpha
mailing list