xref: /linux/lib/usercopy.c (revision 5e8c0fb6a95728b852d56c0a9244425d474670c0)
1 #include <linux/export.h>
2 #include <linux/bug.h>
3 #include <linux/uaccess.h>
4 
5 void copy_from_user_overflow(void)
6 {
7 	WARN(1, "Buffer overflow detected!\n");
8 }
9 EXPORT_SYMBOL(copy_from_user_overflow);
10