From be811e517d867b4b902f31f6ce25c2854c0ce476 Mon Sep 17 00:00:00 2001 From: Chong Zhang Date: Thu, 5 Dec 2019 10:40:38 -0800 Subject: [PATCH] Add memfd_create to android.system.Os bug: 145607042 bug: 145355521 Change-Id: Iee92a946d38fd2cbc7a30534638ea467cb5a601a --- api/current.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/current.txt b/api/current.txt index d9bb73c7a4dc3..9ddf5e7116fc0 100644 --- a/api/current.txt +++ b/api/current.txt @@ -42384,6 +42384,7 @@ package android.system { method public static String[] listxattr(String) throws android.system.ErrnoException; method public static long lseek(java.io.FileDescriptor, long, int) throws android.system.ErrnoException; method public static android.system.StructStat lstat(String) throws android.system.ErrnoException; + method @NonNull public static java.io.FileDescriptor memfd_create(@NonNull String, int) throws android.system.ErrnoException; method public static void mincore(long, long, byte[]) throws android.system.ErrnoException; method public static void mkdir(String, int) throws android.system.ErrnoException; method public static void mkfifo(String, int) throws android.system.ErrnoException; @@ -42692,6 +42693,7 @@ package android.system { field public static final int MCAST_UNBLOCK_SOURCE; field public static final int MCL_CURRENT; field public static final int MCL_FUTURE; + field public static final int MFD_CLOEXEC; field public static final int MSG_CTRUNC; field public static final int MSG_DONTROUTE; field public static final int MSG_EOR;