OSHW-DEIMOS/SOFTWARE/A64-TERES/linux-a64/lib/usercopy.c

10 lines
197 B
C
Raw Permalink Normal View History

2017-10-13 13:07:04 +02:00
#include <linux/export.h>
#include <linux/bug.h>
#include <linux/uaccess.h>
void copy_from_user_overflow(void)
{
WARN(1, "Buffer overflow detected!\n");
}
EXPORT_SYMBOL(copy_from_user_overflow);