Add fexecve() and map O_EXEC to O_PATH on Linux

This commit is contained in:
Justine Tunney 2022-10-02 08:30:39 -07:00
parent 6c60793f3a
commit acd8900071
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
9 changed files with 161 additions and 5 deletions

View file

@ -84,6 +84,7 @@ int execv(const char *, char *const[]);
int execve(const char *, char *const[], char *const[]);
int execvp(const char *, char *const[]);
int execvpe(const char *, char *const[], char *const[]);
int fexecve(int, char *const[], char *const[]);
int faccessat(int, const char *, int, uint32_t);
int fadvise(int, uint64_t, uint64_t, int);
int fchdir(int);