[strace/strace] tests: check decoding of SEGV_PKUERR (beed745)

Dmitry V. Levin notifications at github.com
Sun Mar 27 15:13:59 UTC 2022


On Sun, Mar 27, 2022 at 07:47:55AM -0700, Andreas Schwab wrote:
> ptrace.c: In function 'main':
> ptrace.c:1860:17: error: 'SEGV_PKUERR' undeclared (first use in this function); did you mean 'SEGV_ACCERR'?
>   sip->si_code = SEGV_PKUERR;
>                  ^~~~~~~~~~~
>                  SEGV_ACCERR
> ptrace.c:1860:17: note: each undeclared identifier is reported only once for each function it appears in

For the record, what is the operating system where <signal.h>
does not provide a definition of SEGV_PKUERR?
Most likely it is either glibc < 2.27 or a non-glibc system.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/strace/strace/commit/beed7451b02c7c63c6199ac6b027beca7eef097f#commitcomment-69644112
You are receiving this because you are subscribed to this thread.

Message ID: <strace/strace/commit/beed7451b02c7c63c6199ac6b027beca7eef097f/69644112 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20220327/0a78696a/attachment.htm>


More information about the Strace-devel mailing list