aboutsummaryrefslogtreecommitdiff
path: root/include/compat
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2015-10-15 19:33:26 -0500
committerBrent Cook <bcook@openbsd.org>2015-10-15 19:34:42 -0500
commite8c92100735f1e32d4b6f4a5a2670a0bf98ad1a8 (patch)
treec99abc96eadcb21e53d1ec166c17da894f89a82d /include/compat
parentdadeeb0a2ed5e21bb90bb819a13c1bf9f4d1accf (diff)
downloadportable-e8c92100735f1e32d4b6f4a5a2670a0bf98ad1a8.tar.gz
portable-e8c92100735f1e32d4b6f4a5a2670a0bf98ad1a8.tar.bz2
portable-e8c92100735f1e32d4b6f4a5a2670a0bf98ad1a8.zip
unconditionally disable pledge for now
suggested by deraadt@ since there is still more coming
Diffstat (limited to 'include/compat')
-rw-r--r--include/compat/unistd.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/compat/unistd.h b/include/compat/unistd.h
index 136490b..805c06e 100644
--- a/include/compat/unistd.h
+++ b/include/compat/unistd.h
@@ -29,8 +29,6 @@ unsigned int sleep(unsigned int seconds);
29int getentropy(void *buf, size_t buflen); 29int getentropy(void *buf, size_t buflen);
30#endif 30#endif
31 31
32#ifndef HAVE_PLEDGE
33#define pledge(request, paths) 0 32#define pledge(request, paths) 0
34#endif
35 33
36#endif 34#endif