by microtherion · 1mo ago · 0 comments
"1.12 Threads
1.12.1 Cancellation Points
Question 31: Which C stdio functions have cancellation points that occur when a thread is executing?"
https://www.opengroup.org/csq/repository/noreferences=1&RID=...
- The Linux kernel also has timer coalescing
- Linux also has lazy atime ('relatime') by default
- No Linux distro installs uucp by default, and certainly not suid
- Desktop distros will also run a file indexer of some sort
etc.
They were:
Inspur K-UX (expired on 3 February 2019)
Huawei EulerOS (expired in September 2022)
https://en.wikipedia.org/wiki/Inspur_K-UX
https://en.wikipedia.org/wiki/EulerOS
These were both based on Red Hat.
So legally at one point a Linux was Unix.
There were (are?) companies and especially parts of the government where it was pretty difficult/impossible to purchase anything that wasn’t on an official pre-approved list. Trying to get anything new added was a massive problem.
One of the things that was on the list was something like “a computer running Unix“. Tada. Macs now run Unix so you can easily buy them.
Like other people here, I really don’t think true compliance mattered to basically anyone for their actual use. The idea that it was just box checking so they were easier to buy in some institutional environments makes much more sense to me.
I'll bet all kinds of government contracts needed some way to compare vendors bidding on a contract
for example:
- These ran UTX-32, Gould's version of Unix based on a BSD 4.2 kernel developed by Gould's UNIX development centre in Urbana-Champaign (IL) to support multiprocessor systems
- AIX is based on UNIX System V with 4.3BSD-compatible extensions.
- DG/UX 1.00, released by Data General in March 1985, was based on UNIX System V Release 2 with additions from 4.1BSD.
- HP-UX (from "Hewlett Packard Unix") is a discontinued proprietary implementation of the Unix operating system developed by Hewlett Packard Enterprise
- Xenix is based on the operating system UNIX System V, which Microsoft licensed from AT&T Corporation in the late 1970s.
So OS X continuing that strategy early on would make perfect sense.
So, if you want your installation of macOS 15.0 to pass the UNIX® 03 certification test suites, you need to disable System Integrity Protection, enable the root account, enable core file generation, disable timeout coalescing, mount any APFS partitions with the strictatime option, format your APFS partitions case-sensitive (by default, APFS is case-insensitive, so you’ll need to reinstall), disable Spotlight, copy the binaries uucp, uuname, uustat, and uux from /usr/bin to /usr/local/bin and the binaries uucico and uuxqt from /usr/sbin to /usr/local/bin, set the setuid bit on all of these binaries, add /usr/local/bin to your PATH before /usr/bin and /usr/sbin, enable the uucp service, and handle the mystery issues listed in the four Temporary Waivers.
Then, and only then, is your macOS 15.0 actually UNIX® 03-certified.
This is batshit insane. I can guarantee you with 100% certainly not a single macOS installation in the entire history of macOS – let alone when just counting macOS 15.0 – has implemented even half of these changes. I’m sure there is a small number of people who have System Integrity Protection disabled permanently, and an even smaller number of people who have enabled the root account, and an even smaller number of people who have done both of those things – but that’s it. All the other changes are far too obscure and specific to be of any use to anyone.
the netbsd gallery (https://netbsd.org/gallery/) had a picture of somebody using that on windows xp (iirc) in order to compile pkgsrc packages in a "posix compliant" environment. the picture seem to be gone now :(
Btw, MacOS 27 (the current version) still has UUCP.
Traditional UNIX is does not mean having an open source core you're intended to tinker with. Traditional UNIX was entirely proprietary, connected with well-defined text-based interfaces. This is entirely orthogonal to user control and manipulation of the OS.
SIP is as much defense from the likes of Adobe and Google as it is from more traditional malware.
I think that piece by piece Apple wants to go into direction of making macOS just a desktop version of iOS, that is closed and impossible to modify. They will use of course security as an excuse, the practical thing is that with iOS they succeeded because they went to the market with an OS that was already closed, but making users accept that in new version downloading a software from the internet and installing it it's no longer possible takes time. But they are getting there soon to me.
AT&T was forbidden by its consent decree from productizing Unix. Licensees received the source code, on an as-is basis, with no official support from AT&T.
> This is batshit insane. I can guarantee you with 100% certainly not a single macOS installation in the entire history of macOS – let alone when just counting macOS 15.0 – has implemented even half of these changes.
Well, maybe that means it doesn’t really matter and especially not to the extent that the author seems (?) to be making it out to be. If no one disables System Integrity Protection in order to be UNIX® 03-compliant, maybe that means that to the extent that people care about macOS being “a UNIX”, they don’t care specifically about the parts of the specification that are incompatible with System Integrity Protection.