testing a new system call written for UML
- You can write user-level program to test the new system call. You have to compile the test-program with –static and “–I /class/cs153/
/linux-2.4.23/include” flags. You have to compile this program on your host machine instead of “inside UML” (virtual machine). - Mount your host file system /home and /class file system inside UML as explained in the FAQ page.
- Run the test-program binary inside UML.
- You should see all the “printk” outputs on your console and it should display the correct time in the format as specified by your test-program.
0 Comments:
Post a Comment
<< Home