[Forensics-changes] [yara] 352/407: Fix build on kFreeBSD

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:28:44 UTC 2017


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag v3.3.0
in repository yara.

commit d7ed1c0f87df15d7178866e19762b8c29465aee6
Author: Hilko Bengen <bengen at hilluzination.de>
Date:   Sat Aug 30 13:01:45 2014 +0200

    Fix build on kFreeBSD
---
 libyara/proc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libyara/proc.c b/libyara/proc.c
index a1baa23..07ec88a 100644
--- a/libyara/proc.c
+++ b/libyara/proc.c
@@ -152,7 +152,7 @@ int yr_process_get_memory(
 #include <yara/proc.h>
 #include <yara/mem.h>
 
-#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__MACH__)
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) || defined(__MACH__)
 #define PTRACE_ATTACH PT_ATTACH
 #define PTRACE_DETACH PT_DETACH
 #endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git



More information about the forensics-changes mailing list