Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jul 2005 17:13:40 -0600
From:      Scott Long <scottl@samsco.org>
To:        kamalp@acm.org
Cc:        Felix-KM@yandex.ru, freebsd-hackers@freebsd.org
Subject:   Re: how to use the function copyout()
Message-ID:  <42E57224.4090800@samsco.org>
In-Reply-To: <20050725130528.59033.qmail@web52709.mail.yahoo.com>
References:  <20050725130528.59033.qmail@web52709.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42E57224.4090800>