Skip to content

Last minute rseq fixes for 7.0

Mathieu Desnoyers lkml 3 versions – Applied

Status from this message: The following commit has been merged into the sched/urgent branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesApplied
  2. v22 patches 1 replySuperseded
  3. v12 patches 1 replySuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2rseq: Clarify rseq registration rseq_size bound check commentkernel/rseq.c+3 -20 replies
2/2rseq: slice ext: Ensure rseq feature size differs from original rseq sizefs/binfmt_elf.c include/linux/rseq.h include/uapi/linux/rseq.h +1 more+38 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] Last minute rseq fixes for 7.0

Hi,

Here are two last minute rseq fixes aiming at 7.0.

The first is a clarification of a rseq registration comment to match the rseq_size range checks.

The second ensures that the new scheduler slice extension field don't end up exposing a rseq feature size equal to the original rseq size, which would make life harder than it needs to be for userspace.

Updates since v2:

- Update comment above struct rseq in the uapi header.

Thanks,

Mathieu

CC Peter Zijlstra (Intel) <[email protected]>
CC Ingo Molnar <[email protected]>
CC Thomas Gleixner <[email protected]>
CC Carlos O'Donell <[email protected]>
CC Florian Weimer <[email protected]>
CC Michael Jeanson <[email protected]>

Mathieu Desnoyers (2):
rseq: Clarify rseq registration rseq_size bound check comment
rseq: slice ext: Ensure rseq feature size differs from original rseq
size

 fs/binfmt_elf.c           |  3 ++-
 include/linux/rseq.h      | 12 ++++++++++++
 include/uapi/linux/rseq.h | 26 ++++++++++++++++++++++----
 kernel/rseq.c             |  8 +++++---
 4 files changed, 41 insertions(+), 8 deletions(-)
Signature · 1 line
2.39.5