hilbix / suid

run programs and scripts suid
Other
0 stars 0 forks source link

`fexecve()` fails with "No such file or directory" (ENOENT) #11

Closed hilbix closed 4 years ago

hilbix commented 4 years ago

When passing a binary to fexecve(), it works.

When passing a script to fexecve(), it tells us "File does not exist".

This might be because O_CLOEXEC option. Have to investigate.