mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-04-19 22:10:19 +02:00
set errno in malloc_get_state to match glibc
This commit is contained in:
parent
a45dacc57b
commit
89faba4232
1 changed files with 1 additions and 0 deletions
|
@ -2018,6 +2018,7 @@ COLD EXPORT void h_malloc_enable(void) {
|
|||
|
||||
#ifdef __GLIBC__
|
||||
COLD EXPORT void *h_malloc_get_state(void) {
|
||||
errno = ENOSYS;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue