From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 123119 invoked by alias); 31 Oct 2016 12:11:57 -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 123055 invoked by uid 89); 31 Oct 2016 12:11:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,RCVD_IN_SORBS_SPAM,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=jack, H*UA:3.0.11, H*u:3.0.11, Hx-languages-length:851 X-HELO: smtp3.ugent.be Received: from smtp3.ugent.be (HELO smtp3.ugent.be) (157.193.49.127) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 31 Oct 2016 12:11:55 +0000 Received: from localhost (mcheck3.ugent.be [157.193.71.89]) by smtp3.ugent.be (Postfix) with ESMTP id D72DAEE28E; Mon, 31 Oct 2016 13:11:53 +0100 (CET) Received: from smtp3.ugent.be ([157.193.49.127]) by localhost (mcheck3.ugent.be [157.193.43.11]) (amavisd-new, port 10024) with ESMTP id 7bnyl2mzh29b; Mon, 31 Oct 2016 13:11:53 +0100 (CET) Received: from ponyo.lan (ip-213-49-242-166.dsl.scarlet.be [213.49.242.166]) (Authenticated sender: jmaebe) by smtp3.ugent.be (Postfix) with ESMTPSA id 5E284EE29E; Mon, 31 Oct 2016 13:11:53 +0100 (CET) Message-ID: <58173508.2050003@watlock.be> Date: Mon, 31 Oct 2016 12:11:00 -0000 From: Jonas Maebe User-Agent: Postbox 3.0.11 (Macintosh/20140602) MIME-Version: 1.0 To: Jack Howarth CC: Tristan Gingold , "gdb@sourceware.org" Subject: Re: gdb on macOS 10.12 "Sierra" References: <20161001140850.Horde.5Pxfey2wqn5X76dSpncV3uA@mail.elis.ugent.be> <581730F0.6000106@watlock.be> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-j-chkmail-Auth: USER-ID jmaebe X-j-chkmail-Enveloppe: 58173509.000 from ip-213-49-242-166.dsl.scarlet.be/ip-213-49-242-166.dsl.scarlet.be/213.49.242.166/ponyo.lan/ X-j-chkmail-Score: MSGID : 58173509.000 on smtp3.ugent.be : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Status: Ham X-IsSubscribed: yes X-SW-Source: 2016-10/txt/msg00060.txt.bz2 Jack Howarth wrote: > It has been reported that the hardened security in Sierra requires the > additional step of executing > > csrutil enable --without debug > > from within the Terminal application when booted under the Recovery Partition. > I don't have access to a machine that can run Sierra to verify it though. Yes, someone else on the gdb list also answered that when I asked my original question. However, that does not explain why that is not necessary for a self-built and custom-codesigned lldb/debugserver, as I wrote below: >> I've now tried building lldb, and regardless of whether I use the GDB or >> LLDB-style codesigning certificate to sign debugserver (lldb itself does >> not need codesigning), it works. So it seems like the problem is not >> necessarily related to codesigning per se. Jonas