Re: Decorating a kernel function

2007-02-21 Thread Tzahi Fadida
On Thursday 22 February 2007 08:25, Shahar Dag wrote: > Hi > > I think that I have a dirty solution (but I must worn you that I am a > programmer, not a Linux expert) > - add global pointer to a function (the type of the function should be the > type of the function you want to call). A more elegan

Re: Decorating a kernel function

2007-02-21 Thread Shahar Dag
Hi I think that I have a dirty solution (but I must worn you that I am a programmer, not a Linux expert) - add global pointer to a function (the type of the function should be the type of the function you want to call). A more elegant way (and more complicated) would be to use non global point

Per process I/O (was Decorating a kernel function).

2007-02-21 Thread Tzahi Fadida
A bit of a followup from my previous question. Are there already solutions to the per process I/O stats? Not that my fun exercises into implementing a better block_dump would be commercial grade (but rather fun grade), however, this is what drove me to this when i was searching for just this tool

Re: PostgresQL database on raw partition (and something about Access conversion)

2007-02-21 Thread Amos Shapira
On 21/02/07, Ira Abramov <[EMAIL PROTECTED]> wrote: Quoting guy keren, from the post of Wed, 21 Feb: > > what? what a mirror is as _slow_ as the _slower_ disk. an I/O > request to the mirror, gets a response only after its clones were > written into both legs of the mirror - not as soon as o

Re: Spam in Wordpress

2007-02-21 Thread Peter
On Wed, 21 Feb 2007, Ira Abramov wrote: Humm, I guess the filter IS really strong. I'm resending, this time acting like a spammer and changing the spelling a bit. :-) Change it a bit more. I found it in the spam bin AGAIN. Now, if you could please stop the silly misuse of the term "Turing t

Re: PostgresQL database on raw partition (and something about Access conversion)

2007-02-21 Thread Ira Abramov
Quoting guy keren, from the post of Wed, 21 Feb: > > what? what a mirror is as _slow_ as the _slower_ disk. an I/O > request to the mirror, gets a response only after its clones were > written into both legs of the mirror - not as soon as one was written. I once did some benchmarks for a cl

Re: Spam in Wordpress

2007-02-21 Thread Ira Abramov
Humm, I guess the filter IS really strong. I'm resending, this time acting like a spammer and changing the spelling a bit. :-) Quoting Peter, from the post of Tue, 20 Feb: > > > >funny, I find Captcha blindly discriminates against humans in general > >:-) > > It depends. no, it annoys. > It's

Re: Decorating a kernel function

2007-02-21 Thread Peter
What you need is to put a trampoline of sorts at the start of the function, this is similar to what kprobe does, the difference would be that kprobe places an int3 and you'll need to place a direct call to your replacing method. At the end of your function you need to call the original method, e

Re: Decorating a kernel function

2007-02-21 Thread Tzahi Fadida
On Wednesday 21 February 2007 15:36, Baruch Even wrote: > > kprobe is what i was looking for. Actually, jprobe so i cal also view the > > function parameters i am attaching to. The problem is that kprobe does > > not appear on the uml(user mode linux) list in menuconfig which probably > > means it

Re: Decorating a kernel function

2007-02-21 Thread Baruch Even
* Tzahi Fadida <[EMAIL PROTECTED]> [070221 15:21]: > On Wednesday 21 February 2007 08:19, Baruch Even wrote: > > * Tzahi Fadida <[EMAIL PROTECTED]> [070221 02:38]: > > I'm not aware of a way to do what you ask (redirect the function to you > > and be able to call it), you can however look at kprobe

Re: Decorating a kernel function

2007-02-21 Thread Tzahi Fadida
On Wednesday 21 February 2007 08:19, Baruch Even wrote: > * Tzahi Fadida <[EMAIL PROTECTED]> [070221 02:38]: > I'm not aware of a way to do what you ask (redirect the function to you > and be able to call it), you can however look at kprobe which is part of > the kernel. kprobe allows you to stick

Re: Spam in Wordpress

2007-02-21 Thread Oded Arbel
On Wed, February 21, 2007 00:44, Uri Even-Chen wrote: > Sorry, mistake. I checked mysql - I have 14731 comments. I was not > aware of the 8731 awaiting moderation comments. The size of the comment > table file is 29 MB. I guess I can delete them directly from mysql. But > first, I need to find