security_policyvers

Section: SELinux API documentation (3)
Updated: 1 January 2004
Index Return to Main Contents
 

NAME

security_policyvers - get the version of the SELinux policy  

SYNOPSIS

#include <selinux/selinux.h>

int security_policyvers();

 

DESCRIPTION

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

 

SEE ALSO

selinux(8)