selinux-refpolicy/support/policyvers.py

5 lines
103 B
Python

#!/usr/bin/python
import selinux
if selinux.is_selinux_enabled():
print selinux.security_policyvers()