how to use the function copyout()

Scott Long scottl at samsco.org
Mon Jul 25 23:14:49 GMT 2005


Kamal R. Prasad wrote:

> Im not sure of the bug in your code, but you have got
> to assume that copyout() would fail if the user/kernel
> addr passed to it is not accessible.
> 
> regards
> -kamal
> 

The whole point of copyin and copyout is to deal with copying
to and from user virtual memory that might not be paged in at the
moment.  Your statement thus makes little sense.

Scott



More information about the freebsd-hackers mailing list