From owner-freebsd-questions Sat Nov 3 12:10:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web11104.mail.yahoo.com (web11104.mail.yahoo.com [216.136.131.151]) by hub.freebsd.org (Postfix) with SMTP id 539E437B418 for ; Sat, 3 Nov 2001 12:10:15 -0800 (PST) Message-ID: <20011103201015.34531.qmail@web11104.mail.yahoo.com> Received: from [12.64.6.180] by web11104.mail.yahoo.com via HTTP; Sat, 03 Nov 2001 12:10:15 PST Date: Sat, 3 Nov 2001 12:10:15 -0800 (PST) From: Harry Yeung Subject: soconnect crash To: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have a question about using soconnect in kernel thread context. I tried to use unix domain ipc to communite with user space program. After kthread_start, I created the socket, and then call soconnect. However, kernel crashes in namei, and the trace shows that cur_proc->p_fd.fd_cdir == 0, and cu_proc->p_fd.fd_rdir == 0. Does anyone know how to fix this problem? Thanks. __________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message