Date: Thu, 5 Nov 1998 00:34:11 -0500 (EST) From: Luoqi Chen <luoqi@watermarkgroup.com> To: freebsd-hackers@FreeBSD.ORG, ncb05@uow.edu.au Subject: Re: NDINIT probs Message-ID: <199811050534.AAA19223@lor.watermarkgroup.com>
next 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); ^^^^^^^^^^^^^ ^^^^^^^^^ p->p_comm is in kernel space, use UIO_SYSSPACE instead. > 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? > > Cheers, > Nick > > -- > Email: ncb05@uow.edu.au - http://rabble.uow.edu.au/~nick > Key fingerprint = DE 30 33 D3 16 91 C8 8D A7 F8 70 03 B7 77 1A 2A > 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?199811050534.AAA19223>