From 313412cf330f402564607d0cf585ae3a6b6db60f Mon Sep 17 00:00:00 2001 From: Victor Hsieh Date: Fri, 5 Oct 2018 10:58:15 -0700 Subject: Update api/current.txt for setuid deprecation android.system.Os.setuid, setgid, seteuid and setegid never meant to be public APIs for apps. As suggested by API council, the plan is to deprecate in Q, and move to SystemApi in R if needed. Test: build Bug: 77707533 Change-Id: I87b2eb7823109200d9073db01d709ef50a4622de --- api/current.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/current.txt b/api/current.txt index 93fcf3b80a56..1cb9684712b1 100755 --- a/api/current.txt +++ b/api/current.txt @@ -40327,13 +40327,13 @@ package android.system { method public static long sendfile(java.io.FileDescriptor, java.io.FileDescriptor, android.system.Int64Ref, long) throws android.system.ErrnoException; method public static int sendto(java.io.FileDescriptor, java.nio.ByteBuffer, int, java.net.InetAddress, int) throws android.system.ErrnoException, java.net.SocketException; method public static int sendto(java.io.FileDescriptor, byte[], int, int, int, java.net.InetAddress, int) throws android.system.ErrnoException, java.net.SocketException; - method public static void setegid(int) throws android.system.ErrnoException; + method public static deprecated void setegid(int) throws android.system.ErrnoException; method public static void setenv(java.lang.String, java.lang.String, boolean) throws android.system.ErrnoException; - method public static void seteuid(int) throws android.system.ErrnoException; - method public static void setgid(int) throws android.system.ErrnoException; + method public static deprecated void seteuid(int) throws android.system.ErrnoException; + method public static deprecated void setgid(int) throws android.system.ErrnoException; method public static int setsid() throws android.system.ErrnoException; method public static void setsockoptInt(java.io.FileDescriptor, int, int, int) throws android.system.ErrnoException; - method public static void setuid(int) throws android.system.ErrnoException; + method public static deprecated void setuid(int) throws android.system.ErrnoException; method public static void setxattr(java.lang.String, java.lang.String, byte[], int) throws android.system.ErrnoException; method public static void shutdown(java.io.FileDescriptor, int) throws android.system.ErrnoException; method public static java.io.FileDescriptor socket(int, int, int) throws android.system.ErrnoException; -- cgit v1.2.3-59-g8ed1b