aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/lib/usercopy.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/lib/usercopy.c')
-rw-r--r--arch/sparc/lib/usercopy.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sparc/lib/usercopy.c b/arch/sparc/lib/usercopy.c
new file mode 100644
index 000000000000..14b363fec8a2
--- /dev/null
+++ b/arch/sparc/lib/usercopy.c
@@ -0,0 +1,8 @@
1#include <linux/module.h>
2#include <linux/bug.h>
3
4void copy_from_user_overflow(void)
5{
6 WARN(1, "Buffer overflow detected!\n");
7}
8EXPORT_SYMBOL(copy_from_user_overflow);