"Watchdogs"

Alex Colvin mac3n at babbage.acc.virginia.edu
Wed Feb 17 00:54:29 AEST 1988


> > for "Watchdogs", [a program]
> > executed when you do a system call that references a
> 
> As a historical note, a similar feature was provided on TOPS-10 (the old
> operating system for DECSystem-10's), called "File Daemons;" maybe

As a further historical note, a similar feature was provided on the old
versions of DTSS, called "slave traps" (master traps were wired into the
kernel).

Slave traps were run when a file was opened and determined access rights.
They could be used to implement ACLs.

The problem was that slave traps could do almost anything.  Severe time limits
had to be imposed against traps that got stuck in loops, hanging the open().
Other traps opened the trapped files, causing an infinite regress.  One
example, "soap", renamed the trapped file, so that it could never be grasped.
Often the system couldn't be shut down cleanly because of processes hung
on trapped opens.

Slave traps were deleted when the kernel was rewritten.



More information about the Comp.unix.wizards mailing list