Re: [PATCH for 5.4 0/3] Restartable Sequences Fixes

From: Mathieu Desnoyers
Date: Wed Dec 11 2019 - 10:34:01 EST


Hi Thomas,

I thought those rseq fixes posted in September were in the -tip tree, but it
seems that they never made it to mainline.

Now Shuah Khan noticed the issue with gettid() compatibility with glibc
2.30+. This series contained that fix.

Should I re-post it, or is this series on track to get into mainline
at some point ?

Thanks,

Mathieu

----- On Sep 17, 2019, at 2:29 PM, Mathieu Desnoyers mathieu.desnoyers@xxxxxxxxxxxx wrote:

> Hi,
>
> Here is a small set of rseq fixes aiming Linux 5.4. Those should be
> backported to stable kernels >= 4.18.
>
> Thanks,
>
> Mathieu
>
> Mathieu Desnoyers (3):
> rseq: Fix: Reject unknown flags on rseq unregister
> rseq: Fix: Unregister rseq for clone CLONE_VM
> rseq/selftests: Fix: Namespace gettid() for compatibility with glibc
> 2.30
>
> include/linux/sched.h | 4 ++--
> kernel/rseq.c | 2 ++
> tools/testing/selftests/rseq/param_test.c | 18 ++++++++++--------
> 3 files changed, 14 insertions(+), 10 deletions(-)
>
> --
> 2.17.1

--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com