summaryrefslogtreecommitdiff
path: root/suhosin.c
diff options
context:
space:
mode:
authorDavid Carlier2016-05-24 07:01:21 +0100
committerDavid Carlier2016-05-24 07:01:21 +0100
commita27df15eff8b9d971e0c2c7730125b5cf99dc683 (patch)
tree5b94c8a151c4105e5bd179cf2e881ba5e3b02504 /suhosin.c
parent765706eb5a01756542faf5609b303927bd6f43dc (diff)
adding pledge's call wrapper, allowing most of the promises.
this promises list might need to be adjusted over time.
Diffstat (limited to 'suhosin.c')
-rw-r--r--suhosin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/suhosin.c b/suhosin.c
index d95b92f..abe79df 100644
--- a/suhosin.c
+++ b/suhosin.c
@@ -1051,6 +1051,7 @@ PHP_MINIT_FUNCTION(suhosin)
1051 suhosin_hook_memory_limit(TSRMLS_C); 1051 suhosin_hook_memory_limit(TSRMLS_C);
1052 suhosin_hook_sha256(TSRMLS_C); 1052 suhosin_hook_sha256(TSRMLS_C);
1053 suhosin_hook_ex_imp(TSRMLS_C); 1053 suhosin_hook_ex_imp(TSRMLS_C);
1054 suhosin_hook_pledge(TSRMLS_C);
1054 1055
1055#if PHP_VERSION_ID < 50500 1056#if PHP_VERSION_ID < 50500
1056 /* register the logo for phpinfo */ 1057 /* register the logo for phpinfo */