Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright dates with scripts/update-copyrights. | Joseph Myers | 2017-01-01 | 1 | -1/+1 |
| | |||||
* | tst-rec-dlopen: Fix build fail due to missing inclusion of string.h | Stefan Liebler | 2016-06-06 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | on S390, I get a compile error for dlfcn/tst-rec-dlopen.c: tst-rec-dlopen.c: In function ‘malloc’: tst-rec-dlopen.c:101:4: error: implicit declaration of function ‘strlen’ [-Werror=implicit-function-declaration] (void) write (STDOUT_FILENO, message, strlen (message)); ^ tst-rec-dlopen.c:101:42: error: incompatible implicit declaration of built-in function ‘strlen’ [-Werror] (void) write (STDOUT_FILENO, message, strlen (message)); ^ tst-rec-dlopen.c:112:42: error: incompatible implicit declaration of built-in function ‘strlen’ [-Werror] (void) write (STDOUT_FILENO, message, strlen (message)); ^ This patch adds the missing "#include <string.h>" for strlen. ChangeLog: * dlfcn/tst-rec-dlopen.c: Include string.h. | ||||
* | tst-rec-dlopen: Use interposed malloc instead of hooks | Florian Weimer | 2016-06-05 | 1 | -25/+59 |
| | | | | This avoids use of the deprecated hook variables. | ||||
* | Update copyright dates with scripts/update-copyrights. | Joseph Myers | 2016-01-04 | 1 | -1/+1 |
| | |||||
* | Fix aliasing violation in tst-rec-dlopen | Florian Weimer | 2015-12-15 | 1 | -1/+1 |
| | |||||
* | Update copyright year to 2015 for new files. | Carlos O'Donell | 2015-01-21 | 1 | -2/+1 |
| | |||||
* | Fix recursive dlopen. | Carlos O'Donell | 2015-01-21 | 1 | -0/+144 |
The ability to recursively call dlopen is useful for malloc implementations that wish to load other dynamic modules that implement reentrant/AS-safe functions to use in their own implementation. Given that a user malloc implementation may be called by an ongoing dlopen to allocate memory the user malloc implementation interrupts dlopen and if it calls dlopen again that's a reentrant call. This patch fixes the issues with the ld.so.cache mapping and the _r_debug assertion which prevent this from working as expected. See: https://sourceware.org/ml/libc-alpha/2014-12/msg00446.html |