[PATCH 2/3] remove verify_area() - remove or edit references to verify_area in Documentation/

From: Jesper Juhl
Date: Mon Aug 29 2005 - 16:27:42 EST



Remove (or edit) remaining references to the now dead verify_area() function
from files in Documentation/.

Signed-off-by: Jesper Juhl <jesper.juhl@xxxxxxxxx>
---

Documentation/cdrom/sonycd535 | 3 ++-
Documentation/exception.txt | 2 +-
Documentation/feature-removal-schedule.txt | 8 --------
3 files changed, 3 insertions(+), 10 deletions(-)

diff -upr -X ./linux-2.6.13/Documentation/dontdiff linux-2.6.13-orig/Documentation/feature-removal-schedule.txt linux-2.6.13/Documentation/feature-removal-schedule.txt
--- linux-2.6.13-orig/Documentation/feature-removal-schedule.txt 2005-08-29 01:41:01.000000000 +0200
+++ linux-2.6.13/Documentation/feature-removal-schedule.txt 2005-08-29 03:37:36.000000000 +0200
@@ -74,14 +74,6 @@ Who: Paul E. McKenney <paulmck@xxxxxxxxx

---------------------------

-What: remove verify_area()
-When: July 2006
-Files: Various uaccess.h headers.
-Why: Deprecated and redundant. access_ok() should be used instead.
-Who: Jesper Juhl <juhl-lkml@xxxxxx>
-
----------------------------
-
What: IEEE1394 Audio and Music Data Transmission Protocol driver,
Connection Management Procedures driver
When: November 2005
diff -upr -X ./linux-2.6.13/Documentation/dontdiff linux-2.6.13-orig/Documentation/cdrom/sonycd535 linux-2.6.13/Documentation/cdrom/sonycd535
--- linux-2.6.13-orig/Documentation/cdrom/sonycd535 2005-08-29 01:41:01.000000000 +0200
+++ linux-2.6.13/Documentation/cdrom/sonycd535 2005-08-29 03:36:21.000000000 +0200
@@ -68,7 +68,8 @@ it a better device citizen. Further tha
Porfiri Claudio <C.Porfiri@xxxxxxxxxxxxxxxxxxxxx> for patches
to make the driver work with the older CDU-510/515 series, and
Heiko Eissfeldt <heiko@xxxxxxxxxxxxxxxxxx> for pointing out that
-the verify_area() checks were ignoring the results of said checks.
+the verify_area() checks were ignoring the results of said checks
+(note: verify_area() has since been replaced by access_ok()).

(Acknowledgments from Ron Jeppesen in the 0.3 release:)
Thanks to Corey Minyard who wrote the original CDU-31A driver on which
diff -upr -X ./linux-2.6.13/Documentation/dontdiff linux-2.6.13-orig/Documentation/exception.txt linux-2.6.13/Documentation/exception.txt
--- linux-2.6.13-orig/Documentation/exception.txt 2005-08-29 01:41:01.000000000 +0200
+++ linux-2.6.13/Documentation/exception.txt 2005-08-29 03:37:19.000000000 +0200
@@ -7,7 +7,7 @@ To protect itself the kernel has to veri

In older versions of Linux this was done with the
int verify_area(int type, const void * addr, unsigned long size)
-function.
+function (which has since been replaced by access_ok()).

This function verified that the memory area starting at address
addr and of size size was accessible for the operation specified



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/