BT

Your opinion matters! Please fill in the InfoQ Survey!

Apple Open-Sourced the iOS Kernel for ARM CPUs

| by Sergio De Simone Follow 5 Followers on Oct 04, 2017. Estimated reading time: 1 minute |

Apple has quietly made available arm and arm64-specific files on its GitHub XNU-darwin repository. While this may not be interesting to all developers, it still enables interesting possibilities for security researchers and others.

Darwin is the codename of the kernel which provides the foundations of iOS and macOS, which Apple originally open-sourced on its opensource.com website in 2000. This led to some confusion on whether the iOS kernel source code was or was not newly released and whether it is complete or not. In this regard, it seems that the release might not fully support arm64 or Apple latest A11 SoC, but the new files released should make it possible to compile Darwin for ARM. In particular, the README file mentions iOS and the Makefile includes arm/arm64 options.

As to what this could be useful for, being able to build the iOS kernel will not mean it will be possible to install it on a real device, since its bootrom only allows to run signed kernels. Still, building the iOS kernel could be helpful when creating an iOS emulator. Actually, there have already been efforts to create a QEMU-based iOS emulator and it seems they have recently been revived. According to one of the developers involved in the project, “the iOS-specific code will be quite helpful in speeding up bug elimination and the development of the virtual graphics hardware that can get us past a basic graphical framebuffer”. Additionally, the availability of iOS-specific source code will likely make it possible for security researchers to discover new bugs and vulnerabilities, which have been often exploited to create programs to jailbreak iOS and make it possible to download and install non-signed applications, extensions, and themes.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT