From: "Willgerodt, Felix" <felix.willgerodt@intel.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: RE: Macos notarization and "Unkown signal" on macos
Date: Mon, 16 Sep 2019 08:47:00 -0000 [thread overview]
Message-ID: <ABF812961F2D9841891E5C7F6E5F559C8BF3B9@IRSMSX106.ger.corp.intel.com> (raw)
In-Reply-To: <83k1ao6r71.fsf@gnu.org>
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:eliz@gnu.org]
Sent: Wednesday, September 4, 2019 5:02 PM
To: Willgerodt, Felix <felix.willgerodt@intel.com>
Cc: gdb@sourceware.org
Subject: Re: Macos notarization and "Unkown signal" on macos
> From: Felix Willgerodt <felix.willgerodt@intel.com>
> 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
prev parent reply other threads:[~2019-09-16 8:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-04 14:34 Felix Willgerodt
2019-09-04 15:01 ` Eli Zaretskii
2019-09-16 8:47 ` Willgerodt, Felix [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ABF812961F2D9841891E5C7F6E5F559C8BF3B9@IRSMSX106.ger.corp.intel.com \
--to=felix.willgerodt@intel.com \
--cc=eliz@gnu.org \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox