diff options
author | Colin Cross <ccross@android.com> | 2013-08-07 13:31:17 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2013-08-07 15:41:30 -0700 |
commit | 6771b9cef635f0da98932a1f0f877a07257ca088 (patch) | |
tree | 5023df46710d5572e818e6e53450c91280e4c4b3 /libc/Android.mk | |
parent | 7c860db0747f6276a6e43984d43f8fa5181ea936 (diff) | |
download | bionic-6771b9cef635f0da98932a1f0f877a07257ca088.zip bionic-6771b9cef635f0da98932a1f0f877a07257ca088.tar.gz bionic-6771b9cef635f0da98932a1f0f877a07257ca088.tar.bz2 |
bionic: add function to name memory
Only works on some kernels, and only on page-aligned regions of
anonymous memory. It will show up in /proc/pid/maps as
[anon:<name>] and in /proc/pid/smaps as Name: <name>
Change-Id: If31667cf45ff41cc2a79a140ff68707526def80e
Diffstat (limited to 'libc/Android.mk')
-rw-r--r-- | libc/Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/Android.mk b/libc/Android.mk index 6ebb9e9..6e089c5 100644 --- a/libc/Android.mk +++ b/libc/Android.mk @@ -104,6 +104,7 @@ libc_common_src_files := \ bionic/md5.c \ bionic/memmem.c \ bionic/memswap.c \ + bionic/name_mem.c \ bionic/openat.c \ bionic/open.c \ bionic/pathconf.c \ |