Matt Jacob
785b6ccaec
Don't get stuck in a loop calling exit from an atexit routine. Clean
...
up cam_fill_ctio usage to passed atio flags. Clear periph_priv area
of new ctio so if the kernel is dumb enough to look at them (this is
a SECURITY hole) the panic will be obvious instead of subtle.
2000-07-18 04:39:36 +00:00
Matt Jacob
e2dc1289d2
Clean up after oneself on exit.
2000-07-17 02:05:45 +00:00
Matt Jacob
bf43e4b847
Whoops- more changes in last checkin than TARGIODEBUG-
...
some additional TARGIOCCLEAREXCEPTION ioctls added as
needed.
Obtained from: gibbs@freebsd.org
2000-07-14 20:30:28 +00:00
Matt Jacob
97188b54ce
Make use of the new TARGIODEBUG ioctl (i.e., add an option for it's use).
2000-07-14 20:26:59 +00:00
Peter Wemm
7f3dea244c
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
Justin T. Gibbs
8760939718
Add a cleanup handler called "atexit" to make sure we free up target
...
mode instances.
Print out exception information passed out from the kernel target mode
driver to this userland daemon.
1999-08-16 22:52:17 +00:00
Justin T. Gibbs
b3fae35ce8
Allocate a target mode instance to handle our target mode session, clean
...
it up on exit. The address for attaching the emulator (path, target id,
lun) is now specified on the command line. Some attempt at cathing
signals and cleaning up target mode instances is now made.
1999-03-05 23:12:02 +00:00
Justin T. Gibbs
bb4f7bfdbf
Remove debugging printfs.
1998-12-10 04:00:03 +00:00
Justin T. Gibbs
9875eecf53
SCSI Target userland process example. Provides/Dumps the data related to
...
RECEIVE/SEND processor target requests to the "targ" sample target mode
driver.
1998-09-15 06:46:32 +00:00