Hacker GitHub

← All repos

apple/darwin-xnu

View on GitHub ↗ ★ 11,272 C archived

Legacy mirror of Darwin Kernel. Replaced by https://github.com/apple-oss-distributions/xnu

66 mentions on Hacker News by 60 people: 3 stories, 63 comments · first 2017-09-30 · latest 2026-05-02

Mentions per year 66 mentions · busiest year 2021 (14)
20082026
  1. Pretty sure it was introduced here: https://github.com/apple/darwin-xnu/commit/c10988c130af09087... In this commit a bunch of code was copy-pasted from BSD into ip_icmp.c in icmp_error() to quote IP packet data in icmp error responses.…
    comment by geogriffin · 2018-11-01 · in Kernel RCE in iOS/macOS with ICMP
  2. …[2] https://github.com/torvalds/linux/search?q=master+slave&unsc... [3] https://github.com/apple/darwin-xnu/search?q=master+slave&un...
    comment by kgraves · 2018-09-10 · in The use of "blacklist" is offensive
  3. …of whitespace. A couple of examples https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin... https://github.com/apple/darwin-xnu/blob/master/libsyscall/m...
  4. …doing this. [1] ( https://opensource.apple.com ) [2] ( https://github.com/darwin-on-arm/xnu ) [3] ( https://github.com/apple/darwin-xnu/search?p=5&q=ARM64&unsco... )
    comment by return_0e · 2018-07-17 · in Almost booting an iOS kernel in QEMU
  5. …valuable part of the OS X source code. It's not like Microsoft can import the OS X window styles. https://github.com/apple/darwin-xnu
  6. …code Apple wrote and saying that Darwin is essentially NetBSD is extremely disingenuous[2]. [1]: https://github.com/apple/darwin-xnu/search?utf8=%E2%9C%93&q=... [2]: https://developer.apple.com/library/content/documentation/Da...
    comment by 2trill2spill · 2018-04-02 · in Apple Is Looking for Linux Kernel Developers
  7. Yes to the latter, kinda to the former. In reverse order: This file goes back several OS versions: https://github.com/apple/darwin-xnu/blob/master/osfmk/x86_64... sysctl machdep.cpu.features | grep PCID (cf. xnu/osfmk/i386/cpuid.[hc],…
  8. https://github.com/apple/darwin-xnu/tree/master/osfmk/arm64
  9. Alas, only 12 references to APFS, that part appears to not be part of the drop, yet. https://github.com/apple/darwin-xnu/search?p=2&q=APFS&type=&...
  10. Looks like they are working on NVRAM support : https://github.com/apple/darwin-xnu/blob/master/iokit/Kernel...
    comment by buildbot · 2017-10-01 · in Darwin-xnu: The Darwin Kernel
  11. …stubbed out and unimplemented meaning that the ARM support is at least from an ancient iOS kernel. https://github.com/apple/darwin-xnu/blob/master/pexpert/arm/...
    comment by monocasa · 2017-09-30 · in Darwin-xnu: The Darwin Kernel
  12. License for those interested: https://github.com/apple/darwin-xnu/blob/master/LICENSE
    comment by arca_vorago · 2017-09-30 · in Darwin-xnu: The Darwin Kernel
  13. ▲ 375
    Darwin-xnu: The Darwin Kernel
    story by adamnemecek · 2017-09-30 · 83 comments
  14. The README also mentions iOS, which AFAIK is only ARM. There's also some ARM specific code: https://github.com/apple/darwin-xnu/tree/master/pexpert/arm The Makefile also has ARM/ARM64 options.
    comment by codehusker · 2017-09-30 · in Apple Open Sources iOS Kernel
  15. They released it: https://github.com/apple/darwin-xnu Edit: Except it's still missing crucial ARM code.
    comment by lobster_johnson · 2017-09-30 · in Apple Open Source
  16. ▲ 104
    Apple Open Sources iOS Kernel
    story by tray5 · 2017-09-30 · 23 comments