From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18415 invoked by alias); 4 Sep 2019 15:01:51 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 18391 invoked by uid 89); 4 Sep 2019 15:01:51 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=H*f:sk:49b5919, H*r:142, H*r:sk:RSA_AES, H*r:47600 X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (209.51.188.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 04 Sep 2019 15:01:50 +0000 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47600) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i5Wn3-00016U-Tz; Wed, 04 Sep 2019 11:01:45 -0400 Received: from [176.228.60.248] (port=2595 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1i5Wn1-0005T5-7T; Wed, 04 Sep 2019 11:01:45 -0400 Date: Wed, 04 Sep 2019 15:01:00 -0000 Message-Id: <83k1ao6r71.fsf@gnu.org> From: Eli Zaretskii To: Felix Willgerodt CC: gdb@sourceware.org In-reply-to: <49b5919f-6871-d147-4aa9-5f93bedbe571@intel.com> (message from Felix Willgerodt on Wed, 4 Sep 2019 16:32:12 +0200) Subject: Re: Macos notarization and "Unkown signal" on macos References: <49b5919f-6871-d147-4aa9-5f93bedbe571@intel.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-IsSubscribed: yes X-SW-Source: 2019-09/txt/msg00005.txt.bz2 > From: Felix Willgerodt > 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?