Hay
Date
June 5, 2025, 7:08 a.m.

Environment
dragonboard-410c
e850-96
fvp-aemva
qemu-arm64
qemu-armv7
qemu-x86_64
rk3399-rock-pi-4b
x15
x86

Registration with unaligned rseq_abi fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid size fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid address fails with errno set to EFAULT (ret = -1, errno = EFAULT)
Registration succeeds for the current thread (ret = 0, errno = 0)
Double registration fails with errno set to EBUSY (ret = -1, errno = EBUSY)
Unregistration with wrong RSEQ_SIG fails with errno to EPERM (ret = -1, errno = EPERM)
Unregistration succeeds for the current thread (ret = 0, errno = 0)
Double unregistration fails with errno set to EINVAL (ret = -1, errno = EINVAL)[   56.470368] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>

rseq_syscall_errors_test fail


[  154.536706] <LAVA_SIGNAL_STARTTC rseq_syscall_errors_test>
exit=255timeout set to 0
selftests: rseq: run_syscall_errors_test.sh
Registration with invalid flag fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with unaligned rseq_abi fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid size fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid address fails with errno set to EFAULT (ret = -1, errno = EFAULT)
Registration succeeds for the current thread (ret = 0, errno = 0)
Double registration fails with errno set to EBUSY (ret = -1, errno = EBUSY)
Unregistration with wrong RSEQ_SIG fails with errno to EPERM (ret = -1, errno = EPERM)
Unregistration succeeds for the current thread (ret = 0, errno = 0)
Double unregistration fails with errno set to EINVAL (ret = -1, errno = EINVAL)
[  154.546306] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail


[  146.798751] <LAVA_SIGNAL_STARTTC rseq_syscall_errors_test>
exit=255timeout set to 0
selftests: rseq: run_syscall_errors_test.sh
Registration with invalid flag fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with unaligned rseq_abi fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid size fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid address fails with errno set to EFAULT (ret = -1, errno = EFAULT)
Registration succeeds for the current thread (ret = 0, errno = 0)
Double registration fails with errno set to EBUSY (ret = -1, errno = EBUSY)
Unregistration with wrong RSEQ_SIG fails with errno to EPERM (ret = -1, errno = EPERM)
Unregistration succeeds for the current thread (ret = 0, errno = 0)
Double unregistration fails with errno set to EINVAL (ret = -1, errno = EINVAL)
[  146.808432] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail


<8>[   38.491203] <LAVA_SIGNAL_STARTTC rseq_syscall_errors_test>
exit=255timeout set to 0
selftests: rseq: run_syscall_errors_test.sh
Registration with invalid flag fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with unaligned rseq_abi fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid size fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid address fails with errno set to EFAULT (ret = -1, errno = EFAULT)
Registration succeeds for the current thread (ret = 0, errno = 0)
Double registration fails with errno set to EBUSY (ret = -1, errno = EBUSY)
Unregistration with wrong RSEQ_SIG fails with errno to EPERM (ret = -1, errno = EPERM)
Unregistration succeeds for the current thread (ret = 0, errno = 0)
Double unregistration fails with errno set to EINVAL (ret = -1, errno = EINVAL)
<8>[   38.507844] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail

<8>[   38.896205] <LAVA_SIGNAL_STARTTC rseq_syscall_errors_test>
exit=255timeout set to 0
selftests: rseq: run_syscall_errors_test.sh
Registration with invalid flag fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with unaligned rseq_abi fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid size fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid address fails with errno set to EFAULT (ret = -1, errno = EFAULT)
Registration succeeds for the current thread (ret = 0, errno = 0)
Double registration fails with errno set to EBUSY (ret = -1, errno = EBUSY)
Unregistration with wrong RSEQ_SIG fails with errno to EPERM (ret = -1, errno = EPERM)
Unregistration succeeds for the current thread (ret = 0, errno = 0)
Double unregistration fails with errno set to EINVAL (ret = -1, errno = EINVAL)
<8>[   38.918311] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail


<8>[   65.566380] <LAVA_SIGNAL_STARTTC rseq_syscall_errors_test>
exit=255timeout set to 0
selftests: rseq: run_syscall_errors_test.sh
Registration with invalid flag fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with unaligned rseq_abi fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid size fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration succeeds for the current thread (ret = 0, errno = 0)
Double registration fails with errno set to EBUSY (ret = -1, errno = EBUSY)
Unregistration with wrong RSEQ_SIG fails with errno to EPERM (ret = -1, errno = EPERM)
Unregistration succeeds for the current thread (ret = 0, errno = 0)
Double unregistration fails with errno set to EINVAL (ret = -1, errno = EINVAL)
<8>[   65.591800] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail


<8>[   43.176852] <LAVA_SIGNAL_STARTTC rseq_syscall_errors_test>
exit=255timeout set to 0
selftests: rseq: run_syscall_errors_test.sh
Registration with invalid flag fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with unaligned rseq_abi fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid size fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid address fails with errno set to EFAULT (ret = -1, errno = EFAULT)
Registration succeeds for the current thread (ret = 0, errno = 0)
Double registration fails with errno set to EBUSY (ret = -1, errno = EBUSY)
Unregistration with wrong RSEQ_SIG fails with errno to EPERM (ret = -1, errno = EPERM)
Unregistration succeeds for the current thread (ret = 0, errno = 0)
Double unregistration fails with errno set to EINVAL (ret = -1, errno = EINVAL)
<8>[   43.194093] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail


<8>[   21.352105] <LAVA_SIGNAL_STARTTC rseq_syscall_errors_test>
exit=255timeout set to 0
selftests: rseq: run_syscall_errors_test.sh
Registration with invalid flag fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with unaligned rseq_abi fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid size fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid address fails with errno set to EFAULT (ret = -1, errno = EFAULT)
Registration succeeds for the current thread (ret = 0, errno = 0)
Double registration fails with errno set to EBUSY (ret = -1, errno = EBUSY)
Unregistration with wrong RSEQ_SIG fails with errno to EPERM (ret = -1, errno = EPERM)
Unregistration succeeds for the current thread (ret = 0, errno = 0)
Double unregistration fails with errno set to EINVAL (ret = -1, errno = EINVAL)
<8>[   21.365445] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail


selftests: rseq: run_syscall_errors_test.sh
Registration with invalid flag fails with errno set to EINVAL (ret = -1, errno = EI[   51.020994] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
NVAL)
rseq_syscall_errors_test fail

INVAL (ret = -1, errno = EINVAL)
Registration with invalid size[   66.171874] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
 fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration succeeds for the current thread (ret = -1, errno = EBUS[   66.188598] <LAVA_SIGNAL_TESTCASE TEST_CASE_ID=rseq_syscall_errors_test RESULT=fail>
Y)
exit=255timeout set to 0
rseq_syscall_errors_test fail


Registration with inva[   68.500771] <LAVA_SIGNAL_TESTCASE TEST_CASE_ID=rseq_syscall_errors_test RESULT=fail>
rseq_syscall_errors_test fail


 EINVAL)
Registration with inva[   78.424828] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail