From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from guinea.birch.relay.mailchannels.net (guinea.birch.relay.mailchannels.net [23.83.209.79]) by sourceware.org (Postfix) with ESMTPS id E28D2384A022 for ; Thu, 13 Aug 2020 11:19:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E28D2384A022 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=03s.net Authentication-Results: sourceware.org; spf=none smtp.mailfrom=co+sourceware@03s.net X-Sender-Id: dreamhost|x-authsender|inbox0@tclish.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 65021121DD7; Thu, 13 Aug 2020 11:18:59 +0000 (UTC) Received: from pdx1-sub0-mail-a77.g.dreamhost.com (100-96-5-127.trex.outbound.svc.cluster.local [100.96.5.127]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id B1CA0121DE8; Thu, 13 Aug 2020 11:18:56 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|inbox0@tclish.org Received: from pdx1-sub0-mail-a77.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.8); Thu, 13 Aug 2020 11:18:59 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|inbox0@tclish.org X-MailChannels-Auth-Id: dreamhost X-Blushing-Rock: 7c49148939f9abd0_1597317539200_666260802 X-MC-Loop-Signature: 1597317539199:1974838904 X-MC-Ingress-Time: 1597317539199 Received: from pdx1-sub0-mail-a77.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a77.g.dreamhost.com (Postfix) with ESMTP id EAFDAB375F; Thu, 13 Aug 2020 04:18:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=03s.net; h=to:from:subject :message-id:date:mime-version:content-type :content-transfer-encoding; s=03s.net; bh=12ljTax8YFnq7UtitNl4qr HGBRs=; b=RCaNLoszF/Tzq9glJplCcZGAbYH5rigPzIuCy1M/An5GUs385dafWG nC2LdAGn7UaPUw81XeVd8QNvCyrRRWJj2Cbhrb/mLu6nFcSNCUm999xx9rmS6Omn lyzWZOTuRj4LUciCx6cXjt3WO5mjqKwM1eMdZ45sj2M4zFk4GlgyY= Received: from [192.168.99.25] (unknown [138.75.27.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: inbox0@tclish.org) by pdx1-sub0-mail-a77.g.dreamhost.com (Postfix) with ESMTPSA id BAAFAB3747; Thu, 13 Aug 2020 04:18:54 -0700 (PDT) To: gdb@sourceware.org X-DH-BACKEND: pdx1-sub0-mail-a77 From: Adrian Ho Subject: Outdated entitlement instructions on GDB WIki Message-ID: <3663aeba-5cca-5049-d193-c1aeafcfddb8@03s.net> Date: Thu, 13 Aug 2020 19:18:20 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduiedrleehgddufecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepvffhuffkffgfgggtgfesthekredttdefjeenucfhrhhomheptegurhhirghnucfjohcuoegtohdoshhouhhrtggvfigrrhgvsedtfehsrdhnvghtqeenucggtffrrghtthgvrhhnpeetueeujedtfefhtdeutdeghfdtgeffjeefgeduveefueefieegteekgfdtfedtvdenucffohhmrghinhepshhouhhrtggvfigrrhgvrdhorhhgpdhthhhomhgrshhvihhtrghlvgdrtghomhdprghpphhlvgdrtghomhenucfkphepudefkedrjeehrddvjedrudegleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopegludelvddrudeikedrleelrddvhegnpdhinhgvthepudefkedrjeehrddvjedrudegledprhgvthhurhhnqdhprghthheptegurhhirghnucfjohcuoegtohdoshhouhhrtggvfigrrhgvsedtfehsrdhnvghtqedpmhgrihhlfhhrohhmpegtohdoshhouhhrtggvfigrrhgvsedtfehsrdhnvghtpdhnrhgtphhtthhopehguggssehsohhurhgtvgifrghrvgdrohhrgh Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE autolearn=ham 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: Thu, 13 Aug 2020 11:19:02 -0000 Hi! I've tested and verified that the single entitlement documented in=20 1.3.1. of https://sourceware.org/gdb/wiki/PermissionsDarwin is=20 insufficient for macOS Catalina at least, and possibly even for Mojave. Instead, I've had to use an expanded set of entitlements documented at=20 https://www.thomasvitale.com/how-to-setup-gdb-and-eclipse-to-debug-c-file= s-on-macos-sierra/,=20 i.e.: =C2=A0=C2=A0=C2=A0 com.apple.security.cs.allow-jit =C2=A0=C2=A0=C2=A0 com.apple.security.cs.allow-unsigned-executable-memory =C2=A0=C2=A0=C2=A0 com.apple.security.cs.allow-dyld-environment-variables =C2=A0=C2=A0=C2=A0 com.apple.security.cs.disable-library-validation =C2=A0=C2=A0=C2=A0 com.apple.security.cs.disable-executable-page-protection =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 com.apple.security.cs.debugger =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 com.apple.security.get-task-allow =C2=A0=C2=A0=C2=A0 Appreciate it if someone could update the above wiki page, as I'm not=20 permitted to do it myself. Thanks much! Best Regards, Adrian