Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Nov 1998 16:56:08 +1100 (EST)
From:      Nicholas Charles Brawn <ncb05@uow.edu.au>
To:        Luoqi Chen <luoqi@watermarkgroup.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re:  NDINIT probs
Message-ID:  <Pine.SOL.4.02A.9811051655370.14930-100000@banshee.cs.uow.edu.au>
In-Reply-To: <199811050534.AAA19223@lor.watermarkgroup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 5 Nov 1998, Luoqi Chen wrote:

: > 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.

Thanks. I'll try that and see if it works.

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?Pine.SOL.4.02A.9811051655370.14930-100000>