]> git.ipfire.org Git - thirdparty/glibc.git/commit
Include sys/rseq.h in tst-rseq-disable.c
authorStefan Liebler <stli@linux.ibm.com>
Tue, 25 Jul 2023 09:34:30 +0000 (11:34 +0200)
committerArjun Shankar <arjun@redhat.com>
Mon, 18 Mar 2024 17:12:03 +0000 (18:12 +0100)
commita11c8d521da5ca858ac9748097ecd02569ecb310
tree2848ab4ad604bb7c4b77883afb8aae0a3e58376d
parent9da8174362860b4fc564c8ca8c11fc3c51ed1de9
Include sys/rseq.h in tst-rseq-disable.c

Starting with commit 2c6b4b272e6b4d07303af25709051c3e96288f2d
"nptl: Unconditionally use a 32-byte rseq area", the testcase
misc/tst-rseq-disable is UNSUPPORTED as RSEQ_SIG is not defined.

The mentioned commit removes inclusion of sys/rseq.h in nptl/descr.h.
Thus just include sys/rseq.h in the tst-rseq-disable.c as also done
in tst-rseq.c and tst-rseq-nptl.c.
Reviewed-by: Florian Weimer <fweimer@redhat.com>
(cherry picked from commit 637aac2ae3980de31a6baab236a9255fe853cc76)
sysdeps/unix/sysv/linux/tst-rseq-disable.c