Re:Things to Know About GNU Readline
by chetramey on Friday August 23, 2019 @11:37AM
(#20778693)
At least the last time I looked at a jailbroken iOS device, it opened a terminal running bash-3.2 (the same version as on macOS). It's there, you just can't get to it.
[ Parent
| on HN ]
Most "packaged" jailbreaks drop a shell binary into /bin, or outright install packages for things such as Bash and the GNU Core Utilities; iOS does not actually ship with these. (If it did, I would assume that the GPL would require that Apple provided source code for it here: https://opensource.apple.com/release/ios-1141.html .)
I don't buy it. First, why would a Linux-based jailbreak install a binary for bash-3.2, when that version is going on 13 years old? Second, there's nothing that requires Apple to make the GPL sources available in both MacOS and iOS. Doing it once is sufficient. I'm sticking with what I've seen and been told: the guts of MacOS are there, just hidden.
> First, why would a Linux-based jailbreak install a binary for bash-3.2, when that version is going on 13 years old?
Because nobody updated coreutils on iOS for years, AFAIK. FWIW, the unc0ver jailbreak installs bash 5.0.3.
> Second, there's nothing that requires Apple to make the GPL sources available in both MacOS and iOS. Doing it once is sufficient.
Why does the GPL not require that they release their modifications if they distribute them?
> I'm sticking with what I've seen and been told: the guts of MacOS are there, just hidden.
$ find -E /Volumes/PeaceG16G102.D321OS -regex "(ba)?sh"
$ ls /Volumes/PeaceG16G102.D321OS/bin
df ps
(That's the iOS 12.4.1 restore image for iPhone XS, if you're wondering.)