Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2004 12:55:08 -0600
From:      "Jacques A. Vidrine" <nectar@FreeBSD.org>
To:        Roman Bogorodskiy <bogorodskiy@inbox.ru>
Cc:        Toni Andjelkovic <toni@soth.at>
Subject:   Re: kernel modules programming: struct proc question
Message-ID:  <20040317185508.GC37165@madman.celabo.org>
In-Reply-To: <20040317183639.GA635@lame.novel.ru>
References:  <20040316163956.GD638@lame.novel.ru> <20040316181307.GA6576@tv.soth.at> <20040317142451.GC2506@lame.novel.ru> <opr40hacqdcpfy5d@mail.latnet.lv> <20040317154530.GD6576@tv.soth.at> <20040317175340.GA88110@madman.celabo.org> <20040317183639.GA635@lame.novel.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 17, 2004 at 09:36:39PM +0300, Roman Bogorodskiy wrote:
> static int 
> new_open(struct proc *p, register struct open_args *uap)

Er, the first argument passed to a system call in 5.x is a `struct
thread', not a `struct proc'.

Cheers,
-- 
Jacques Vidrine / nectar@celabo.org / jvidrine@verio.net / nectar@freebsd.org



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