Support OpenBSD 6.0 pledge() syscall for sandboxing.

This commit is contained in:
John Hood
2016-09-18 01:32:24 -04:00
parent 5619dd47bb
commit 1077db41b6
3 changed files with 21 additions and 0 deletions
+1
View File
@@ -249,6 +249,7 @@ AC_CHECK_FUNCS(m4_normalize([
pselect
getaddrinfo
getnameinfo
pledge
]))
AC_SEARCH_LIBS([clock_gettime], [rt], [AC_DEFINE([HAVE_CLOCK_GETTIME], [1], [Define if clock_gettime is available.])])