RE: Macos notarization and "Unkown signal" on macos
"Willgerodt, Felix" <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <ABF812961F2D9841891E5C7F6E5F559C8BF3B9@IRSMSX106.ger.corp.intel.com> |
Sorry for not responding earlier, but I was out sick the last weeks. I intentionally copied some lines to make it easier to find the relevant part in the LLDB source code, just in case anyone else wants to dig deeper. Macos documentation on this is unfortunately rather sparse, so every bit helps IMO. I know that this would cause legal issues, which is why I only posted my findings here and not in the patches mailing list. My intention was to start a discussion on how to solve the problem, not to get this patch accepted. I am confident that we can come up with a patch that doesn't infringe any copyright. 90% of the patch are "normal" system calls anyway. Felix -----Original Message----- From: Eli Zaretskii [mailto:[email protected]] Sent: Wednesday, September 4, 2019 5:02 PM To: Willgerodt, Felix <[email protected]> Cc: [email protected] Subject: Re: Macos notarization and "Unkown signal" on macos > From: Felix Willgerodt <[email protected]> > Date: Wed, 4 Sep 2019 16:32:12 +0200 > > * darwin_attach_pid(): Added a loop that tries task_for_pid() 10 times, > sleeping 10000 usec inbetween. This change was inspired by LLDB and > seems to be necessary for the hardened runtime. > * darwin_ptrace_me(): Changed the process group setting to occour after > the ptrace calls (inspired by LLDB) > * darwin_ptrace_him(): Set the child process group to match its pid > (inspired by LLDB) Bother: could "inspired by LLDB" mean that the code was copied from there? This could mean legal problems if we accept such code. IOW, how much of the code is actually your own original code? Intel Deutschland GmbH Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928