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

@ -88,6 +88,16 @@ o/$(MODE)/test/libc/calls/life-nomod.com.dbg: \
$(APE_NO_MODIFY_SELF)
@$(APELINK)
o/$(MODE)/test/libc/calls/fexecve_test.com.dbg: \
$(TEST_LIBC_CALLS_DEPS) \
o/$(MODE)/test/libc/calls/fexecve_test.o \
o/$(MODE)/test/libc/calls/calls.pkg \
o/$(MODE)/tool/build/echo.zip.o \
$(LIBC_TESTMAIN) \
$(CRT) \
$(APE_NO_MODIFY_SELF)
@$(APELINK)
o/$(MODE)/test/libc/calls/tiny64.elf.zip.o \
o/$(MODE)/test/libc/calls/life-nomod.com.zip.o \
o/$(MODE)/test/libc/calls/life-classic.com.zip.o: private \