Messages in this thread |  | | | Date | Tue, 5 Feb 2008 11:06:22 +0530 | | From | "Abhishek Sagar" <> | | Subject | Re: [PATCH 2/2] Kprobes: Move kprobes examples to samples/ |
On 2/5/08, Ananth N Mavinakayanahalli <ananth@in.ibm.com> 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
|  |