xref: /aosp_15_r20/external/selinux/libselinux/man/man3/security_policyvers.3 (revision 2d543d20722ada2425b5bdab9d0d1d29470e7bba)
"security_policyvers" "3" "1 January 2004" "[email protected]" "SELinux API documentation"
"NAME"
security_policyvers - get the version of the SELinux policy
"SYNOPSIS"
#include <selinux/selinux.h> int security_policyvers(void); .
"DESCRIPTION"
security_policyvers () returns the version of the policy (a positive integer) on success, or -1 on error. .
"SEE ALSO"
selinux "(8)"