From owner-freebsd-hackers Wed Nov 4 20:56:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA15575 for freebsd-hackers-outgoing; Wed, 4 Nov 1998 20:56:15 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA15569 for ; Wed, 4 Nov 1998 20:56:13 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id UAA04156; Wed, 4 Nov 1998 20:54:59 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199811050454.UAA04156@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Nicholas Charles Brawn cc: freebsd-hackers@FreeBSD.ORG Subject: Re: NDINIT probs In-reply-to: Your message of "Thu, 05 Nov 1998 15:51:57 +1100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 04 Nov 1998 20:54:59 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > In execve() i'm attempting an operation similar to the following: > > struct nameidata *ndp; > NDINIT(ndp, LOOKUP, NOCACHE, UIO_USERSPACE, p->p_comm, p->p_pptr); > error = namei(ndp) > ... > > I keep getting an error each time i call namei(). Anyone able to hazard > a guess (or know) what I'm doing wrong? Not telling us what the error is? Not checking back through namei() to find out where the error comes from? -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message