• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: intercepting system calls works on tiger(10.4.5) but not on panther(10.3.9)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: intercepting system calls works on tiger(10.4.5) but not on panther(10.3.9)


  • Subject: Re: intercepting system calls works on tiger(10.4.5) but not on panther(10.3.9)
  • From: "Peter O'Gorman" <email@hidden>
  • Date: Thu, 18 May 2006 22:05:45 +0900

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

Attachment: signature.asc
Description: This is a digitally signed message part

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >hi, (From: "Puthali H.B" <email@hidden>)
 >intercepting system calls works on tiger(10.4.5) but not on panther(10.3.9) (From: "Puthali H.B" <email@hidden>)
 >Re: intercepting system calls works on tiger(10.4.5) but not on panther(10.3.9) (From: "Peter O'Gorman" <email@hidden>)
 >Re: intercepting system calls works on tiger(10.4.5) but not on panther(10.3.9) (From: "Puthali H.B" <email@hidden>)
 >Re: intercepting system calls works on tiger(10.4.5) but not on panther(10.3.9) (From: "Peter O'Gorman" <email@hidden>)
 >Re: intercepting system calls works on tiger(10.4.5) but not on panther(10.3.9) (From: "Puthali H.B" <email@hidden>)

  • Prev by Date: Re: Experiencing build issues with some libraries
  • Next by Date: Re: MacCentral Post
  • Previous by thread: Re: intercepting system calls works on tiger(10.4.5) but not on panther(10.3.9)
  • Next by thread: Experiencing build issues with some libraries
  • Index(es):
    • Date
    • Thread