Weird symbolic links... (Re: Jerry Pournelle on UNIX (From BYTE))

Peter da Silva peter at sugar.UUCP
Thu Feb 11 14:01:35 AEST 1988


In article <1424 at gumby.mips.COM>, earl at mips.COM (Earl Killian) writes:
> renamings.  The best way to describe ITS translations to the Unix
> community would be to say they were a per-process sed script applied
> to every filename passed to the kernel.  As such you can modify a

For an even more powerful capability, check out the USENIX transcripts
for a hack called "Watchdogs". A watchdog is a program attached to a file
that will be executed when you do a system call that references that
file (or when namei does). This program can let requests default to their
normal behaviour, refuse them, or fill in their own behaviour.

So you can set up a mail daemon by putting a watchdog on /usr/mail/ethel
to snarf up anything written to the file and pass it on to mail.

Or just have "/bin/rm" turned into "bin/rm" under your home directory.
-- 
-- Peter da Silva  `-_-'  ...!hoptoad!academ!uhnix1!sugar!peter
-- Disclaimer: These U aren't mere opinions... these are *values*.



More information about the Comp.unix.wizards mailing list