Fix private/bionic_name_mem.h build breakage.
(cherry picked from commit 2f9c6e38b8f59ea6e53e95e062e04dc987ac67f3) Change-Id: Ia8e96da98802d312011df866ac1baaa48f97811c
This commit is contained in:
parent
d648f557f1
commit
b46696858b
@ -16,7 +16,6 @@
|
|||||||
|
|
||||||
#include "dlmalloc.h"
|
#include "dlmalloc.h"
|
||||||
|
|
||||||
#include "private/bionic_name_mem.h"
|
|
||||||
#include "private/libc_logging.h"
|
#include "private/libc_logging.h"
|
||||||
|
|
||||||
// Send dlmalloc errors to the log.
|
// Send dlmalloc errors to the log.
|
||||||
@ -56,6 +55,6 @@ static void* named_anonymous_mmap(size_t length) {
|
|||||||
if (map == MAP_FAILED) {
|
if (map == MAP_FAILED) {
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
prctl(BIONIC_PR_SET_VMA, BIONIC_PR_SET_VMA_ANON_NAME, map, length, "libc_malloc");
|
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, map, length, "libc_malloc");
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user