|
|
6cb53d |
diff -up php-7.2.4RC1/sapi/litespeed/lsapilib.c.dlopen php-7.2.4RC1/sapi/litespeed/lsapilib.c
|
|
|
6cb53d |
--- php-7.2.4RC1/sapi/litespeed/lsapilib.c.dlopen 2018-03-13 12:40:25.330885880 +0100
|
|
|
6cb53d |
+++ php-7.2.4RC1/sapi/litespeed/lsapilib.c 2018-03-13 12:41:35.797251042 +0100
|
|
|
6cb53d |
@@ -755,7 +755,7 @@ static int (*fp_lve_leave)(struct liblve
|
|
|
6cb53d |
static int (*fp_lve_jail)( struct passwd *, char *) = NULL;
|
|
|
6cb53d |
static int lsapi_load_lve_lib(void)
|
|
|
6cb53d |
{
|
|
|
6cb53d |
- s_liblve = dlopen("liblve.so.0", RTLD_LAZY);
|
|
|
6cb53d |
+ s_liblve = dlopen("liblve.so.0", RTLD_NOW);
|
|
|
6cb53d |
if (s_liblve)
|
|
|
6cb53d |
{
|
|
|
6cb53d |
fp_lve_is_available = dlsym(s_liblve, "lve_is_available");
|
|
|
6cb53d |
diff -up php-7.2.4RC1/Zend/zend_portability.h.dlopen php-7.2.4RC1/Zend/zend_portability.h
|
|
|
6cb53d |
--- php-7.2.4RC1/Zend/zend_portability.h.dlopen 2018-03-13 12:33:38.000000000 +0100
|
|
|
6cb53d |
+++ php-7.2.4RC1/Zend/zend_portability.h 2018-03-13 12:40:25.330885880 +0100
|
|
|
6cb53d |
@@ -144,11 +144,11 @@
|
|
|
6cb53d |
# endif
|
|
|
6cb53d |
|
|
|
6cb53d |
# if defined(RTLD_GROUP) && defined(RTLD_WORLD) && defined(RTLD_PARENT)
|
|
|
6cb53d |
-# define DL_LOAD(libname) dlopen(libname, RTLD_LAZY | RTLD_GLOBAL | RTLD_GROUP | RTLD_WORLD | RTLD_PARENT)
|
|
|
6cb53d |
+# define DL_LOAD(libname) dlopen(libname, RTLD_NOW | RTLD_GLOBAL | RTLD_GROUP | RTLD_WORLD | RTLD_PARENT)
|
|
|
6cb53d |
# elif defined(RTLD_DEEPBIND) && !defined(__SANITIZE_ADDRESS__)
|
|
|
6cb53d |
-# define DL_LOAD(libname) dlopen(libname, RTLD_LAZY | RTLD_GLOBAL | RTLD_DEEPBIND)
|
|
|
6cb53d |
+# define DL_LOAD(libname) dlopen(libname, RTLD_NOW | RTLD_GLOBAL | RTLD_DEEPBIND)
|
|
|
6cb53d |
# else
|
|
|
6cb53d |
-# define DL_LOAD(libname) dlopen(libname, RTLD_LAZY | RTLD_GLOBAL)
|
|
|
6cb53d |
+# define DL_LOAD(libname) dlopen(libname, RTLD_NOW | RTLD_GLOBAL)
|
|
|
6cb53d |
# endif
|
|
|
6cb53d |
# define DL_UNLOAD dlclose
|
|
|
6cb53d |
# if defined(DLSYM_NEEDS_UNDERSCORE)
|