How a program in user mode calls the kernel tests defined in module. #403
Answered
by
mtijanic
wenhaopang
asked this question in
Q&A
-
How a program in user mode calls the kernel tests defined in module.
|
Beta Was this translation helpful? Give feedback.
Answered by
mtijanic
Nov 11, 2022
Replies: 1 comment 1 reply
-
Through |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mtijanic
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Through
ioctl()
. Theuvm_ioctl()
function lists all the valid production level ioctl codes that can be made, and then it falls through touvm_test_ioctl()
which will only run the tests if the module param was specified.