LWN.net Logo

remove verify_area()

From:  Jesper Juhl <jesper.juhl@gmail.com>
To:  Andrew Morton <akpm@osdl.org>
Subject:  [PATCH 0/3] remove verify_area()
Date:  Mon, 29 Aug 2005 23:23:59 +0200
Cc:  "linux-kernel" <linux-kernel@vger.kernel.org>, Chris Zankel <zankel@tensilica.com>

Andrew, 
	it's time to kill off verify_area().

	verify_area() has been deprecated for quite a while now and is 
documented in Documentation/feature-removal-schedule.txt as going away in 
July 2005.
It is completely replaced by access_ok() and there are no in-kernel users
left [1]. It's time for verify_area() to die.

	The following 3 patches remove verify_area() itself as well as 
remove or modify some documentation related to it.


 1 - remove verify_area() from various uaccess.h headers
 2 - remove or edit references to verify_area in Documentation/
 3 - remove fs/umsdos/notes as it only contain a verify_area related note

 note: I only have access to i386 hardware, so that's all I've been able to
       test on, but since there are no users of this left and the patch just
       remove the unused function, there should really not be any trouble.


[1] The Xtensa architecture was merged post the big verify_area() to 
    access_ok() cleanup I did some months back and is still using 
    verify_area(). I've submitted sepperate cleanup patches to get rid of 
    it from Xtensa to Chris Zankel and they should flow your way eventually.
    These 3 patches therefore leave Xtensa alone.


-- 
 Jesper Juhl

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

Copyright © 2005, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.