by Faelian2 · 2y ago · 0 comments
All Linux binaries are compiled with PIE nowadays. You can run `checksec` on any binaries on Ubuntu, and it will have those properties. (You can install checksec with `pip install pwntools`).
On the other hand, GLIBC has, to my knowledge, the most hardened heap implementation out there. And there are more mitigations for double-free and other heap exploits on GLIBC.
So in that regard, Alpine is less secure by using musl. Having a small, understandable system is a real advantage when it comes to security.
How did that look like in your mind that it is a point for (and not against) glibc?
A sentence thrown on to the end of the conclusion should normally be read as reemphasizing the reasons for the conclusion unless it starts with a word like "though" or "however".
It seems to be they were only comparing the relatives benefits/drawbacks of glibc and musl, but with the way it is written the pro-musl comment feels out of place.
COMMAND PID RELRO STACK CANARY NX/PaX PIE
init 1 Full RELRO Canary found NX enabled PIE enabled
[snip...]
crond 422838 Full RELRO Canary found NX enabled PIE enabledCheck the OpenBSD libc...
Windows and MacOS on the other hand have an untrusted security model, everything is assumed to be potentially dangerous.
Security isn't just about how the code behaves.
But in normal Linux land things are moving too: Flatpack, Wayland, immutable rootfs, systemd service sandboxing, ...
Also browsers on GNU/Linux are generally well sandboxed, the interfaces are there.
ChromeOS is not one of the most secure OSes, it's not even the most secure Android OS.
The Linux kernel's security design is crap. Doesn't matter what you run underneath it. It gets owned all the time, and it will stay that way.
Please add something meaningful. Otherwise it's just ranting/fanboying over your preferences - we can be better than that on this board.
I don't know what features ChromeOS has over Linux but I wouldn't considered Android or iOS particularly secure, and Qubes isn't either directly, it's just a tool that can help in some cases.
[1] https://www.chromium.org/chromium-os/chromiumos-design-docs/...