# SELinuxProject/selinux

This is the upstream repository for the Security Enhanced Linux (SELinux) userland libraries and tools. The software provided by this project complements the SELinux features integrated into the Linux kernel and is used by Linux distributions. All bugs and patches should be submitted to selinux@vger.kernel.org

Repository: https://github.com/SELinuxProject/selinux
Canonical: https://ross.abutalabs.com/products/selinux
Language: C
License: NOASSERTION
License Family: other
Last push: 2026-08-26T12:24:07+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 67, longevity 100
- inputs: {"age_days": 4468, "days_push": 7, "days_rel": 63, "gap_med": 140.5, "n_releases_24m": 5}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1619, forks 406 (observed 2026-08-28T04:05:12.213027+00:00)

## What it is
The upstream userspace repository for Security Enhanced Linux (SELinux), providing the libraries and tools that complement SELinux support in the Linux kernel. It includes libselinux, libsepol, and utilities for building, configuring, and managing SELinux mandatory access control policies on Linux systems.

## Use cases
- manage SELinux policies on a Linux server
- build SELinux policy modules with checkpolicy and semodule
- troubleshoot SELinux denials and label files correctly
- embed SELinux support in a custom Linux distribution
- compile libselinux against a custom kernel
- write tools that query SELinux security contexts

## When to choose
- you administer or harden Linux systems with SELinux enabled
- you build or maintain a Linux distribution that ships SELinux
- you need the canonical policy toolchain (libsepol, checkpolicy) for custom policies
- you develop software that must interact with SELinux security contexts

## When to avoid
- you only need AppArmor or a simpler MAC system
- you work on non-Linux platforms (policy toolchain builds elsewhere but is unsupported)
- you want a GUI for security management rather than libraries and CLI tools
- your kernel is older than v3.0

## Facets
- artifact type: library
- maturity: stable
- function: security, authorization, developer-tools
- domain: security, operating-systems
- platform: c
- tags: selinux, mandatory-access-control, userland, policy-management, system-libraries, linux

## Member repositories
- SELinuxProject/selinux (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:12.213027+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:49:24.870700+00:00, confidence not recorded.
  - readme: https://github.com/SELinuxProject/selinux (fetched 2026-08-28T04:05:12.213027+00:00, sha bf0f8868e499)
- Data as of 2026-08-30T08:39:29.467469+00:00.
