• 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: Problem within a MoreSecurity helper tool
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem within a MoreSecurity helper tool


  • Subject: Re: Problem within a MoreSecurity helper tool
  • From: John Andersson <email@hidden>
  • Date: Fri, 23 Apr 2004 13:43:45 +0200

I'd be a little more worried about this, especially in a security-related code. Can you set a breakpoint in MoreSecExecuteRequestInHelperTool on the line:

if (fdChild != -1) {

I didnt manage to get my debugger to stop at that breakpoint, but I printed each error to "stderr", and found out that -108 is coming from:

// Read the response back from the child.

if (err == noErr) {
err = CopyDictionaryFromDescriptor(fdParent, response);
}

I know too little of this too figure it out...
Does execl print its output to the helpertools "stdout", messing up the "response" dict in MoreSecExecuteRequestInHelperTool?
If thats the case, is there a way to make execl print to "sterr" instead?

Brg
/John
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Problem within a MoreSecurity helper tool
      • From: Quinn <email@hidden>
References: 
 >MoreIsBetter MoreBacktrace.c Problem (From: OL&L Lists <email@hidden>)
 >Re: MoreIsBetter MoreBacktrace.c Problem (From: Quinn <email@hidden>)
 >Problem within a MoreSecurity helper tool (From: John Andersson <email@hidden>)
 >Re: Problem within a MoreSecurity helper tool (From: Quinn <email@hidden>)
 >Re: Problem within a MoreSecurity helper tool (From: John Andersson <email@hidden>)
 >Re: Problem within a MoreSecurity helper tool (From: Quinn <email@hidden>)

  • Prev by Date: Re: Temporarily setting DNS servers
  • Next by Date: Re: Problem within a MoreSecurity helper tool
  • Previous by thread: Re: Problem within a MoreSecurity helper tool
  • Next by thread: Re: Problem within a MoreSecurity helper tool
  • Index(es):
    • Date
    • Thread