Re: [PATCH 2/2] Kprobes: Move kprobes examples to samples/

From: Abhishek Sagar
Date: Tue Feb 05 2008 - 00:36:35 EST


On 2/5/08, Ananth N Mavinakayanahalli <ananth@xxxxxxxxxx> wrote:

> + * Build and insert the kernel module as done in the kprobe example.
> + * You will see the trace data in /var/log/messages and on the console
> + * whenever sys_open() returns a negative value.

A passing observation...."sys_open" should be replaced with "do_fork",
whose return value is not checked at all.

--
Regards,
Abhishek
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/