about summary refs log tree commit diff
path: root/custom_mutators/radamsa/libradamsa.c
diff options
context:
space:
mode:
authorJana Aydinbas <46303940+llzmb@users.noreply.github.com>2021-12-13 18:23:28 +0100
committerGitHub <noreply@github.com>2021-12-13 18:23:28 +0100
commitaceb1af908cd0d2b0b03cd23b917e59a18e7b0eb (patch)
tree25eb770e6101757b5af15c2f4d227b4a7eabfeda /custom_mutators/radamsa/libradamsa.c
parent3a60f6a251210497f001673edefbe7a4e1627703 (diff)
parent52dd5d479d411460c8cf2010a89f72e269d799ea (diff)
downloadafl++-aceb1af908cd0d2b0b03cd23b917e59a18e7b0eb.tar.gz
Merge branch 'dev' into docs_add_overview
Diffstat (limited to 'custom_mutators/radamsa/libradamsa.c')
-rw-r--r--custom_mutators/radamsa/libradamsa.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/custom_mutators/radamsa/libradamsa.c b/custom_mutators/radamsa/libradamsa.c
index 792eea35..e6838752 100644
--- a/custom_mutators/radamsa/libradamsa.c
+++ b/custom_mutators/radamsa/libradamsa.c
@@ -4473,6 +4473,10 @@ static word prim_sys(word op, word a, word b, word c) {
         FD_CLOEXEC,
         F_DUPFD,
         F_DUPFD_CLOEXEC,
+#if defined(F_DUP2FD)
+        F_DUP2FD,
+        F_DUP2FD_CLOEXEC,
+#endif
         F_GETFD,
         F_SETFD,
         F_GETFL,