mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 02:58:08 +00:00
loose file and shared memory permissions on Android and iPhone
This commit is contained in:
@ -28,7 +28,7 @@ MAN_PATH ?= $(PREFIX)/share/man/man8
|
|||||||
|
|
||||||
BUILD_DATE ?= $(shell date -u -d "@$(SOURCE_DATE_EPOCH)" "+%Y-%m-%d" 2>/dev/null || date -u -r "$(SOURCE_DATE_EPOCH)" "+%Y-%m-%d" 2>/dev/null || date -u "+%Y-%m-%d")
|
BUILD_DATE ?= $(shell date -u -d "@$(SOURCE_DATE_EPOCH)" "+%Y-%m-%d" 2>/dev/null || date -u -r "$(SOURCE_DATE_EPOCH)" "+%Y-%m-%d" 2>/dev/null || date -u "+%Y-%m-%d")
|
||||||
|
|
||||||
VERSION = $(shell grep '^$(HASH)define VERSION ' ./config.h | cut -d '"' -f2)
|
VERSION = $(shell grep '^ *$(HASH)define VERSION ' ./config.h | cut -d '"' -f2)
|
||||||
|
|
||||||
SYS = $(shell uname -s)
|
SYS = $(shell uname -s)
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
|
|
||||||
### Version ++4.31a (dev)
|
### Version ++4.31a (dev)
|
||||||
- your PR?
|
- loose file and shared memory permissions on Android and iPhone
|
||||||
|
|
||||||
|
|
||||||
### Version ++4.30c (release)
|
### Version ++4.30c (release)
|
||||||
|
@ -52,6 +52,18 @@
|
|||||||
/* Default file permission umode when creating files (default: 0600) */
|
/* Default file permission umode when creating files (default: 0600) */
|
||||||
#define DEFAULT_PERMISSION 0600
|
#define DEFAULT_PERMISSION 0600
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
#include <TargetConditionals.h>
|
||||||
|
#if TARGET_OS_IOS
|
||||||
|
#undef DEFAULT_PERMISSION
|
||||||
|
#define 0666
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#ifdef __ANDROID__
|
||||||
|
#undef DEFAULT_PERMISSION
|
||||||
|
#define 0666
|
||||||
|
#endif
|
||||||
|
|
||||||
/* SkipDet's global configuration */
|
/* SkipDet's global configuration */
|
||||||
|
|
||||||
#define MINIMAL_BLOCK_SIZE 64
|
#define MINIMAL_BLOCK_SIZE 64
|
||||||
|
Reference in New Issue
Block a user