Messages in this thread | | | Date | Mon, 28 Jun 1999 17:01:51 +0200 | From | Pavel Machek <> | Subject | Re: VFS event hooks |
| |
Hi!
> It patches against 2.3.5 and 2.3.8. Currently only ext2fs directories > support inode change events, but it gives you the idea. I considered > hacking do_select() and do_poll() to call vfs_poll() directly, but > that would have introduced more tests to the critical path.
Hmm -- does not this open DoS attack? What about users taking poll at _many_ directories and eating nonswappable ram this way? You seem to need to remember what last poll did, so something like
poll("/usr") poll("/usr/src") poll("/usr/X11")
... here kernel needs to remember what I polled and when, because I c an do
poll("/usr")
again. This seems to me like pretty trivial attach.
I really wonder what right interface is... Pavel -- I'm really pavel@ucw.cz. Look at http://195.113.31.123/~pavel. Pavel Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
- 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/
| |