security_policyvers
get the version of the SELinux policy
- Provided by: libselinux-dev (Version: 3.11-2.1)
- Source: libselinux
- Report a bug
get the version of the SELinux policy
#include <selinux/selinux.h>
int security_policyvers(void);
security_policyvers() returns the version of the policy (a positive integer) on success, or -1 on error.