Get the version of the selinux policy
#include <selinux/selinux.h>
int security_policyvers();
security_policyvers() returns the version of the policy (a positive integer) on success, or -1 on error.
selinux(8)