Re: [PATCH] Don't oops when unregistering unknown kprobes

From: Chris Wedgwood
Date: Tue Apr 26 2005 - 14:50:17 EST


On Tue, Apr 26, 2005 at 06:22:03PM +0200, Frederik Deweerdt wrote:

> Here's a patch that handles gracefully attempts to unregister
> unregistered kprobes (ie. a warning message instead of an oops).
> Patch is against 2.6.12-rc3

Why not -EINVAL instead of the printk?
-
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/