secpol_get_policy_id()
QNX SDP8.0QNX OS System Security GuideAPIConfiguration
Return the policy ID of any policy that has been pushed to procnto
Synopsis:
#include <secpol/secpol.h>
int secpol_get_policy_id(uint32_t *policy_id)
Arguments:
- policy_id
- Address of a variable to hold the policy ID.
Library:
libsecpolDescription:
The secpol_get_policy_id() function returns the policy ID of the security policy that is in effect. A policy ID of 0 indicates that there is no policy.
Returns:
0
if call was successful, or -1 if request failed (errno is set).
Page updated: