summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--php_suhosin.h2
-rw-r--r--pledge.c2
-rw-r--r--pledge.h2
-rw-r--r--suhosin.c2
4 files changed, 6 insertions, 2 deletions
diff --git a/php_suhosin.h b/php_suhosin.h
index b228d48..1c0ea42 100644
--- a/php_suhosin.h
+++ b/php_suhosin.h
@@ -383,7 +383,9 @@ void suhosin_unhook_header_handler();
383void suhosin_hook_session(TSRMLS_D); 383void suhosin_hook_session(TSRMLS_D);
384void suhosin_unhook_session(TSRMLS_D); 384void suhosin_unhook_session(TSRMLS_D);
385void suhosin_hook_sha256(TSRMLS_D); 385void suhosin_hook_sha256(TSRMLS_D);
386#ifdef __OpenBSD__
386void suhosin_hook_pledge(TSRMLS_D); 387void suhosin_hook_pledge(TSRMLS_D);
388#endif
387void suhosin_hook_ex_imp(TSRMLS_D); 389void suhosin_hook_ex_imp(TSRMLS_D);
388void suhosin_hook_treat_data(); 390void suhosin_hook_treat_data();
389void suhosin_hook_memory_limit(TSRMLS_D); 391void suhosin_hook_memory_limit(TSRMLS_D);
diff --git a/pledge.c b/pledge.c
index fed0380..6a9ecdc 100644
--- a/pledge.c
+++ b/pledge.c
@@ -13,7 +13,7 @@
13 | obtain it through the world-wide-web, please send a note to | 13 | obtain it through the world-wide-web, please send a note to |
14 | license@php.net so we can mail you a copy immediately. | 14 | license@php.net so we can mail you a copy immediately. |
15 +----------------------------------------------------------------------+ 15 +----------------------------------------------------------------------+
16 | Author: Stefan Esser <sesser@sektioneins.de> | 16 | Author: David Carlier <devnexen@gmail.com> |
17 +----------------------------------------------------------------------+ 17 +----------------------------------------------------------------------+
18*/ 18*/
19 19
diff --git a/pledge.h b/pledge.h
index 2666e41..24cdccb 100644
--- a/pledge.h
+++ b/pledge.h
@@ -13,7 +13,7 @@
13 | obtain it through the world-wide-web, please send a note to | 13 | obtain it through the world-wide-web, please send a note to |
14 | license@php.net so we can mail you a copy immediately. | 14 | license@php.net so we can mail you a copy immediately. |
15 +----------------------------------------------------------------------+ 15 +----------------------------------------------------------------------+
16 | Author: Stefan Esser <sesser@sektioneins.de> | 16 | Author: David Carlier <devnexen@gmail.com> |
17 +----------------------------------------------------------------------+ 17 +----------------------------------------------------------------------+
18*/ 18*/
19 19
diff --git a/suhosin.c b/suhosin.c
index abe79df..862ba3c 100644
--- a/suhosin.c
+++ b/suhosin.c
@@ -1051,7 +1051,9 @@ 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#ifdef __OpenBSD__
1054 suhosin_hook_pledge(TSRMLS_C); 1055 suhosin_hook_pledge(TSRMLS_C);
1056#endif
1055 1057
1056#if PHP_VERSION_ID < 50500 1058#if PHP_VERSION_ID < 50500
1057 /* register the logo for phpinfo */ 1059 /* register the logo for phpinfo */