View on GitHub

The SELinux Project

Official website of the upstream SELinux project

Welcome to the SELinux community’s documentation website. This is the central source for SELinux upstream documentation. Pardon our dust, this page is still under construction.

SELinux is flexible Mandatory Access Control (MAC) for Linux. Today SELinux is an optional component of the mainline Linux kernel and has been integrated into a wide variety of Linux distributions and into Android. SELinux can be used to enforce system security policies over processes, files, sockets, and other objects, both kernel objects and some middleware or application layer objects.

Getting Started

Are you here just to fix a SELinux denial? Then go to Fix Policy Problems and see if that solves your problem for you.

A quick intro to SELinux concepts can be found in The SELinux Coloring Book.

Some user-oriented tutorials on SELinux are linked below.

The easiest way to get started with using or developing SELinux is to install a Linux distribution that supports it out of the box. Below are links to distribution-specific SELinux documentation, sorted alphabetically.

Developer Information

General

Kernel developers

Userspace developers