Remove non-standard prctl constants from <sys/prctl.h>.
Also remove __bionic_name_mem which has exactly one caller, and is only
ever expected to be used in this one place.
(cherry picked from commit d7453860a6)
Change-Id: I26b7638609e9d4eaf4f21ae29721ea27d4176702
This commit is contained in:
@@ -38,18 +38,6 @@
|
||||
#error PR_SET_TIMERSLACK_PID defined twice
|
||||
#endif
|
||||
|
||||
#if !defined(PR_SET_VMA)
|
||||
#define PR_SET_VMA 0x53564d41
|
||||
#else
|
||||
#error PR_SET_VMA defined twice
|
||||
#endif
|
||||
|
||||
#if !defined(PR_SET_VMA_ANON_NAME)
|
||||
#define PR_SET_VMA_ANON_NAME 0
|
||||
#else
|
||||
#error PR_SET_VMA_ANON_NAME defined twice
|
||||
#endif
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
/* IMPORTANT NOTE: This function is declared as taking a variable number
|
||||
@@ -63,4 +51,3 @@ extern int prctl(int option, ...);
|
||||
__END_DECLS
|
||||
|
||||
#endif /* _SYS_PRCTL_H */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user