blob: 041ff3a7427b3a038a0d91928324790b0cfcba2c [file] [log] [blame]
Joshua Brindle13cd4c82008-08-19 15:30:36 -04001.TH "security_policyvers" "3" "1 January 2004" "russell@coker.com.au" "SELinux API documentation"
2.SH "NAME"
3security_policyvers \- get the version of the SELinux policy
4.SH "SYNOPSIS"
5.B #include <selinux/selinux.h>
6.sp
7.B int security_policyvers();
Guillem Jover6ef13ee2012-11-13 21:15:34 +01008.
Joshua Brindle13cd4c82008-08-19 15:30:36 -04009.SH "DESCRIPTION"
Guillem Jover6ef13ee2012-11-13 21:15:34 +010010.BR security_policyvers ()
11returns the version of the policy (a positive integer) on success, or \-1 on
Joshua Brindle13cd4c82008-08-19 15:30:36 -040012error.
Guillem Jover6ef13ee2012-11-13 21:15:34 +010013.
Joshua Brindle13cd4c82008-08-19 15:30:36 -040014.SH "SEE ALSO"
15.BR selinux "(8)"