<div>A lot of times operating systems don't allow gdb (and other programs using the same techniques) to attach to running suid programs, or other programs running with privs, to prevent them from being abused for security breaches (and very difficult to find/detect ones at that).  This is true even for the root user on some systems.</div>
<div><br></div><div>I believe on Mac this can be worked around, using the codesign program that comes with developer tools, but I am not certain of that... this is a fairly recent thing.</div><div><br></div><div>It really isn't about GPL or any other random anti-freedom thing -- its just about being careful of random code execution. Keep in mind that if it was a windows virus you would be ranting about how they shouldn't just trust arbitrary code, and security this and that with no thoughts of freedom implications.</div>
<div><br></div><div>Regards,</div><div>Erich</div><div><br></div><div><div class="gmail_quote">On Wed, Jul 6, 2011 at 6:58 AM, Stewart Dickson <span dir="ltr"><<a href="mailto:MathArt@emsh.calarts.edu">MathArt@emsh.calarts.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><u></u>

  

    
  
  <div bgcolor="#ffffff" text="#000000">
    OK, this one takes the cake.  Why the Apple Intel Mac truly is evil.<br>
    <blockquote type="cite"><a href="http://www.gnu.org/software/gdb" target="_blank">GDB</a>
      is free software, covered by the GNU General Public License</blockquote>
    ...<br>
    <blockquote type="cite">This <a href="http://www.gnu.org/software/gdb" target="_blank">GDB</a> was configured as
      "x86_64-apple-darwin"...</blockquote>
    ...<br>
    <blockquote type="cite">(<a href="http://www.gnu.org/software/gdb" target="_blank">gdb</a>)
      run ...</blockquote>
    <blockquote type="cite">We need authorization from an admin user to
      run the debugger.<br>
    </blockquote>
    WTF?!!!!<br>
    <blockquote type="cite">Admin username (dickson): <br>
      Password:<br>
      Unable to find Mach task port for process-id 9495: (os/kern)
      failure (0x5).<br>
      (<a href="http://www.gnu.org/software/gdb" target="_blank">gdb</a>)</blockquote>
    You suck!<br>
    <br>
    "Slavery is freedom" -- George Orwell, "1984"<br>
    "The cake is a lie" -- "Portal"<br>
    <br>
    <br>
    <br>
    <br>
  </div>

<br>_______________________________________________<br>
Imc-makerspace mailing list<br>
<a href="mailto:Imc-makerspace@lists.chambana.net">Imc-makerspace@lists.chambana.net</a><br>
<a href="http://lists.chambana.net/mailman/listinfo/imc-makerspace" target="_blank">http://lists.chambana.net/mailman/listinfo/imc-makerspace</a><br>
<br></blockquote></div><br></div>