by fdsfsdfdsffgg · 3y ago · 0 comments
So, you may get a memory-safe su/sudo-rs, but those who distribute it in a binary form won't be obliged to show you the source code it was built from (potentially including some modifications).
Look at the FOSS UNIX like RTOS, none of them is GPL.
[1]: https://github.com/util-linux/util-linux/tree/master/login-u...
(this post is just here to insist on the issue)
[1]: https://github.com/util-linux/util-linux/tree/master/login-u...
Regarding security, malicious actor could show you a different source code from what he distributes in a binary form. GPL or no GPL.
That's why hashes are published by distributors and checked by package managers, right?
It doesn't help against a malicious distributor, unless package managers also do a deterministic build themselves and verify that checksum from self-build binary matches the checksum published by a distributor.
Otherwise, getting a package to run on different architectures would be a ton of manual labor. At least Debian certainly has that automated.
Besides the huge security risk involved in... just distributing random binaries?
It's not really bad but it kinda defeats the purpose.
In the realm of IoT FOSS UNIX like operating systems, all the contendants are using a mix of Apache, MIT and BSD licenses, including the ZephyrOS sponsored by the Linux Foundation.
When the GPL generation is gone from the face of the Earth, it won't last long that UNIX-like OSes get another steward alternative to the Linux kernel, with a more appealing license to big corps.
You mean {Free,Net,Open}BSD?