Re: Command line LLDB under root permission - Catalina + Xcode 11
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com 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 <ssjvegerot@icloud.com> 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, darwin-dev-request@lists.apple.com wrote:
Send Darwin-dev mailing list submissions to darwin-dev@lists.apple.com
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 darwin-dev-request@lists.apple.com
You can reach the person managing the list at darwin-dev-owner@lists.apple.com
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 <prokash@garlic.com> To: darwin-dev@lists.apple.com Subject: Command line LLDB under root permission - Catalina + Xcode 11 Message-ID: <AFCF7700-DAB5-4799-8642-A64436817232@garlic.com> 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 Darwin-dev@lists.apple.com 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.app... This email sent to site_archiver@lists.apple.com
participants (1)
-
Prokash Sinha via Darwin-dev