Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Nov 1998 20:54:59 -0800
From:      Mike Smith <mike@smith.net.au>
To:        Nicholas Charles Brawn <ncb05@uow.edu.au>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: NDINIT probs 
Message-ID:  <199811050454.UAA04156@dingo.cdrom.com>
In-Reply-To: Your message of "Thu, 05 Nov 1998 15:51:57 %2B1100." <Pine.SOL.4.02A.9811051546520.3419-100000@banshee.cs.uow.edu.au> 

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



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