xref: /linux/lib/usercopy.c (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
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