is that possible to restart /sbin/launchd in iOS?

Questions and Answers about all things *OS (macOS, iOS, tvOS, watchOS)

is that possible to restart /sbin/launchd in iOS?

Postby ryotyankou » Fri Oct 14, 2016 2:16 am

I just wonder is that possible? I am interest in the boot processes sequence of iOS, seems its first process is '/sbin/launchd', what's next, etc...

The most important part I wonder is actually how iOS build mobile user's everything, after the system boot up, first time user need to activate the device, and the wizard shows up. What's the detailed steps? For example, what I could imagine it is the following:
launchd scan system wide daemon, and start them one by one. Then it starts SpringBoard, etc.
Posts: 4
Joined: Fri Oct 14, 2016 2:02 am

Re: is that possible to restart /sbin/launchd in iOS?

Postby morpheus » Thu Nov 03, 2016 12:56 am

Short version: No. You can't.

Long(er) version: If launchd dies, the kernel panics. Development versions of launchd allow to fork it for debug mode using launchctl(8), but not the stock versions.

Wait for Volume I where I dissect launchd all the way down to source code examples. I know it means waiting more, but I promise you I leave no stone unturned.
Site Admin
Posts: 650
Joined: Thu Apr 11, 2013 6:24 pm

Return to Questions and Answers

Who is online

Users browsing this forum: No registered users and 1 guest