summaryrefslogtreecommitdiff
path: root/suhosin.c
diff options
context:
space:
mode:
authorbef2016-10-14 13:50:30 +0200
committerGitHub2016-10-14 13:50:30 +0200
commit7e2d510b9cdd68784fd64bbf73843d4595462d63 (patch)
tree3d1a4a968df53787b43741ea4fb4fdc41f49602d /suhosin.c
parent1a2cb68a847f08f934aba2b256a3098fdfae81df (diff)
parent293d017aad39263403cb981af0a81c3a7984c1e3 (diff)
Merge pull request #107 from devnexen/master
adding pledge's call wrapper, allowing most of the promises.
Diffstat (limited to 'suhosin.c')
-rw-r--r--suhosin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/suhosin.c b/suhosin.c
index 11f99f7..32193c6 100644
--- a/suhosin.c
+++ b/suhosin.c
@@ -1050,6 +1050,9 @@ PHP_MINIT_FUNCTION(suhosin)
1050 suhosin_hook_memory_limit(TSRMLS_C); 1050 suhosin_hook_memory_limit(TSRMLS_C);
1051 suhosin_hook_sha256(TSRMLS_C); 1051 suhosin_hook_sha256(TSRMLS_C);
1052 suhosin_hook_ex_imp(TSRMLS_C); 1052 suhosin_hook_ex_imp(TSRMLS_C);
1053#ifdef __OpenBSD__
1054 suhosin_hook_pledge(TSRMLS_C);
1055#endif
1053 1056
1054#if PHP_VERSION_ID < 50500 1057#if PHP_VERSION_ID < 50500
1055 /* register the logo for phpinfo */ 1058 /* register the logo for phpinfo */