M7350/kernel/lib/usercopy.c

10 lines
197 B
C
Raw Permalink Normal View History

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);