{"id":53571,"date":"2017-10-01T08:16:47","date_gmt":"2017-09-30T23:16:47","guid":{"rendered":"http:\/\/www.softantenna.com\/wp\/?p=53571"},"modified":"2017-10-01T08:24:12","modified_gmt":"2017-09-30T23:24:12","slug":"apple-open-source-ios-kernel","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/apple-open-source-ios-kernel\/","title":{"rendered":"Apple\u300ciOS\u30ab\u30fc\u30cd\u30eb\u300d\u3092\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u3067\u516c\u958b"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2017\/10\/Ipexels-photo-574070.jpeg\" alt=\"Pexels photo 574070\" title=\"pexels-photo-574070.jpeg\" border=\"0\" width=\"1132\" height=\"750\" \/><\/p>\n<p>Apple\u304cmacOS\u3084iOS\u3067\u63a1\u7528\u3057\u3066\u3044\u308bDarwin\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u306e\u4e00\u90e8\u300c<a href=\"https:\/\/github.com\/apple\/darwin-xnu\">XNU kernel<\/a>\u300d\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304cGitHub\u3067\u516c\u958b\u3055\u308c\u307e\u3057\u305f(<a href=\"https:\/\/www.neowin.net\/news\/macos-and-ios-kernel-source-code-is-now-available-on-github\">Neowin<\/a>\u3001<a href=\"https:\/\/www.reddit.com\/r\/programming\/comments\/73cz3k\/apple_opensources_ios_kernel\/\">Reddit<\/a>\u3001<a href=\"https:\/\/news.ycombinator.com\/item?id=15373055\">Hacker News<\/a>)\u3002\u4eca\u56de\u306f\u3053\u308c\u307e\u3067\u524a\u9664\u3055\u308c\u3066\u3044\u305farm\/arm64\u95a2\u9023\u306e\u30d5\u30a1\u30a4\u30eb\u3082\u542b\u307e\u308c\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>XNU\u306f\u300cXNU is Not Unix\u300d\u306e\u7565\u79f0\u3067\u3001\u30ab\u30fc\u30cd\u30ae\u30fc\u30e1\u30ed\u30f3\u5927\u5b66\u3067\u958b\u767a\u3055\u308c\u305fMach\u30ab\u30fc\u30cd\u30eb\u3068FreeBSD\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3001\u304a\u3088\u3073IOKit\u3068\u547c\u3070\u308c\u308b\u30c9\u30e9\u30a4\u30d0\u30fc\u3092\u8a18\u8ff0\u3059\u308b\u305f\u3081\u306eC++ API\u30e9\u30c3\u30d1\u30fc\u304b\u3089\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002XNU\u306fI386\u3001X86_64\u306e\u30b7\u30f3\u30b0\u30eb\/\u30de\u30eb\u30c1\u30b3\u30a2\u30d7\u30ed\u30bb\u30c3\u30b5\u30fc\u69cb\u6210\u3067\u52d5\u4f5c\u3057\u307e\u3059\u3002<\/p>\n<p>\u516c\u958b\u3055\u308c\u305f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u69cb\u6210\u306f\u4ee5\u4e0b\u306e\u901a\u308a:<\/p>\n<ul>\n<li><code>config<\/code> - configurations for exported apis for supported architecture and platform<\/li>\n<li><code>SETUP<\/code> - Basic set of tools used for configuring the kernel, versioning and kextsymbol management.<\/li>\n<li><code>EXTERNAL_HEADERS<\/code> - Headers sourced from other projects to avoid dependency cycles when building. These headers should be regularly synced when source is updated.<\/li>\n<li><code>libkern<\/code> - C++ IOKit library code for handling of drivers and kexts.<\/li>\n<li><code>libsa<\/code> -  kernel bootstrap code for startup<\/li>\n<li><code>libsyscall<\/code> - syscall library interface for userspace programs<\/li>\n<li><code>libkdd<\/code> - source for user library for parsing kernel data like kernel chunked data.<\/li>\n<li><code>makedefs<\/code> - top level rules and defines for kernel build.<\/li>\n<li><code>osfmk<\/code> - Mach kernel based subsystems<\/li>\n<li><code>pexpert<\/code> - Platform specific code like interrupt handling, atomics etc.<\/li>\n<li><code>security<\/code> - Mandatory Access Check policy interfaces and related implementation.<\/li>\n<li><code>bsd<\/code> - BSD subsystems code<\/li>\n<li><code>tools<\/code> - A set of utilities for testing, debugging and profiling kernel.<\/li>\n<\/ul>\n<p>GitHub\u4e0a\u306b\u306f\u3001\u5b9f\u969b\u306b\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304b\u3089\u30ab\u30fc\u30cd\u30eb\u3092\u30d3\u30eb\u30c9\u3059\u308b\u65b9\u6cd5\u3082\u63b2\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>iOS\u3084macOS\u5168\u4f53\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304c\u516c\u958b\u3055\u308c\u305f\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u30ab\u30fc\u30cd\u30eb\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304c\u516c\u958b\u3055\u308c\u305f\u3053\u3068\u3067\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u304c\u3069\u306e\u3088\u3046\u306b\u30ab\u30fc\u30cd\u30eb\u3068\u9023\u643a\u3059\u308b\u306e\u304b\u3001\u958b\u767a\u8005\u304c\u30c7\u30d0\u30c3\u30b0\u30fb\u8abf\u67fb\u3059\u308b\u624b\u52a9\u3051\u3068\u306a\u308b\u4e8b\u304c\u671f\u5f85\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Apple\u306f\u3053\u308c\u4ee5\u5916\u306b\u3082\u5404\u7a2e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u516c\u958b\u3057\u3066\u3044\u3066\u3001\u8a73\u7d30\u306f<a href=\"https:\/\/opensource.apple.com\/\">Apple Open Source<\/a>\u3067\u78ba\u8a8d\u53ef\u80fd\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Apple\u304cmacOS\u3084iOS\u3067\u63a1\u7528\u3057\u3066\u3044\u308bDarwin\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u306e\u4e00\u90e8\u300cXNU kernel\u300d\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304cGitHub\u3067\u516c\u958b\u3055\u308c\u307e\u3057\u305f(Neowin\u3001Reddit\u3001Hacker News)\u3002\u4eca\u56de\u306f\u3053\u308c [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":53572,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[75],"tags":[85,3303,1699],"class_list":["post-53571","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-apple","tag-ios","tag-kernel"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/53571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=53571"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/53571\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/53572"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=53571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=53571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=53571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}