Re: Idea for new kernel driver

Alexander_Maryanchick%STORACTIVE@storactive.com
Thu, 24 Jun 1999 13:57:42 +0400


> A friend and I were discussing (on IRC, of course), the various flaws
> in the design of the UNIX operating system and how they might be
addressed. We
> both agreed that what would be really useful would be a device that
monitors
> files for changes. For example, a process writes to /dev/foobar the name
of a
> file, then whenever that file has a write or lock operating performed on
it, the
> process is notified with the name of the file and what operation was
performed.

I had recently posted the "interceptors" patch for 2.3.8
In the curent version (0.3) you can intercept:
- character devices,
- block devices (file operations only, sorry),
- system calls.
You can safely intercept the 'write' system call and filter it.

Is it what you need?
What other typer of interceptors do you need first of all?

Best regards.
Alexander.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/