Subject: LIST_INIT missing from kern_subr hooks?
To: None <tech-kern@netbsd.org>
From: Peter Bex <Peter.Bex@student.kun.nl>
List: tech-kern
Date: 02/17/2005 10:40:43
--XsQoSWH+UP9D9v3l
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello list,

I am working on a project in which I need to establish fork- and exithooks.=
  The kernel keeps
crashing in unexpected places, so I am trying to debug it.

While doing so, I noticed that the forkhook_list and exithook_list are not =
LIST_INITed in
kern/kern_subr.c.  Am I misunderstanding things?  I thought LIST_INIT had t=
e be called on lists
before they could be used.

Regards,
Peter
--=20
http://www.student.kun.nl/peter.bex
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
							-- Donald Knuth

--XsQoSWH+UP9D9v3l
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFCFGabLg33BXzVMqsRAupGAJ9mvDEmOBE1OZXgePw7kTJ7jtzQ5gCgwDYv
VLnQrwwPXIsoe/a4OoPVY90=
=wKb2
-----END PGP SIGNATURE-----

--XsQoSWH+UP9D9v3l--