From: Amit Pundir Date: Wed, 30 Sep 2015 10:31:08 +0000 (+0530) Subject: prctl: reset PR_SET_TIMERSLACK_PID value to avoid conflict X-Git-Tag: firefly_0821_release~2958^2~155 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d5b7dffe62d4c9849adcd9d9e689ed7f1f61c10d;p=firefly-linux-kernel-4.4.55.git prctl: reset PR_SET_TIMERSLACK_PID value to avoid conflict PR_SET_TIMERSLACK_PID value keep colliding with that of newer prctls in mainline (e.g. first with PR_SET_THP_DISABLE, and again with PR_MPX_ENABLE_MANAGEMENT). So reset PR_SET_TIMERSLACK_PID to a large number so as to avoid conflict in the near term while it is out of mainline tree. Corresponding Change-Id up for review in platform/system/core is Icd8c658c8eb62136dc26c2c4c94f7782e9827cdb Change-Id: I061b25473acc020c13ee22ecfb32336bc358e76a Signed-off-by: Amit Pundir --- diff --git a/include/uapi/linux/prctl.h b/include/uapi/linux/prctl.h index eea2fc75a98f..4f1a92a83f89 100644 --- a/include/uapi/linux/prctl.h +++ b/include/uapi/linux/prctl.h @@ -201,6 +201,6 @@ struct prctl_mm_map { * arg2 slack value, 0 means "use default" * arg3 pid of the thread whose timer slack needs to be set */ -#define PR_SET_TIMERSLACK_PID 47 +#define PR_SET_TIMERSLACK_PID 127 #endif /* _LINUX_PRCTL_H */