SELinuxs
SELinux (Security-Enhanced Linux) is a Linux kernel security module that implements mandatory access control (MAC) using policy-based confinement to restrict how processes interact with files, sockets, and other resources. It aims to enforce least-privilege behavior, reducing the impact of software vulnerabilities. SELinux was originally developed by the U.S. National Security Agency (NSA) in collaboration with researchers and has been integrated into major Linux distributions such as Red Hat Enterprise Linux, Fedora, and Debian.
The core concept of SELinux is the security policy, which assigns labels or contexts to every subject
SELinux supports multiple operating modes: enforcing, where policy violations are denied and logged; permissive, where violations
Adoption of SELinux provides strong containment for servers and compliance-oriented environments, but it requires careful policy