Any Requests for a 2nd Edition of the book?

Comments about the book, Requests for content to be covered in the 2nd Edition? Post them here!

Re: Any Requests for a 2nd Edition of the book?

Postby backendbilly » Sun Nov 15, 2015 3:47 pm

Very surprised for not seeing kernel debugging using KDP. Is this something that can be added or is it too late?
backendbilly
Site Admin
 
Posts: 132
Joined: Fri May 29, 2015 5:58 pm

Re: Any Requests for a 2nd Edition of the book?

Postby morpheus » Mon Nov 16, 2015 1:54 am

How you missed it I don't know - http://newosxbook.com/TOC2-2.html has Kernel debugging right there.

I'll cover KDP, Ethernet, USB, even firewire :-) and the KernelDebugKit of course.
morpheus
Site Admin
 
Posts: 530
Joined: Thu Apr 11, 2013 6:24 pm

Re: Any Requests for a 2nd Edition of the book?

Postby backendbilly » Mon Nov 16, 2015 2:22 am

I apologize for not making myself clear. Kernel debugging in a virtual machine will be valuable but I was more talking about iOS kernel debugging which was primarily focused on older iDevices using the 30 pin cable. Not much has been mentioned about kernel debugging on newer devices using the lightening connector and especially overcoming the hardened kernel. Could you please elaborate if this is something that can be covered.

Billy
backendbilly
Site Admin
 
Posts: 132
Joined: Fri May 29, 2015 5:58 pm

Re: Any Requests for a 2nd Edition of the book?

Postby morpheus » Mon Nov 16, 2015 4:11 am

Oh. that. That's actually a very good idea. The kernel ignores the serial debugging port unless PE_I_can_has_debugger is set as a bootarg. There are ways to work around that, and the kdp code is certainly still there. You would need one of the lightning->serial cable (which, thanks to Ramtin Amin, aren't that hard to come by). I haven't checked if it works on 9, though. I will. Thanks for the idea!
morpheus
Site Admin
 
Posts: 530
Joined: Thu Apr 11, 2013 6:24 pm

Re: Any Requests for a 2nd Edition of the book?

Postby backendbilly » Mon Nov 16, 2015 5:01 pm

I don't mean to rain on your parade but I thought the following would be interesting to cover. This is all with respect to iOS.

1- Secure enclave, its contents in terms of UID plus other crystallographic data include fingerprint data
2- Data protection classes and how files are encrypted

Billy
backendbilly
Site Admin
 
Posts: 132
Joined: Fri May 29, 2015 5:58 pm

Re: Any Requests for a 2nd Edition of the book?

Postby backendbilly » Thu Nov 26, 2015 2:53 am

Me again. Some more suggestions:

- iOS9 security including KPP, entitlements embedded in the kernel, rootless, etc.
- the latest discovery (sort of) regarding the loophole that allows downgrading through pwned iBEC and iBSS on 32-bit devices.
- secure enclave, secure enclave, and of course the secure enclave.
- secure element


Billy
backendbilly
Site Admin
 
Posts: 132
Joined: Fri May 29, 2015 5:58 pm

Re: Any Requests for a 2nd Edition of the book?

Postby zchee » Mon Nov 30, 2015 6:55 am

Feature request
- Minimal and sample OS X Hypervisor.framework also vmnet.framework

there are not Developer library Referenses :(
So, I want how to usage sample code on C languages.

Thanks.
zchee
 

Re: Any Requests for a 2nd Edition of the book?

Postby morpheus » Thu Dec 03, 2015 3:51 am

Excellent idea! Hypervisor framework is super cool. It's actually pretty well documented in its .h files, since it's a public framework -- but I should mention its inner mechanisms (via IOKit and Kext). Definitely adding that in. Might do it in a companion article, though.
morpheus
Site Admin
 
Posts: 530
Joined: Thu Apr 11, 2013 6:24 pm

Re: Any Requests for a 2nd Edition of the book?

Postby zchee » Tue Dec 15, 2015 4:01 am

Thanks reply.

FYI, the implementation of the Hypervisor.framework, there is xhyve.
I use xhyve for the launch local docker container.
https://github.com/mist64/xhyve

Also, I was wrapped in Go language.
https://github.com/zchee/docker-machine-driver-xhyve
https://github.com/zchee/xhyve-bindings

xhyve was ported from FreeBSD of bhyve to OS X xnu kernel.
https://github.com/freebsd/freebsd/tree ... sbin/bhyve

but, it does not exist Grand Central Dispatch(dispatch) also XPC Service in the interior of the implementation.
This is still the possible improvement.

Therefore, I want to know the internal implementation of Hypervisor.framework.

I am impressed by your excellent skills.
Thank you for your consideration.

===

My native language is Japanese.
So, I'm sorry if there confusing points.
- zchee
zchee
 
Posts: 5
Joined: Tue Dec 15, 2015 3:39 am

Re: Any Requests for a 2nd Edition of the book?

Postby RandomDSdevel » Thu Jan 21, 2016 8:55 pm

How much of the new book will contain details about anything that's changed between OS X 10.10 Yosemite and OS X 10.11 El Capitan? I saw in the ToC web pages that System Integrity Protection (informally, Rootless) will be covered, but I didn't see anything in 'The Graphics Architecture' about Metal, so could you add that in? Also, I think it would be interesting to have some information about OS X's audio system, too, so count me in for looking forward to seeing that if you get around to including it.
RandomDSdevel
 

PreviousNext

Return to *OS Internals - 2nd Edition

Who is online

Users browsing this forum: No registered users and 2 guests