DOKK / manpages / debian 11 / libselinux1-dev / security_policyvers.3.en
security_policyvers(3) SELinux API documentation security_policyvers(3)

security_policyvers - 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)

1 January 2004 russell@coker.com.au