Can any body tell where is the proc directory structure in Darwin kernel .... which store all the process information ..... one more silly question : does darwin support khook_create ??? to hook kernel calls ... is there any work around ? Many Thanx Deepak -----Original Message----- From: darwin-kernel-request@lists.apple.com [mailto:darwin-kernel-request@lists.apple.com] Sent: Wednesday, January 08, 2003 11:32 AM To: darwin-kernel@lists.apple.com Subject: darwin-kernel digest, Vol 2 #198 - 3 msgs Send darwin-kernel mailing list submissions to darwin-kernel@lists.apple.com To subscribe or unsubscribe via the World Wide Web, visit http://www.lists.apple.com/mailman/listinfo/darwin-kernel or, via email, send a message with subject or body 'help' to darwin-kernel-request@lists.apple.com You can reach the person managing the list at darwin-kernel-admin@lists.apple.com When replying, please edit your Subject line so it is more specific than "Re: Contents of darwin-kernel digest..." Today's Topics: 1. AUTORUN ON MAC OS X! (Rodrigo =?ISO-8859-1?B?wQ==?=vila) 2. Trap manager (Deepak Kumar Singh) 3. Re: Trap manager (Brian Bergstrand) --__--__-- Message: 1 Date: Wed, 08 Jan 2003 01:44:50 -0200 Subject: AUTORUN ON MAC OS X! From: Rodrigo =?ISO-8859-1?B?wQ==?=vila <darwinpowered@yahoo.com.br> To: <darwinos-users@lists.apple.com> CC: <darwin-kernel@lists.apple.com>, <darwin-userlevel@lists.apple.com> Hi!!! is there anyway to create autorun CDs on Mac OS X?! thanks Rodrigo. _______________________________________________________________________ Busca Yahoo! O melhor lugar para encontrar tudo o que vocj procura na Internet http://br.busca.yahoo.com/ --__--__-- Message: 2 From: Deepak Kumar Singh <DKSingh@quark.co.in> To: darwin-kernel@lists.apple.com Subject: Trap manager Date: Wed, 8 Jan 2003 09:40:15 +0530 Hi , I am trying to play with darwin kernel.... in MAC OS X onwards Trap manager is not available .... is there any mechanism to get system menu handle from kernel extension ??? this code is obsolete in MAC OS X /***********************************************/ gOldDrawMenuBar = GetToolTrapAddress(_DrawMenuBar); SetToolTrapAddress((ProcPtr)MyDrawMenuBar,_DrawMenuBar); /***********************************************/ If any body know the solution ..please let me know... another problem is to load a dynamic link library in third party application ???? any solution is welcome ... many thanx in advance Regards Deepak --__--__-- Message: 3 Date: Tue, 7 Jan 2003 22:41:36 -0600 Subject: Re: Trap manager Cc: darwin-kernel@lists.apple.com To: Deepak Kumar Singh <DKSingh@quark.co.in> From: Brian Bergstrand <brian@classicalguitar.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, January 7, 2003, at 10:10 PM, Deepak Kumar Singh wrote:
Hi ,
I am trying to play with darwin kernel....
in MAC OS X onwards Trap manager is not available ....
is there any mechanism to get system menu handle from kernel extension
???
this code is obsolete in MAC OS X
/***********************************************/
gOldDrawMenuBar = GetToolTrapAddress(_DrawMenuBar);
SetToolTrapAddress((ProcPtr)MyDrawMenuBar,_DrawMenuBar);
/***********************************************/
If any body know the solution ..please let me know...
another problem is to load a dynamic link library in third party
application
????
any solution is welcome ...
There are NO, repeat NO UI elements in the kernel. All UI elements are handled by userland applications (WindowServer, and the various drawing frameworks). So accessing these elements is next to impossible in kernel. Finally, there really are no "system globals" in the sense of OS 9. A lot of things that we're globals are now process specific, and those that are still globals (through shared mem. or something else) are not easily accessible. Sorry to rain on your parade, but all of the OS 9 crap was left behind for stability in OS X, and I for one am glad that it was. Brian Bergstrand <http://www.classicalguitar.net/brian/> PGP Key ID: 0xB6C7B6A2 We learn wisdom from failure much more than from success. - Samuel Smiles -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 iQA/AwUBPhud9nnR2Fu2x7aiEQLfKwCfbe4HXjbQjJn6EAQeYTmscldy6gYAoLuW aG4PUmOOsgV0hLD2dxjTLIEH =AykF -----END PGP SIGNATURE----- --__--__-- _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored. End of darwin-kernel Digest _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.