selinux-knowledge-patch

Official

Keep SELinux policies current and correct

AuthorNevaberry
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill provides concise, post-training-cutoff guidance for SELinux policy development and container policy generation to prevent outdated or incorrect policy use that can cause permission failures or insecure allowances.

Core Features & Use Cases

  • CIL policy guidance: Explains modern S-expression CIL syntax, block namespacing, and blockinherit patterns for migrating from M4-based policies.
  • Container policies with udica: Shows how to generate tailored CIL container policies from container inspection output and install them alongside udica templates.
  • Kernel policy extensions: Documents allowxperm netlink message filtering, policycap requirements, and default object rules for recent kernels.
  • Use Case: Generate a CIL policy for a container that exposes network interfaces and mounts, install it with semodule, and apply the policy type when launching the container to avoid AVC denials.

Quick Start

Generate a CIL policy for the specified container from its inspection output and provide the semodule installation steps and recommended udica templates.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: selinux-knowledge-patch
Download link: https://github.com/Nevaberry/nevaberry-plugins/archive/main.zip#selinux-knowledge-patch

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.