rseq: Introduce feature size and alignment ELF auxiliary vector entries
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 22 Nov 2022 20:39:04 +0000 (15:39 -0500)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 27 Dec 2022 11:52:10 +0000 (12:52 +0100)
commit317c8194e6aeb8b3b573ad139fc2a0635856498e
tree487894b9890601c50b9a966a3708c2922ae78ba8
parent4842dadfc66f627083ec46c4e9a426e805c765f3
rseq: Introduce feature size and alignment ELF auxiliary vector entries

Export the rseq feature size supported by the kernel as well as the
required allocation alignment for the rseq per-thread area to user-space
through ELF auxiliary vector entries.

This is part of the extensible rseq ABI.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20221122203932.231377-3-mathieu.desnoyers@efficios.com
fs/binfmt_elf.c
include/uapi/linux/auxvec.h
include/uapi/linux/rseq.h