this post was submitted on 09 Dec 2025
1090 points (99.5% liked)

Programmer Humor

27782 readers
1541 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] prettybunnys@piefed.social 24 points 21 hours ago* (last edited 20 hours ago) (2 children)

SELinux is super simple, you just gotta understand how the system works.

Once you understand the syntax and flow of SELinux policy then writing it is easy. Writing GOOD policy on the other hand …. Lmao.

Typically most IT departments “fix” it with setenforce 0 which is the equivalent of removing the seatbelt cuz you can’t figure out how to latch it.

Android has one of the most “robust” applications of it but it doesn’t serve the purpose a good policy does, it does add a substantial layer of defense. Apple contracted my company to come out and teach them how to SELinux a few years back. Ultimately they (companies that desire SELinux as an added layer of defense) tend to just pay “us” to do it instead lmao.

[–] victorz@lemmy.world 11 points 19 hours ago* (last edited 19 hours ago) (1 children)

X is super simple, you just gotta understand how X works.

Correct me if I'm wrong but I do believe that's the point. 😆 That understanding it is the hard part.

I love these people who are like "no no, X is easy, because I understand it."

If course you think it's easy — you understand it already...

[–] prettybunnys@piefed.social 9 points 19 hours ago* (last edited 19 hours ago)

What I am saying is that it looks significantly more daunting then it truly is, once you understand the basic concept of it (which I’m positing is actually fairly simple) the rest follows easily.

Specifically here though I mean SELinux is “simple” if you understand how Linux works and operates, as you’re constraining syscalls and access

[–] papertowels@mander.xyz 1 points 20 hours ago

I think as a developer I just have no idea what policies are applied, so it's just "somethings fucky here" all the time. Maybe an organizational issue :)