[PATCH] Linux: Add execveat system call wrapper

Joseph Myers joseph@codesourcery.com
Tue Apr 28 15:29:07 GMT 2020


On Tue, 28 Apr 2020, Florian Weimer wrote:

> * Joseph Myers:
> 
> > This patch needs documentation for the new function in the glibc manual, 
> > as well as a NEWS entry for it (under "Major new features" for 2.32).
> 
> The documentation will conflict with the manual update for the
> existing fexecve function, so that should be reviewed first:
> 
>   <https://sourceware.org/pipermail/libc-alpha/2020-April/113176.html>

That documentation is fine with me, but I'm not sure where the O_RDONLY / 
O_PATH requirement comes from.  Is there some code in the Linux kernel 
(that I didn't find in a quick look at the execveat implementation) that 
imposes that requirement?

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Libc-alpha mailing list