Skip to content

How a program in user mode calls the kernel tests defined in module. #403

Answered by mtijanic
wenhaopang asked this question in Q&A
Discussion options

You must be logged in to vote

Through ioctl(). The uvm_ioctl() function lists all the valid production level ioctl codes that can be made, and then it falls through to uvm_test_ioctl() which will only run the tests if the module param was specified.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wenhaopang
Comment options

Answer selected by mtijanic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants