Re: Command line LLDB under root permission - Catalina + Xcode 11
Re: Command line LLDB under root permission - Catalina + Xcode 11
- Subject: Re: Command line LLDB under root permission - Catalina + Xcode 11
- From: Prokash Sinha via Darwin-dev <email@hidden>
- Date: Thu, 17 Oct 2019 13:22:37 -0700
This is not any App distributed by Apple.
It’s a command line app (with right entitlement ) to execute Endpoint security
extension related APIs. These are post Catalina features that coming down the
pipe… The App requires root permission to run ( but I can try a normal command
line App to see if there is any diff …)
$sudo su
password:: <…..>
# lldb <path of the app>/commandlineapp
(lldb) set some bp
(lldb) run
Once some breakpoint is hit, within 20 to 30 sec. it gets sorta kill -9 kinda
signal ( exit code is 9 ).
Usually I see this kind of behavior when kernel debugging over KDP, but on this
occasion its pure application debugging on the same machine.
Thanks Max!
Prokash
> On Oct 17, 2019, at 6:09 AM, Max Coplan <email@hidden> wrote:
>
> Prokash,
> Which app are you trying to run, and “how” are you trying to run it as root?
>
> Thanks,
> Max
>
> Sent from my iPad
>
>> On Oct 16, 2019, at 3:00 PM, email@hidden wrote:
>>
>> Send Darwin-dev mailing list submissions to
>> email@hidden
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> https://lists.apple.com/mailman/listinfo/darwin-dev
>> or, via email, send a message with subject or body 'help' to
>> email@hidden
>>
>> You can reach the person managing the list at
>> email@hidden
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Darwin-dev digest..."
>>
>>
>> Today's Topics:
>>
>> 1. Command line LLDB under root permission - Catalina + Xcode 11
>> (Prokash Sinha)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Wed, 16 Oct 2019 10:20:38 -0700
>> From: Prokash Sinha <email@hidden>
>> To: email@hidden
>> Subject: Command line LLDB under root permission - Catalina + Xcode 11
>> Message-ID: <email@hidden>
>> Content-Type: text/plain; charset=utf-8
>>
>> Hello! ,
>>
>> Can someone explain, why I?m getting a Killed 9, when I launch an app under
>> root account. Is there a way to disable this timeout or whatever causing
>> KILL signal ?
>>
>> This is just to test some of the Endpoint Security framework in post
>> Catalina, and it requires root permission.
>>
>> Thanks,
>> Prokash
>>
>> ------------------------------
>>
>> Subject: Digest Footer
>>
>> _______________________________________________
>> Darwin-dev mailing list
>> email@hidden
>> https://lists.apple.com/mailman/listinfo/darwin-dev
>>
>>
>> ------------------------------
>>
>> End of Darwin-dev Digest, Vol 16, Issue 18
>> ******************************************
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden