diff options
| author | bef | 2016-10-14 13:50:30 +0200 |
|---|---|---|
| committer | GitHub | 2016-10-14 13:50:30 +0200 |
| commit | 7e2d510b9cdd68784fd64bbf73843d4595462d63 (patch) | |
| tree | 3d1a4a968df53787b43741ea4fb4fdc41f49602d /suhosin.c | |
| parent | 1a2cb68a847f08f934aba2b256a3098fdfae81df (diff) | |
| parent | 293d017aad39263403cb981af0a81c3a7984c1e3 (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.c | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -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 */ |
