Security-Enhanced Linux (SELinux) is a mandatory access control (MAC) security mechanism implemented in the Linux kernel. Unlike traditional discretionary access control (DAC) where file owners can control access, SELinux enforces security policies defined by administrators. Key security enhancements:
Mandatory Access Control: Enforces rules regardless of user permissions
Process Isolation: Restricts what processes can access based on security contexts
Principle of Least Privilege: Grants minimal necessary permissions
Protection against privilege escalation: Even root access is constrained by SELinux policies SELinux uses security contexts (labels) attached to files, processes, and system resources to make access decisions based on predefined policies.
Rewriting in plainer words…
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.