From owner-freebsd-hackers Thu Apr 13 6:21:17 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from facmail.cc.gettysburg.edu (facmail.gettysburg.edu [138.234.4.150]) by hub.freebsd.org (Postfix) with ESMTP id 7932237B598 for ; Thu, 13 Apr 2000 06:21:13 -0700 (PDT) (envelope-from s467338@gettysburg.edu) Received: from jupiter2 (jupiter2 [138.234.4.6]) by facmail.cc.gettysburg.edu (8.9.3/8.9.3) with SMTP id JAA23283 for ; Thu, 13 Apr 2000 09:21:11 -0400 (EDT) Date: Thu, 13 Apr 2000 09:21:08 -0400 (EDT) From: Andrew Reiter X-Sender: s467338@jupiter2 To: freebsd-hackers@freebsd.org Subject: copyin() return val 14 (EINVAL). Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I semi-talked with Alfred Perlstein about this on IRC.... I keep getting a return value of 14 (EINVAL) when I call copyin(). While issue may be my fault, that is not the issue... the issue is that atleast in the main page, it's undocumented. After randomly finding a man page in digital unix (iirc), I remember it stating that when EINVAL is returned it means that the userland pointer that is passed to copyin() is invalid, or.. (forgive me for lack of remembering) "something" does not have rights to access "something." Sorry for the ambiguity on the latter. Anyway, Im not sure if that was just a mistake on not including it in the man page, or whether Im missing something. Also, Im wondering anyone would like to take a stab at why exactly Im always getting EINVAL... no matter what I do in the code. If you'd like to help, just drop me a line and I'll send you source. Thanks, Andrew --------------------------------------------------------- Andrew Reiter Computer Security Engineer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message