diff options
Diffstat (limited to 'execute.c')
| -rw-r--r-- | execute.c | 9 |
1 files changed, 7 insertions, 2 deletions
| @@ -23,7 +23,6 @@ | |||
| 23 | #include "config.h" | 23 | #include "config.h" |
| 24 | #endif | 24 | #endif |
| 25 | 25 | ||
| 26 | // #include <fcntl.h> | ||
| 27 | #include "php.h" | 26 | #include "php.h" |
| 28 | // #include "php_ini.h" | 27 | // #include "php_ini.h" |
| 29 | // #include "zend_hash.h" | 28 | // #include "zend_hash.h" |
| @@ -37,7 +36,6 @@ | |||
| 37 | #include "SAPI.h" | 36 | #include "SAPI.h" |
| 38 | #include "execute.h" | 37 | #include "execute.h" |
| 39 | 38 | ||
| 40 | // #include "sha256.h" | ||
| 41 | 39 | ||
| 42 | // #ifdef PHP_WIN32 | 40 | // #ifdef PHP_WIN32 |
| 43 | // # include "win32/fnmatch.h" | 41 | // # include "win32/fnmatch.h" |
| @@ -555,6 +553,13 @@ static suhosin_internal_function_handler ihandlers[] = { | |||
| 555 | // { "mail", ih_mail, NULL, NULL, NULL }, | 553 | // { "mail", ih_mail, NULL, NULL, NULL }, |
| 556 | // { "symlink", ih_symlink, NULL, NULL, NULL }, | 554 | // { "symlink", ih_symlink, NULL, NULL, NULL }, |
| 557 | 555 | ||
| 556 | // random number functions | ||
| 557 | S7_IH_ENTRY0i(srand) | ||
| 558 | S7_IH_ENTRY0i(mt_srand) | ||
| 559 | S7_IH_ENTRY0i(rand) | ||
| 560 | S7_IH_ENTRY0i(mt_rand) | ||
| 561 | S7_IH_ENTRY0i(getrandmax) | ||
| 562 | S7_IH_ENTRY0("mt_getrandmax", getrandmax) | ||
| 558 | // { "srand", ih_srand, NULL, NULL, NULL }, | 563 | // { "srand", ih_srand, NULL, NULL, NULL }, |
| 559 | // { "mt_srand", ih_mt_srand, NULL, NULL, NULL }, | 564 | // { "mt_srand", ih_mt_srand, NULL, NULL, NULL }, |
| 560 | // { "rand", ih_rand, NULL, NULL, NULL }, | 565 | // { "rand", ih_rand, NULL, NULL, NULL }, |
