aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuchi Kandoi <kandoiruchi@google.com>2014-04-23 19:13:00 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-04-23 19:13:00 +0000
commitcdbaa8e53e6606f67a276596cf183ddf3b44550f (patch)
tree88d2bb433d8fcd450af1f2bc9166a83cdee7db82
parent383130eabe21d24a5a00791d416c712378a4d7f0 (diff)
parent186f3c24e472d038846d65b2a6ec5b55c92f19ef (diff)
downloadkernel-headers-idea133-weekly-release.tar.gz
Merge "prctl: Adds the PR_SET_TIMERSLACK_PID option"idea133-weekly-release
-rw-r--r--original/uapi/linux/prctl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/original/uapi/linux/prctl.h b/original/uapi/linux/prctl.h
index 253856a..28bb0b3 100644
--- a/original/uapi/linux/prctl.h
+++ b/original/uapi/linux/prctl.h
@@ -149,6 +149,12 @@
#define PR_GET_TID_ADDRESS 40
+/* Sets the timerslack for arbitrary threads
+ * arg2 slack value, 0 means "use default"
+ * arg3 pid of the thread whose timer slack needs to be set
+ */
+#define PR_SET_TIMERSLACK_PID 41
+
#define PR_SET_VMA 0x53564d41
# define PR_SET_VMA_ANON_NAME 0