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