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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user