Stephen Boyd | 446f24d | 2013-04-30 15:28:42 -0700 | [diff] [blame^] | 1 | #include <linux/export.h> |
David S. Miller | fb34035 | 2009-12-10 23:05:23 -0800 | [diff] [blame] | 2 | #include <linux/bug.h> |
Stephen Boyd | 446f24d | 2013-04-30 15:28:42 -0700 | [diff] [blame^] | 3 | #include <linux/uaccess.h> |
David S. Miller | fb34035 | 2009-12-10 23:05:23 -0800 | [diff] [blame] | 4 | |
5 | void copy_from_user_overflow(void) | ||||
6 | { | ||||
7 | WARN(1, "Buffer overflow detected!\n"); | ||||
8 | } | ||||
9 | EXPORT_SYMBOL(copy_from_user_overflow); |