News for hackers. Stuff that matters.
Re:What makes a Mac a Mac by derefr on Monday July 25, 2016 @10:22PM (#12162990)
These days, the functional, structural-identity definition of "a Mac" is that it's a computer where:

1. the OSX base-image includes drivers for all the components; and

2. the ACPI BIOS has an SMBIOS table, which can be probed for strongly-typed fields, where:

2.1. the SMBIOS BoardType and ChassisType fields are known valid enum-values that OSX has in its model database; and

2.2 the SMBIOS SerialNumber and BoardSerialNumber fields are present and have valid checksum bits according to whatever algorithm the OSX kernel uses. (Further properties about the system are also embedded into these, so those slices of the string must also decode to known-to-OSX enum values.)

3. Finally, the ACPI device tree must have a virtual device, basically a hardware dongle, located "inside" the keyboard in the device tree, that responds to a probe with a static 64-byte string—basically a shared secret. (It's actually an ASCII-readable string; it contains, in part, the literal text "pleasedontsteal".)

There are no comments on this comment yet.