From 3bc9394101ae9c8494079530f963848aaab96fd9 Mon Sep 17 00:00:00 2001 From: Greg Alexander Date: Sat, 18 Jun 2016 15:33:09 -0400 Subject: [PATCH] add config defines to rsync so it will use mkstemp() instead of mktemp() (fixes link-time warning and possible vulnerability) --- rsync/config.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rsync/config.h b/rsync/config.h index 290b119..e24fc7a 100644 --- a/rsync/config.h +++ b/rsync/config.h @@ -62,5 +62,8 @@ #define HAVE_UTIMES 1 #define SIZEOF_OFF64_T 8 #define HAVE_READLINK 1 +#define HAVE_SECURE_MKSTEMP 1 +#define HAVE_FCHMOD 1 +#define HAVE_SETMODE 1 #endif /* __RSYNC_CONFIG_H */