Hay
Date
June 6, 2025, 6:11 a.m.

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

Registration with invalid address fails with errno set to EFAULT (ret = -1, errno = EINVAL)
[   56.690229] <LAVA_SIGNAL_ENDTC rseq_param_test_mm_cid_compare_twice>

[   56.744210] <LAVA_SIGNAL_TESTCASE TEST_CASE_ID=rseq_param_test_mm_cid_compare_twice RESULT=fail>
[   56.755327] <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)
rseq_param_test_mm_cid_compare_twice fail

rseq_param_test_mm_cid_compare_twice fail

exit=134timeout set to 0
selftests: rseq: syscall_errors_test
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 = EINVAL)
rseq_param_test_mm_cid_compare_twice fail

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 = EINVAL)
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)
rseq_param_test_mm_cid_compare_twice fail

[   44.910640] <LAVA_SIGNAL_STARTTC rseq_param_test_mm_cid_compare_twice>
[   44.913255] <LAVA_SIGNAL_ENDTC rseq_param_test_mm_cid_compare_twice>
[   44.924259] <LAVA_SIGNAL_TESTCASE TEST_CASE_ID=rseq_param_test_mm_cid_compare_twice RESULT=fail>
[   44.930412] <LAVA_SIGNAL_STARTTC rseq_syscall_errors_test>
[   44.933017] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
[   44.944112] <LAVA_SIGNAL_TESTCASE TEST_CASE_ID=rseq_syscall_errors_test RESULT=fail>
rseq_param_test_mm_cid_compare_twice fail

[   28.466339] <LAVA_SIGNAL_TESTCASE TEST_CASE_ID=rseq_param_test_mm_cid_compare_twice RESULT=fail>
rseq_param_test_mm_cid_compare_twice fail

[  133.494422] <LAVA_SIGNAL_STARTTC rseq_param_test_mm_cid_compare_twice>
exit=139timeout set to 0
selftests: rseq: syscall_errors_test
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 = EINVAL)
[  133.503820] <LAVA_SIGNAL_ENDTC rseq_param_test_mm_cid_compare_twice>
[  133.530244] <LAVA_SIGNAL_TESTCASE TEST_CASE_ID=rseq_param_test_mm_cid_compare_twice RESULT=fail>
[  133.555946] <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)
[  133.565705] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
[  133.592263] <LAVA_SIGNAL_TESTCASE TEST_CASE_ID=rseq_syscall_errors_test RESULT=fail>
[  133.645903] <LAVA_SIGNAL_TESTCASE TEST_CASE_ID=rseq_run_syscall_errors_test_sh RESULT=pass>
+ set +x
[  133.650561] <LAVA_SIGNAL_ENDRUN 0_kselftest-rseq 1_1.1.3.1>
<LAVA_TEST_RUNNER EXIT>
rseq_param_test_mm_cid_compare_twice fail

[  164.003440] <LAVA_SIGNAL_STARTTC rseq_param_test_mm_cid_compare_twice>
exit=134timeout set to 0
selftests: rseq: syscall_errors_test
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 = EINVAL)
[  164.012936] <LAVA_SIGNAL_ENDTC rseq_param_test_mm_cid_compare_twice>
rseq_param_test_mm_cid_compare_twice fail

<8>[   38.934609] <LAVA_SIGNAL_STARTTC rseq_param_test_mm_cid_compare_twice>
exit=134timeout set to 0
selftests: rseq: syscall_errors_test
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 = EINVAL)
<8>[   38.948390] <LAVA_SIGNAL_ENDTC rseq_param_test_mm_cid_compare_twice>
rseq_param_test_mm_cid_compare_twice fail

<8>[   38.438683] <LAVA_SIGNAL_STARTTC rseq_param_test_mm_cid_compare_twice>
exit=134timeout set to 0
selftests: rseq: syscall_errors_test
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 = EINVAL)
<8>[   38.452477] <LAVA_SIGNAL_ENDTC rseq_param_test_mm_cid_compare_twice>
rseq_param_test_mm_cid_compare_twice fail

<8>[   37.032116] <LAVA_SIGNAL_STARTTC rseq_param_test_mm_cid_compare_twice>
exit=134timeout set to 0
selftests: rseq: syscall_errors_test
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 = -1, errno = EBUSY)
<8>[   37.046365] <LAVA_SIGNAL_ENDTC rseq_param_test_mm_cid_compare_twice>
rseq_param_test_mm_cid_compare_twice fail

<8>[   46.373342] <LAVA_SIGNAL_STARTTC rseq_param_test_mm_cid_compare_twice>
exit=139timeout set to 0
selftests: rseq: syscall_errors_test
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 = EINVAL)
rseq_param_test_mm_cid_compare_twice fail

<8>[   36.896968] <LAVA_SIGNAL_STARTTC rseq_param_test_mm_cid_compare_twice>
exit=139timeout set to 0
selftests: rseq: syscall_errors_test
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 = EINVAL)
<8>[   36.912927] <LAVA_SIGNAL_ENDTC rseq_param_test_mm_cid_compare_twice>
rseq_param_test_mm_cid_compare_twice fail

rseq_param_test_mm_cid_compare_twice fail

Registration with invalid flag fails with errno set to EINVAL (ret = -1, errno = EINVAL)[   54.507967] <LAVA_SIGNAL_ENDTC rseq_param_test_mm_cid_compare_twice>

rseq_param_test_mm_cid_compare_twice fail

rseq_param_test_mm_cid_compare_twice fail

exit=139timeout [   84.462012] <LAVA_SIGNAL_ENDTC rseq_param_test_mm_cid_compare_twice>
set to 0
selftests: rseq: syscall_errors_test
Registration with invalid flag fails with errno set to EINVAL (ret = -1, errno = EINVAL)
rseq_param_test_mm_cid_compare_twice fail

Registration with invalid flag fails with errno set to EINVAL (ret = -1, errno = EINVAL)
rseq_param_test_mm_cid_compare_twice fail