Re(5): Baffled
Re(5): Baffled
- Subject: Re(5): Baffled
- From: Peter Lovell <email@hidden>
- Date: Fri, 14 Feb 2003 13:18:54 -0500
Well, the load process looked OK. It shows that there's a start and a
stop entry point and it did load, obviously.
I noticed the following line ...
>kextload: patching C++ code in module /Volumes/Development/Source
Code/Aladdin
Sources/streamfilter/mac/iclean_kext/build/iCleanSniffer_Debug.kext/
Contents/MacOS/iCleanSniffer_Debug
Did you make sure that the entry-point names are defined as extern "C"
?? They mustn't be mangled so if your source file is C++ then you must
define them with regular C linkage.
As far as permissions and ownership go, it's easiest if you have a
build step which sets it correct. Everything needs to be owned by root,
group wheel. Permissions should be 755 for folders, 644 for files. The
755 for folders is so a non-priv process can navigate there, which I
have to do so that we can verify that the code hasn't been tampered
with. If you don't need to navigate then you could use 644 for
everything.
Regards.....Peter
_______________________________________________
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.