SysTutorials

Linux Manual Pages › Section 3

security_policyvers(3)

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)