VERIFY_AREA

Section: (9)
Updated: 09 April 2004
Index Return to Main Contents

 

NAME

verify_area - Obsolete, use access_ok  

SYNOPSIS

int verify_area (int type, const void __user * addr, unsigned long size);  

ARGUMENTS

type
Type of access: VERIFY_READ or VERIFY_WRITE
addr
User space pointer to start of block to check
size
Size of block to check
 

CONTEXT

User context only. This function may sleep.  

DESCRIPTION

This function has been replaced by access_ok.

Checks if a pointer to a block of memory in user space is valid.

Returns zero if the memory block may be valid, -EFAULT if it is definitely invalid.

See access_ok for more details.  

ABOUT THIS DOCUMENT

This documentation was generated with kernel version 2.6.0.


 

Index

NAME
SYNOPSIS
ARGUMENTS
CONTEXT
DESCRIPTION
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 12:49:39 GMT, April 09, 2004