lkml.org 
[lkml]   [1999]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.082 / U:0.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site