Hi,
> Well filtering that out can be done quite easily in a pure C daemon.
Only if you can really handle the load. When you get dropped messages
you can't just filter out what you want, you still might have lost
some.

> well, not really, if you scan through memory for \n, replace it with \0,
> do the system call and add +1 to the buffer you'll scan.  And then
> simply do a break on \0 found instead of \n.

On a read-only mmap? I don't have a buffer! (well, I do, thats why I
have one memcpy - I copy the filename to my buffer and append a \0)

best regards,
Erich Schubert
--
    erich@(mucl.de|debian.org)      --      GPG Key ID: 4B3A135C    (o_
  To understand recursion you first need to understand recursion.   //\
  Wo befreundete Wege zusammenlaufen, da sieht die ganze Welt für   V_/_
        eine Stunde wie eine Heimat aus. --- Herrmann Hesse

_______________________________________________
initscripts-ng-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/initscripts-ng-devel

Reply via email to