badcall.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <html>
  2. <head>
  3. <title>badcall</title>
  4. <body bgcolor=#ffffff>
  5. <h2 align=center>badcall</h2>
  6. <h4 align=center>OS/161 Reference Manual</h4>
  7. <h3>Name</h3>
  8. badcall - make invalid system calls
  9. <h3>Synopsis</h3>
  10. /testbin/badcall [<em>test...</em>]
  11. <h3>Description</h3>
  12. badcall contains a variety of tests for system call error conditions
  13. and error handling. The tests are grouped by system call; all
  14. available tests for a particular system call are run when that system
  15. call is selected.
  16. <p>
  17. None of the tests should crash the system. If you kill processes when
  18. system calls fail with EFAULT (a valid thing to do) badcall itself may
  19. get killed. Otherwise, badcall should not get killed either.
  20. <p>
  21. Tests may be selected on the command line; if so, all the tests
  22. selected on the command line will be run in order. If nothing is
  23. selected on the command line, a menu is printed and tests are prompted
  24. for.
  25. <p>
  26. The tests for the individual syscalls are specified with the letters
  27. `a' through `y'. A single-digit number may also be specified; this
  28. tests all the system calls that are supposed to work once the
  29. corresponding assignment is completed. `*' may be used to test
  30. everything. Use `!' to quit.
  31. <h3>Requirements</h3>
  32. badcall can test every system call. It requires
  33. <A HREF=../syscall/read.html>read</A> and
  34. <A HREF=../syscall/write.html>write</A> itself to work properly, and
  35. some of the tests may use syscalls other than the ones being tested.
  36. <p>
  37. At the completion of each assignment, the system should pass the
  38. tests for the syscalls associated with that (and previous)
  39. assignments. At no time should anything badcall does crash the
  40. system.
  41. </body>
  42. </html>