libselinux: add security_get_checkreqprot

Add security_get_checkreqprot() function, returning the current active
checkreqprot value
4 files changed