Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-10] src/tests/lib/libc/gen



Module Name:    src
Committed By:   martin
Date:           Fri Sep 13 14:06:25 UTC 2024

Modified Files:
        src/tests/lib/libc/gen [netbsd-10]: t_siginfo.c

Log Message:
Pull up following revision(s) (requested by rin in ticket #856):

        tests/lib/libc/gen/t_siginfo.c: revision 1.54
        tests/lib/libc/gen/t_siginfo.c: revision 1.55

t_siginfo:sigbus_adraln: Skip rather than expect_fail on x86

This is an architecture-defined behavior, not a failure.
t_siginfo:adraln: Brush up skip message for x86

Note that:
1. No data address is reported back for alignment check exception, as per
   Intel SDM (June 2024).
2. Kernel sets faulting PC to si_addr.
3. 2. is compliant to siginfo(2), at least:
   For SIGILL, SIGFPE, SIGBUS and SIGSEGV ... si_addr contains
   the address of the faulting instruction or data and ...
4. IEEE Std 1003.1-2024 does not require si_addr for SIGBUS. For SIGILL
   and SIGSEGV, e.g., it is required (SHALL) to store faulting PC and
   data address, respectively, on the other hand.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.47.2.1 src/tests/lib/libc/gen/t_siginfo.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index