MOVE_ADDR_TO_KERNEL

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

move_addr_to_kernel - copy a socket address into kernel space  

SYNOPSIS

"SYNOPSIS"

int move_addr_to_kernel (void __user * uaddr, int ulen, void * kaddr);  

ARGUMENTS

uaddr
Address in user space
ulen
Length in user space
kaddr
Address in kernel space
 

DESCRIPTION

The address is copied into kernel space. If the provided address is too long an error code of -EINVAL is returned. If the copy gives invalid addresses -EFAULT is returned. On a success 0 is returned.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 06:21:00 GMT, October 06, 2005