diff --git a/glibc.spec b/glibc.spec index 2456ef4..a433944 100644 --- a/glibc.spec +++ b/glibc.spec @@ -66,7 +66,7 @@ ############################################################################## Name: glibc Version: 2.34 -Release: 66 +Release: 67 Summary: The GNU libc libraries License: %{all_license} URL: http://www.gnu.org/software/glibc/ @@ -1289,6 +1289,9 @@ fi %endif %changelog +* Thu Mar 3 2022 qinyu - 2.34-67 +- disable rseq by default with tunable + * Thu Mar 3 2022 Yunfeng Ye - 2.34-66 - add PTRACE_GET_RSEQ_CONFIGURATION diff --git a/rseq-nptl-Add-glibc.pthread.rseq-tunable-to-control-rseq-.patch b/rseq-nptl-Add-glibc.pthread.rseq-tunable-to-control-rseq-.patch index 6fb0aa6..8e5675d 100644 --- a/rseq-nptl-Add-glibc.pthread.rseq-tunable-to-control-rseq-.patch +++ b/rseq-nptl-Add-glibc.pthread.rseq-tunable-to-control-rseq-.patch @@ -9,6 +9,14 @@ of glibc. Reviewed-by: Szabolcs Nagy Reviewed-by: Siddhesh Poyarekar +----- +change: +Since rseq is a big feature and have changed code behavior quite a lot, +disable rseq by default to reduce potential conflicts. + +sysdeps/nptl/dl-tunables.list: + default: 1 -> default: 0 + --- manual/tunables.texi | 10 +++ nptl/pthread_create.c | 10 ++- @@ -111,7 +119,7 @@ index ac5d0532..d24f4be0 100644 + type: INT_32 + minval: 0 + maxval: 1 -+ default: 1 ++ default: 0 + } } } diff --git a/testsuite_whitelist b/testsuite_whitelist index 024457e..b99f3d5 100644 --- a/testsuite_whitelist +++ b/testsuite_whitelist @@ -123,3 +123,7 @@ elf/tst-debug1:aarch64 # This test case often fails in CI which is the high-pressure environment. # No better solution is available. This test case is shielded. rt/tst-cpuclock2 + +# These testcase fails because rseq is disabled by default +misc/tst-rseq-nptl +misc/tst-rseq