SELinux
Linux security module in Privacy & security
Mandatory access control for Linux that limits what processes can do, even as root. Critics find it hard to configure and often disable it.
Mandatory access control for Linux that limits what processes can do, even as root. Critics find it hard to configure and often disable it.
64 people gave an opinion
- recommend it
- 37
- criticize it
- 27
- approval share
- 58%
Recommended in 12 of 13 months
- November 2025: recommended
- December 2025: recommended
- January 2026: recommended
- February 2026: recommended
- March 2026: recommended
- April 2026: recommended
- May 2026: recommended
- June 2026: recommended
- July 2026: recommended
- August 2026: recommended
- September 2026: recommended
- October 2026: recommended
- November 2026: not recommended (month in progress)
Why it doesn’t carry the badge
- 37 people recommend itNeeds 10 or more, met.
- 1.3 recommenders for every criticNeeds 2 to 1 or better, not met.
- Recommended in 12 of 13 monthsNeeds 4 or more, met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Strong protection against exploits
“it's a very valuable tool when you run systems that are exposed to the internet or other hostile environments”
Comment from 6 Jan 2026 in “Singularity Rootkit: SELinux bypass and netlink filter (ss/conntrack hidden)” “There is always selinux if we want to add protection against arbitrary code running as root.”
Comment from 8 May 2026 in “GNU IFUNC is the real culprit behind CVE-2024-3094” “it's secure enough to use Firefox with ublock + privacy badger and enforcing SELinux”
Comment from 31 Oct 2026 in “Malware uses LLMs to rank victims by how much they're worth” - Comment from 6 Jan 2026 in “Singularity Rootkit: SELinux bypass and netlink filter (ss/conntrack hidden)”
- Comment from 25 Nov 2025 in “Google's new 'Aluminium OS' project brings Android to PC”
- Comment from 1 Jun 2026 on Hacker News
- Comment from 30 Mar 2026 in “15 years, one server, 8GB RAM and 500k users – how Webminal refuses to die”
Robust, well-tested default
“it's well tested, no amount of forks and tricky indirections to bypass syscalls”
Comment from 7 Feb 2026 in “Python interpreter written in Rust for use by AI” “SElinux is also quite robust in access permission handling.”
Comment from 5 Feb 2026 in “Secure erase for Samsung PM951 NVMe drive (2024)” “SELinux by default is a huge plus all by itself.”
Comment from 5 May 2026 in “Linux, Windows or macOS: Which Operating System to Use in 2026?” Pairs well with other defenses
“SElinux plus cgroups is probably good enough. Although as soon as it talks to the desktop environment all bets are off.”
Comment from 30 Aug 2026 in “Omarchy: Any User Process Can Escalate to Root” “Secure Boot + LUKS + SELinux gives anyone a pretty airtight userspace.”
Comment from 25 Nov 2025 in “Google's new 'Aluminium OS' project brings Android to PC” “combined with sensible SELinux policies, would likely be sufficient”
Comment from 8 May 2026 in “Dirtyfrag: Universal Linux LPE” - Comment from 20 Aug 2026 in “Pacing model development in an era of cyber-critical capabilities”
What people warn about
Each mark is one comment
Hard to set up and maintain
“Selinux is especially powerful for this kind of thing but also requires a lot of advanced knowledge and skills to setup and maintain sadly.”
Comment from 21 Jul 2026 in “NPM's release cooldown is security theater” “It's a cryptic nightmare. You run a tool that gives you some magic string and hope that it works”
Comment from 13 Dec 2025 in “Capsudo: Rethinking sudo with object capabilities” “SELinux errors are still an inscrutable mess and writing SELinux policy is fairly painful.”
Comment from 25 Dec 2025 in “Meta is using the Linux scheduler designed for Valve's Steam Deck on its servers” - Comment from 3 Oct 2026 in “Updates to Full Disk Access in macOS”
- Comment from 9 Feb 2026 in “Sleeper Shells: Attackers Are Planting Dormant Backdoors in Ivanti EPMM”
Often disabled when in the way
“It's got the SELinux problem of being useful, but annoying enough that everyone just disables it the second it gets in the way.”
Comment from 5 Aug 2026 in “Cloudflare OS: an open platform for agents, apps, and work” “when people have issues getting software to work, the first thing they are told to try is to turn all that stuff off”
Comment from 30 Nov 2025 in “Landlock-Ing Linux” “SELinux is a rather poor design, and I find that it actively gets in the way of trying to do security well.”
Comment from 30 Aug 2026 in “Omarchy: Any User Process Can Escalate to Root” - Comment from 8 May 2026 in “GNU IFUNC is the real culprit behind CVE-2024-3094”
Poor errors and policy tooling
“SELinux errors are still an inscrutable mess and writing SELinux policy is fairly painful.”
Comment from 25 Dec 2025 in “Meta is using the Linux scheduler designed for Valve's Steam Deck on its servers” “SELinux would be a lot more viable if it had a solid way to federate and distribute policy”
Comment from 10 Apr 2026 in “France Launches Government Linux Desktop Plan as Windows Exit Begins” Not a complete defense
“Believing SELinux solves the vast majority of security issues is fallacious”
Comment from 3 Jan 2026 in “Linux kernel security work” “it appears these distros were (and are) still vulnerable to this exploit”
Comment from 20 May 2026 in “Gentoo News: Copy Fail, Dirty Frag, and Fragnesia Kernel Vulnerabilities”
What people recommend instead
The same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.
| Product | Recommend | Criticize | Approval | Months | Owned | Badge |
|---|---|---|---|---|---|---|
| SELinuxThis page | 37 | 27 | 58% | 12 | — | — |
| AppArmor | 15 | 11 | 58% | 9 | — | — |
What people said
40 of the 72 comments that mention it, newest first. Each links to the original comment.
“it's secure enough to use Firefox with ublock + privacy badger and enforcing SELinux”
“if you are willing to fiddle with SELinux you can get whatever you need”
“actually configuring SELinux rather than working around it is a massive pain”
“SELinux is a rather poor design, and I find that it actively gets in the way of trying to do security well.”
“SElinux plus cgroups is probably good enough. Although as soon as it talks to the desktop environment all bets are off.”
“apparmor/selinux pair incredibly well”
“It's got the SELinux problem of being useful, but annoying enough that everyone just disables it the second it gets in the way.”
“The facilities are there, but it feels like writing your own OS.”
“Selinux is especially powerful for this kind of thing but also requires a lot of advanced knowledge and skills to setup and maintain sadly.”
“use an LSM like Tomoyo, App Armor or SELinux to not allow the AI to read the secrets file”
“the notoriously difficult to use SELinux uses this as the more-or-less standard way of setting permissions”
“SELinux would've stopped this.”
“it appears these distros were (and are) still vulnerable to this exploit”
“it's become much easier to reason about. It's not actually all that complex.”
“Last time I tried it was a pain to setup and a pain to use”
“In this day and age infrastructure operators should familiarize themselves with proactive defenses”
“robust software with poor UX/DX gets undermined by that poor UX/DX”
“it is difficult enough that the usual answer is "disable SELinux" or "don't apply it"”
“There is always selinux if we want to add protection against arbitrary code running as root.”
“combined with sensible SELinux policies, would likely be sufficient”
“SELinux by default is a huge plus all by itself.”
“strictly limiting features like user namespaces through SELinux would make Linux significantly more secure”
“Selinux does the rest and we encourage devs to write policies for their applications.”
“SELinux would be a lot more viable if it had a solid way to federate and distribute policy”
“MAC is already there on most modern distros, but people are often scared to go through training”
“our security relies on SELinux”
“Gave up configuring SELinux years ago because it was too time-consuming.”
“it's well tested, no amount of forks and tricky indirections to bypass syscalls”
“SElinux is also quite robust in access permission handling.”
“If you need more sophisticated controls try extensions like acl or selinux.”
“SELinux will protect you from many so-called "zero-day" vulnerabilities.”
“it's a very valuable tool when you run systems that are exposed to the internet or other hostile environments”
“Believing SELinux solves the vast majority of security issues is fallacious”
“SELinux errors are still an inscrutable mess and writing SELinux policy is fairly painful.”
“there is a ready made solution to this, one that dbus is already aware of and can use natively”
“It's a cryptic nightmare. You run a tool that gives you some magic string and hope that it works”
“it is designed for traditional servers that don't change often”
“when people have issues getting software to work, the first thing they are told to try is to turn all that stuff off”
“Secure Boot + LUKS + SELinux gives anyone a pretty airtight userspace.”
“you may be able to limit the damage from these attacks by using a MAC”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.