// SPDX-License-Identifier: GPL-2.0+ /* * Test cases for using floating point operations inside a kernel module. * * This tests kernel_fpu_begin() and kernel_fpu_end() functions, especially * when userland has modified the floating point control registers. The kernel * state might depend on the state set by the userland thread that was active * before a syscall. * * To facilitate the test, this module registers file * /sys/kernel/debug/selftest_helpers/test_fpu, which when read causes a * sequence of floating point operations. If the operations fail, either the * read returns error status or the kernel crashes. * If the operations succeed, the read returns "1\n".
*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.