summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
authorLuca Bruno <lucab@debian.org>2017-07-21 15:13:44 +0000
committerLuca Bruno <lucab@debian.org>2017-07-22 08:12:10 +0000
commit858d47cd9553cbcffa07d9717ab35e8d7bd3bfac (patch)
tree4aed8dfae36bfff2f0eb9d354af049c85db7a351 /libc-test
parent516df7f77331a253b41cf743178392aa9ad66f50 (diff)
downloadrust-libc-858d47cd9553cbcffa07d9717ab35e8d7bd3bfac.tar.gz
unix: add fexecve()
Add missing fexecve() - execute program specified via file descriptor. Reference: http://pubs.opengroup.org/onlinepubs/9699919799/functions/fexecve.html
Diffstat (limited to 'libc-test')
-rw-r--r--libc-test/build.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index 23c55efeff..e7811bb4ca 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -457,7 +457,8 @@ fn main() {
"execv" | // crazy stuff with const/mut
"execve" |
"execvp" |
- "execvpe" => true,
+ "execvpe" |
+ "fexecve" => true,
"getrlimit" | "getrlimit64" | // non-int in 1st arg
"setrlimit" | "setrlimit64" | // non-int in 1st arg