From a1df417e74aa6dae7352dc8cbb0ad471af5b7c69 Mon Sep 17 00:00:00 2001 From: "Michael J. Chudobiak" Date: Mon, 25 Apr 2016 10:00:44 -0400 Subject: initial Olimex linux tree from Daniel, originally Feb 3, 2016 --- linux/lib/usercopy.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 linux/lib/usercopy.c (limited to 'linux/lib/usercopy.c') diff --git a/linux/lib/usercopy.c b/linux/lib/usercopy.c new file mode 100644 index 00000000..4f5b1ddb --- /dev/null +++ b/linux/lib/usercopy.c @@ -0,0 +1,9 @@ +#include +#include +#include + +void copy_from_user_overflow(void) +{ + WARN(1, "Buffer overflow detected!\n"); +} +EXPORT_SYMBOL(copy_from_user_overflow); -- cgit