Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 2004 15:57:34 -0700
From:      David Schultz <das@FreeBSD.ORG>
To:        Tomas Pluskal <plusik@pohoda.cz>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: copyin() EFAULT
Message-ID:  <20040520225734.GA23802@VARK.homeunix.com>
In-Reply-To: <Pine.LNX.4.30L2.0405191350210.2702-100000@pohoda.cz>
References:  <Pine.LNX.4.30L2.0405191350210.2702-100000@pohoda.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 19, 2004, Tomas Pluskal wrote:
> I would like to ask you for help or explanation - why do I get EFAULT when
> invoking copyin() or fubyte() etc. I am writing a kernel module, and I
[...]
> So copying of some blocks was OK, and on some blocks it returned EFAULT.
> Why?

You will get EFAULT when you try to copy pages that are not mapped
in the user process.



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