am b962ab81: am 57a5b338: Merge "Define three prctl constants that went missing from uapi."

* commit 'b962ab81fc37fc8b4b8cfd45d3538b641dd6fd13':
  Define three prctl constants that went missing from uapi.
This commit is contained in:
Elliott Hughes 2014-07-12 03:15:29 +00:00 committed by Android Git Automerger
commit bae7c20672

View File

@ -31,6 +31,25 @@
#include <linux/prctl.h>
#include <sys/cdefs.h>
/* These should appear in the uapi headers at some point, but they're not there right now. */
#if !defined(PR_SET_TIMERSLACK_PID)
#define PR_SET_TIMERSLACK_PID 41
#else
#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