From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rock.gnat.com (rock.gnat.com [205.232.38.15]) by sourceware.org (Postfix) with ESMTP id 64ED73851C0D for ; Tue, 18 Aug 2020 16:39:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 64ED73851C0D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=brobecker@adacore.com Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 3BF2D56019; Tue, 18 Aug 2020 12:39:40 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at gnat.com Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id FZdGzO92Jirp; Tue, 18 Aug 2020 12:39:40 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 0CDD556018; Tue, 18 Aug 2020 12:39:40 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 636878340F; Tue, 18 Aug 2020 09:39:38 -0700 (PDT) Date: Tue, 18 Aug 2020 09:39:38 -0700 From: Joel Brobecker To: Adrian Ho Cc: gdb@sourceware.org Subject: Re: Outdated entitlement instructions on GDB WIki Message-ID: <20200818163938.GB17414@adacore.com> References: <3663aeba-5cca-5049-d193-c1aeafcfddb8@03s.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3663aeba-5cca-5049-d193-c1aeafcfddb8@03s.net> User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Aug 2020 16:39:41 -0000 Hi Adrian, > I've tested and verified that the single entitlement documented in 1.3.1. of > https://sourceware.org/gdb/wiki/PermissionsDarwin is insufficient for macOS > Catalina at least, and possibly even for Mojave. > > Instead, I've had to use an expanded set of entitlements documented at https://www.thomasvitale.com/how-to-setup-gdb-and-eclipse-to-debug-c-files-on-macos-sierra/, > i.e.: > > > "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> > > >     com.apple.security.cs.allow-jit >     > com.apple.security.cs.allow-unsigned-executable-memory >     > com.apple.security.cs.allow-dyld-environment-variables >     > com.apple.security.cs.disable-library-validation >     > com.apple.security.cs.disable-executable-page-protection >     >     com.apple.security.cs.debugger >     >     com.apple.security.get-task-allow >     > > > > Appreciate it if someone could update the above wiki page, as I'm not > permitted to do it myself. Thanks much! I think this is better done by someone who has actual experience on MacOS X. Would you be willing to perform the update, if we gave you write access to the Wiki? All you have to do is create an account, and then send me your ID (you can send it to me privately), and I will add you. -- Joel