Opened 8 years ago

Closed 8 years ago

#53294 closed defect (duplicate)

gdb @7.12_0: Daemon uneditable due to SIP

Reported by: paxperscientiam (Chris) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.3.5
Keywords: Cc:
Port: gdb

Description

Hello:

When gdb @7.12_0 is installed, it is suggested that /System/Library/LaunchDaemons/com.apple.taskgated.plist be edited to include the -p flag.

However, this can no longer be done on the latest versions of OSX/MacOS without disabling SIP.

Is there a solution that doesn't involve disabling SIP?

Change History (4)

comment:1 Changed 8 years ago by raimue (Rainer Müller)

In my opinion the notes in the Portfile should point to these instructions instead: https://sourceware.org/gdb/wiki/BuildingOnDarwin#Giving_gdb_permission_to_control_other_processes

This describes how to use codesign to sign the gdb binary. MacPorts does not support this yet, but I previously proposed a way this could be implemented on macports-dev: https://lists.macosforge.org/pipermail/macports-dev/2016-September/033518.html

comment:2 Changed 8 years ago by mf2k (Frank Schima)

Cc: stuartwesterman removed
Keywords: gdb removed
Owner: set to stuartwesterman
Status: newassigned

comment:3 Changed 8 years ago by mf2k (Frank Schima)

Owner: stuartwesterman deleted

comment:4 Changed 8 years ago by mf2k (Frank Schima)

Resolution: duplicate
Status: assignedclosed

Duplicate of #49815.

Note: See TracTickets for help on using tickets.