103
this post was submitted on 13 Feb 2024
103 points (98.1% liked)
Linux
48323 readers
648 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Btw Fedora Firefox now supports LD_PRELOADING hardened_malloc natively, pretty cool.
What do these do?
Hardened_malloc is a security enhanced memory allocator forked from OpenBSD and maintained and used in GrapheneOS. It protects against various memory exploits and works just fine on Linux, I tried Gaming and more.
The Fedora variant "Secureblue" has it preinstalled, they maintain the COPR and handle the preloading also for Flatpak apps.
By default Firefox doesnt accept that though, and gives some memory errors. Fedora Firefox should now work with hardened_malloc, as they applied a build argument to allow it.
Thanks for the explanation :)
You may enjoy this video "I wrote my own memory allocator in C..."
Damn, I still didnt understand much, but seems cool
Here is an alternative Piped link(s):
I wrote my own memory allocator in C...
Piped is a privacy-respecting open-source alternative frontend to YouTube.
I'm open-source; check me out at GitHub.
Holy shit, Android using the Linux kernel is actually helpful for once? I'm shocked
They have all their own userland stuff.
I think Desktop linux could adopt more... like a hardened, not tracking, neutral webview so projects could stop using damn Electron. Like actually having a slim and efficient system, without the need to not use Sandboxing.
Not sure if bionic is better than glibc too. Musl probably is, and the problem is binary package repos so you will need to use Alpine to get rid of glibc
Actually it's not (but it was) a fork of OpenBSD's allocator, but rewrite of a fork. They wanted too much changes so they decided to rewrite it from scratch.
Damn
they preload the hardened malloc, obvi 🙄