.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "MOVE_ADDR_TO_KERNEL" "" "06 October 2005" "" "" .SH NAME move_addr_to_kernel \- copy a socket address into kernel space .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int move_addr_to_kernel (void __user * \fIuaddr\fB, int \fIulen\fB, void * \fIkaddr\fB); \fR .SH "ARGUMENTS" .TP \fB\fIuaddr\fB\fR Address in user space .TP \fB\fIulen\fB\fR Length in user space .TP \fB\fIkaddr\fB\fR Address in kernel space .SH "DESCRIPTION" .PP 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.