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