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)

Referenced By

selinux_config(5).

1 January 2004 russell@coker.com.au SELinux API documentation