commit | 3d24d2b0883ea828443fd7c36d1b262410618aca | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Aug 05 13:53:01 2019 -0700 |
committer | Elliott Hughes <enh@google.com> | Mon Aug 05 16:31:08 2019 -0700 |
tree | 90ddca40aa1d86f1c182462d5b3386a4375dcc3f | |
parent | a5c9c7c56542b6471575148b8a3654078b180940 [diff] [blame] |
Add memfd_create(2) and mlock2(2). These are old enough now that the latest devices will have kernels that support them. Also add basic doc comments to <sys/mman.h>. Test: treehugger Change-Id: I1b5ff5db0b6270f5c374287cac1d6a751a0259f5
diff --git a/libc/libc.map.txt b/libc/libc.map.txt index c3b9e2c..9b39bb8 100644 --- a/libc/libc.map.txt +++ b/libc/libc.map.txt
@@ -1493,6 +1493,8 @@ cnd_signal; cnd_timedwait; cnd_wait; + memfd_create; + mlock2; mtx_destroy; mtx_init; mtx_lock;