Re: SYSCTL
Re: SYSCTL
- Subject: Re: SYSCTL
- From: Matt Jaffa <email@hidden>
- Date: Sat, 7 Feb 2004 11:16:37 -0700
Thank you,
That was a typo and now it is fixed.
On Feb 7, 2004, at 11:08 AM, Brian Bergstrand wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Feb 7, 2004, at 2:04 AM, Matt Jaffa wrote:
Hi,
I am trying to create my own SYSCTL_NODE and SYSCTL_STRUCT,
so that I can communicate with my KEXT from userland.
But after doing these lines, it compiles fine,
SYSCTL_DECL(_jaffa);
SYSCTL_NODE(, OID_AUTO, _jaffa, CTLFLAG_RW, 0, "Jaffa");
struct sysctl_oid_list sysctlr__jaffa_children;
I see a typo here.
sysctlr__ should be sysctl__.
I suspect this is the cause of your problem.
HTH.
SYSCTL_STRUCT(_jaffa, OID_AUTO, ttttt, CTLFLAG_RW, &so, socket,
"dfdf");
but when I try to load the KEXT it throws this error:
kextload: extension /System/Library/Extensions/EtherView.kext appears
to be valid
kld(): Undefined symbols:
_sysctl__jaffa_children
Brian Bergstrand <http://www.bergstrand.org/brian/>, AIM: triryche206
PGP Key: <http://www.bergstrand.org/brian/misc/public_key.txt>
Maybe this world is another planet's hell. - Aldous Huxley
As of 12:03:13 PM, iTunes is playing "My Wave" from "Superunknown" by
"Soundgarden"
-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.3
iQA/AwUBQCUbinnR2Fu2x7aiEQKysQCeOt0SaIirmjDKuy1sEuIfV1DRFMoAn0//
Pd8P3kKJjEqm8T0Z0gj/rl8z
=b2TN
-----END PGP SIGNATURE-----
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.
References: | |
| >SYSCTL (From: Matt Jaffa <email@hidden>) |