2009-12-11 15:05:23 +08:00
|
|
|
#include <linux/module.h>
|
2012-05-24 11:12:50 +08:00
|
|
|
#include <linux/kernel.h>
|
2009-12-11 15:05:23 +08:00
|
|
|
#include <linux/bug.h>
|
|
|
|
|
|
|
|
void copy_from_user_overflow(void)
|
|
|
|
{
|
|
|
|
WARN(1, "Buffer overflow detected!\n");
|
|
|
|
}
|
|
|
|
EXPORT_SYMBOL(copy_from_user_overflow);
|