| 709 | */ |
| 710 | |
| 711 | static char * |
| 712 | jemalloc_secure_getenv(const char *name) { |
| 713 | #ifdef JEMALLOC_HAVE_SECURE_GETENV |
| 714 | return secure_getenv(name); |
| 715 | #else |
| 716 | # ifdef JEMALLOC_HAVE_ISSETUGID |
| 717 | if (issetugid() != 0) { |
| 718 | return NULL; |
| 719 | } |
| 720 | # endif |
| 721 | return getenv(name); |
| 722 | #endif |
| 723 | } |
| 724 | |
| 725 | static unsigned |
| 726 | malloc_ncpus(void) { |
no outgoing calls
no test coverage detected