copy_to_user() //
include/asm-i386/uaccess.h
__generic_copy_to_user() // arch/i386/lib/usercopy.c
access_ok()
Furthermore, this is the only routine in module.c
which has this access_ok() check.
Chris Sears
dbsears@ix.netcom.com
--- module.c~ Sun Dec 12 20:21:09 1999
+++ module.c Sun Dec 12 20:21:19 1999
@@ -558,9 +558,6 @@
if (space > bufsize)
goto calc_space_needed;
- if (!access_ok(VERIFY_WRITE, buf, space))
- return -EFAULT;
-
bufsize -= space;
vals = (unsigned long *)buf;
strings = buf+space;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/