criu/compel/arch
Adrian Reber 97a9985673 compel: set mxcsr during error injection to zero
During error injection tests there are random values loaded in some of
the registers. The kernel, however, has the following check:

    if (mxcsr[0] & ~mxcsr_feature_mask)
        return -EINVAL;

So depending on the random values loaded mxcsr might have values that
the kernel rejects with EINVAL. Setting mxcsr to zero during the tests
lets the error injection test pass.

Signed-off-by: Adrian Reber <areber@redhat.com>
2022-04-28 17:53:52 -07:00
..
aarch64 clang-format: do automatic comment fixups 2022-04-28 17:53:52 -07:00
arm clang-format: do automatic comment fixups 2022-04-28 17:53:52 -07:00
mips clang-format: do automatic comment fixups 2022-04-28 17:53:52 -07:00
ppc64 clang-format: do automatic comment fixups 2022-04-28 17:53:52 -07:00
s390 clang-format: do automatic comment fixups 2022-04-28 17:53:52 -07:00
x86 compel: set mxcsr during error injection to zero 2022-04-28 17:53:52 -07:00