security_policyvers(3)

security_policyvers3

Get the version of the selinux policy

Usage

#include <selinux/selinux.h>

int security_policyvers(void);

Overview

security_policyvers() returns the version of the policy (a positive integer) on success, or -1 on error.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 3 times.

  1. 3.1–4.0
  2. 5.0–7
  3. 8–12
  4. 13

From libselinux1-dev 3.8.1-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.