2024-09-09 08:57:42 +00:00
|
|
|
#include <linux/export.h>
|
2024-09-09 08:52:07 +00:00
|
|
|
#include <linux/bug.h>
|
2024-09-09 08:57:42 +00:00
|
|
|
#include <linux/uaccess.h>
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
void copy_from_user_overflow(void)
|
|
|
|
{
|
|
|
|
WARN(1, "Buffer overflow detected!\n");
|
|
|
|
}
|
|
|
|
EXPORT_SYMBOL(copy_from_user_overflow);
|