summaryrefslogtreecommitdiff
path: root/include/linux/auxvec.h
diff options
context:
space:
mode:
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>2023-01-04 22:20:54 +0300
committerPeter Zijlstra <peterz@infradead.org>2023-01-12 13:22:22 +0300
commit28c8e088427ad30b4260953f3b6f908972b77c2d (patch)
treebfe0ba7fe85399f6fce0f4b41bb1ef00ded8d8a8 /include/linux/auxvec.h
parentc91b0bf3e590a2dd0f2af4bb048abc0542eabf2e (diff)
downloadlinux-28c8e088427ad30b4260953f3b6f908972b77c2d.tar.xz
rseq: Increase AT_VECTOR_SIZE_BASE to match rseq auxvec entries
Two new auxiliary vector entries are introduced for rseq without matching increment of the AT_VECTOR_SIZE_BASE, which causes failures with CONFIG_HARDENED_USERCOPY=y. Fixes: 317c8194e6ae ("rseq: Introduce feature size and alignment ELF auxiliary vector entries") Reported-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Tested-by: Nathan Chancellor <nathan@kernel.org> Link: https://lore.kernel.org/r/20230104192054.34046-1-mathieu.desnoyers@efficios.com
Diffstat (limited to 'include/linux/auxvec.h')
-rw-r--r--include/linux/auxvec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/auxvec.h b/include/linux/auxvec.h
index f68d0ec2d740..407f7005e6d6 100644
--- a/include/linux/auxvec.h
+++ b/include/linux/auxvec.h
@@ -4,6 +4,6 @@
#include <uapi/linux/auxvec.h>
-#define AT_VECTOR_SIZE_BASE 20 /* NEW_AUX_ENT entries in auxiliary table */
+#define AT_VECTOR_SIZE_BASE 22 /* NEW_AUX_ENT entries in auxiliary table */
/* number of "#define AT_.*" above, minus {AT_NULL, AT_IGNORE, AT_NOTELF} */
#endif /* _LINUX_AUXVEC_H */