this post was submitted on 13 Feb 2024
104 points (98.1% liked)

Linux

47755 readers
891 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

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
[–] [email protected] 14 points 8 months ago (2 children)
[–] [email protected] 27 points 8 months ago* (last edited 8 months ago) (4 children)

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.

[–] [email protected] 4 points 8 months ago (2 children)
[–] [email protected] 2 points 8 months ago

Damn, I still didnt understand much, but seems cool

[–] [email protected] 1 points 8 months ago

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.

[–] [email protected] 4 points 8 months ago

Thanks for the explanation :)

[–] [email protected] 1 points 8 months ago (1 children)

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.

[–] [email protected] 1 points 8 months ago (1 children)

Holy shit, Android using the Linux kernel is actually helpful for once? I'm shocked

[–] [email protected] 4 points 8 months ago

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

[–] [email protected] 5 points 8 months ago

they preload the hardened malloc, obvi 🙄