Re: intercepting system calls works on tiger(10.4.5) but not on panther(10.3.9)
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Wed, 2006-05-17 at 23:19 -0600, Puthali H.B wrote:
ok, i'm not very much clear on this, so please pardon, if its very obvious.
Actually I don't use RTLD_NEXT, but rather get a handle for libSystem.dylib using dlopen and use that handle in dlsym. And if I use the resulting function handle from dlsym, shouldn't it call the function from libSystem, rather than my own? as it does in tiger?
Nope, you're forcing flat namespace, so it will still find the first one. I know it's broken, pretty sure that it is documented as broken in the dlopen manpage on panther.
and will try again with syscall, hopefully it will work.
Darn, looks like a bug in dyld, and one that's not likely to ever be fixed. I see the same behavior as you when I continue on and try to login to the ftp server. So, I booted my 10.2 system and tried there, it works on 10.2, and I'd bet that it works on 10.3.x with x < 4. Long story short, you're out of luck on panther :( Peter _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com signature.asc
participants (1)
-
Peter O'Gorman