Hay
Date
June 24, 2025, 11:37 a.m.

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

exit=255timeout set to 0[   33.199269] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>

selftests: rseq: run_syscall_errors_test.sh
Registration with invalid flag fails with errno set to EINVAL (ret = -1, errno = EINVAL)
rseq_syscall_errors_test fail

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)[   57.659195] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>

rseq_syscall_errors_test fail

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)
rseq_syscall_errors_test fail

rseq_syscall_errors_test fail

[   48.350729] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail

[  171.018874] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
[  171.044910] <LAVA_SIGNAL_TESTCASE TEST_CASE_ID=rseq_syscall_errors_test RESULT=fail>
[  171.094496] <LAVA_SIGNAL_TESTCASE TEST_CASE_ID=rseq_run_syscall_errors_test_sh RESULT=pass>
+ set +x
[  171.098346] <LAVA_SIGNAL_ENDRUN 0_kselftest-rseq 1_1.1.3.1>
rseq_syscall_errors_test fail

[  203.341818] <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)
rseq_syscall_errors_test fail

ation with invalid size fails with[   64.329328] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail

rseq_syscall_errors_test fail

<8>[   45.954404] <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>[   45.970482] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail

<8>[   34.725334] <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>[   34.741086] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail

<8>[   74.861164] <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>[   74.882920] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail

<8>[   38.980493] <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.997419] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail

<8>[   25.803872] <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>[   25.816921] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail

rseq_syscall_errors_test fail

Registration with invalid flag fails with errno set to EINVAL (ret = -1, errno = EI[  125.666434] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
NVAL)
rseq_syscall_errors_test fail

rseq_syscall_errors_test fail

set to 0
rseq_syscall_errors_test fail