From ff52e6f4e36b6665fc867034e64051471876269f Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Mon, 12 Oct 2015 15:34:03 -0500 Subject: check for pledge(2) --- include/compat/unistd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/compat/unistd.h b/include/compat/unistd.h index 2cd35dd..136490b 100644 --- a/include/compat/unistd.h +++ b/include/compat/unistd.h @@ -29,8 +29,8 @@ unsigned int sleep(unsigned int seconds); int getentropy(void *buf, size_t buflen); #endif -#ifndef HAVE_TAME -#define tame(request, paths) 0 +#ifndef HAVE_PLEDGE +#define pledge(request, paths) 0 #endif #endif -- cgit v1.2.3-55-g6feb