This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/vmm_clock_main.c b/vmm_clock_main.c | |
index cd01897..ef9c18b 100644 | |
--- a/vmm_clock_main.c | |
+++ b/vmm_clock_main.c | |
@@ -95,7 +95,7 @@ static void vmmclock_init_mem(void) | |
unsigned long ncpus; | |
unsigned int order; | |
struct page *p; | |
- int r; | |
+ //int r; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index 56bf70f9..884ed0e7 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -35,7 +35,7 @@ if(NIGHTLY_BUILD) | |
set(FASTER ON) | |
endif() | |
-if(${CMAKE_SYSTEM_NAME} STREQUAL FreeBSD) | |
+if(${CMAKE_SYSTEM_NAME} STREQUAL FreeBSD OR ${CMAKE_SYSTEM_NAME} STREQUAL OpenBSD) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/child.c b/child.c | |
index b81cd42..57b0eb6 100644 | |
--- a/child.c | |
+++ b/child.c | |
@@ -129,6 +129,35 @@ child_start(struct children *children, uid_t uid, gid_t gid, | |
if (geteuid() == 0) | |
dropto(uid, gid); | |
+#ifdef HAVE_PLEDGE | |
+ struct child_fetch_data *cfd = child->data; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/child.c b/child.c | |
index 70b915e..0c3b33b 100644 | |
--- a/child.c | |
+++ b/child.c | |
@@ -129,6 +129,21 @@ child_start(struct children *children, uid_t uid, gid_t gid, | |
if (geteuid() == 0) | |
dropto(uid, gid); | |
+#ifdef HAVE_PLEDGE | |
+ struct child_fetch_data *cfd = child->data; |