Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
macos
The open-source components of macOS. Using the "GitHub File Diff" Chrome/Firefox extension is recommended as most commits are too large to view fully.
False. iSH is an x86 "bytecode" emulator.
"Possibly the most interesting thing I wrote as part of iSH is the JIT. It's not actually a JIT since it doesn't target machine code. Instead it generates an array of pointers to functions called gadgets, and each gadget ends with a tailcall to the next function; like the threaded code technique used by some Forth interpreters."
https://github.com/ish-app/ish
They inlined the code here: https://github.com/apple-oss-distributions/bash/commit/9817a...
> ...even though they are technically in violation of the GPL by modifying and shipping bash binaries without full source - it is missing rootless.h (not the X11 file)
They're not.
They've covered this in two main ways:
1) By listing all their source code on https://opensource.apple.com/ (which links to their GitHub with all the source code)
2) By offering a complete machine-readable copy of the source code upon request as per GPLv2 (3)(b). This offer is made both in the license agreement[0] you agree to when booting up your Mac for the first time, updating it, etc., as well as in an Acknowledgements.rtf[1] file that is located on your drive at multiple locations (e.g., /Library/Documentation) and linked to from within certain apps (e.g., about section, acknowledgment section under Help, EULA agreement prompt, etc.).
That covers the bash part. rootless.h isn't part of bash and is part of libSystem.dylib, so that would fall under the OS exception in GPLv2[2]:
> However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
0: https://www.apple.com/legal/sla/docs/macOSSonoma.pdf (see ยง15)
1: https://opensource.apple.com/source/files/files-553/Library/...
2: https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html