From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1962) id 618673858D3C; Tue, 25 Jul 2023 10:28:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 618673858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1690280905; bh=8DPdNyyp5c0K46OYzmW0HTbC9Quw2I6ryqK8t3Flt0w=; h=From:To:Subject:Date:From; b=T23/BFklLt8ZqF3KC75D3z2w+7DO9mdRX1B8g0R9V1Y4LbuAlPwZ+nwCKp73VMWAV nd8C6lyyde3WmOElCn6SLIgtq6gbiUD26dXEx8JlH8TERqNxidl3p8vKii2rn1exNB 8wWCaIVAIUkQAY3so+UBJCC2Jnx4FW7rc+1nks3I= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Stefan Liebler To: glibc-cvs@sourceware.org Subject: [glibc] Include sys/rseq.h in tst-rseq-disable.c X-Act-Checkin: glibc X-Git-Author: Stefan Liebler X-Git-Refname: refs/heads/master X-Git-Oldrev: c2dc8ab6a5a4e67f96ddd3f6bfdf2c991385ec38 X-Git-Newrev: 637aac2ae3980de31a6baab236a9255fe853cc76 Message-Id: <20230725102825.618673858D3C@sourceware.org> Date: Tue, 25 Jul 2023 10:28:25 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=637aac2ae3980de31a6baab236a9255fe853cc76 commit 637aac2ae3980de31a6baab236a9255fe853cc76 Author: Stefan Liebler Date: Tue Jul 25 11:34:30 2023 +0200 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 Diff: --- sysdeps/unix/sysv/linux/tst-rseq-disable.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sysdeps/unix/sysv/linux/tst-rseq-disable.c b/sysdeps/unix/sysv/linux/tst-rseq-disable.c index d0db81b29d..cc7e94b3fe 100644 --- a/sysdeps/unix/sysv/linux/tst-rseq-disable.c +++ b/sysdeps/unix/sysv/linux/tst-rseq-disable.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #ifdef RSEQ_SIG