This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA 3/5] Darwin: set startup-with-shell to off on Sierra and later.


>>>>> "Xavier" == Xavier Roirand <roirand@adacore.com> writes:

Xavier> On Mac OS X Sierra and later, the shell is not allowed to be
Xavier> debug so add a check and disable startup with shell in that
Xavier> case.

I learned recently that System Integrity Protection was introduced in
El Capitan:

    https://support.apple.com/en-us/HT204899

So, I'm curious why this patch checks for Sierra.

I thought maybe it could just be a bug, but also that maybe the ptrace
changes were added in Sierra.

Do you know?  I don't have an older machine to try on.  I think it would
be good to document or fix this decision, depending on what's going on.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]