summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-06-30 22:38:51 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2017-06-30 22:38:51 +0100
commit9cf8ef34504bfeddd9c55c3573296a195c2954e0 (patch)
treef91a6033fe4e5f87bfc791e5b11ebd8f9620e137 /app-forensics/honggfuzz/files
parentapp-forensics/honggfuzz: bump up to 1.1 (diff)
downloadgentoo-9cf8ef34504bfeddd9c55c3573296a195c2954e0.tar.gz
gentoo-9cf8ef34504bfeddd9c55c3573296a195c2954e0.tar.bz2
gentoo-9cf8ef34504bfeddd9c55c3573296a195c2954e0.zip
app-forensics/honggfuzz: drop old
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'app-forensics/honggfuzz/files')
-rw-r--r--app-forensics/honggfuzz/files/honggfuzz-0.8-bts-perms.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/app-forensics/honggfuzz/files/honggfuzz-0.8-bts-perms.patch b/app-forensics/honggfuzz/files/honggfuzz-0.8-bts-perms.patch
deleted file mode 100644
index e8ac4919e208..000000000000
--- a/app-forensics/honggfuzz/files/honggfuzz-0.8-bts-perms.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Workaround --linux_perf_bts_block flag breakage.
-
-Mateusz reports that running honggfuzz fails as:
- [2016-11-11T21:54:27+0000][W][1190] arch_perfOpen():223 mmap(mmapAuxBuf) failed,
- try increasing the kernel.perf_event_mlock_kb sysctl (up to even 300000000): Cannot allocate memory
-
-It seems aux data also needs WRITE permissions.
-
-Reported-by: Mateusz Lenik
-diff --git a/linux/perf.c b/linux/perf.c
-index d8ede5f..2f71b3d 100644
---- a/linux/perf.c
-+++ b/linux/perf.c
-@@ -217,3 +217,4 @@ static bool arch_perfOpen(honggfuzz_t * hfuzz, fuzzer_t * fuzzer UNUSED, pid_t p
- fuzzer->linux.perfMmapAux =
-- mmap(NULL, pem->aux_size, PROT_READ, MAP_SHARED, *perfFd, pem->aux_offset);
-+ mmap(NULL, pem->aux_size, PROT_READ | PROT_WRITE, MAP_SHARED, *perfFd, pem->aux_offset);
-+
- if (fuzzer->linux.perfMmapAux == MAP_FAILED) {