kernel modules programming: struct proc question

Jacques A. Vidrine nectar at FreeBSD.org
Wed Mar 17 10:55:11 PST 2004


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 at celabo.org / jvidrine at verio.net / nectar at freebsd.org


More information about the freebsd-hackers mailing list