about summary refs log tree commit diff
path: root/src/afl-as.c
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-03-23 20:20:59 +0100
committervanhauser-thc <vh@thc.org>2021-03-23 20:21:08 +0100
commitdfe6f7f8c949744eeab7a401affde93729a5b39d (patch)
tree18c4cd0370a184b26afa10b4a86da6da9cfdace0 /src/afl-as.c
parent5fcd634f05049564dde59df420ac1c2f291a2fb0 (diff)
downloadafl++-dfe6f7f8c949744eeab7a401affde93729a5b39d.tar.gz
make setting different file permissions easy via config.h
Diffstat (limited to 'src/afl-as.c')
-rw-r--r--src/afl-as.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-as.c b/src/afl-as.c
index 7de267a3..aebd0ac8 100644
--- a/src/afl-as.c
+++ b/src/afl-as.c
@@ -280,7 +280,7 @@ static void add_instrumentation(void) {
 
   }
 
-  outfd = open(modified_file, O_WRONLY | O_EXCL | O_CREAT, 0600);
+  outfd = open(modified_file, O_WRONLY | O_EXCL | O_CREAT, DEFAULT_PERMISSION);
 
   if (outfd < 0) { PFATAL("Unable to write to '%s'", modified_file); }