37 CHK_ARG_NONNULL(output_action_set);
38 CHK_ARG_NONNULL(bundle);
39 CHK_PRECONDITION(bsl->policy_registry.
query_fn != NULL);
40 return bsl->policy_registry.
query_fn(bsl->policy_registry.user_data, output_action_set, bundle, location);
Single entry-point include file for all of the BPSec Lib (BSL) frontend API.
BSL_PolicyLocation_e
Indicates where in the lifecycle of the BPA the bundle is querying for security policy.
int BSL_PolicyRegistry_InspectActions(const BSL_LibCtx_t *bsl, BSL_SecurityActionSet_t *output_action_set, const BSL_BundleRef_t *bundle, BSL_PolicyLocation_e location)
Queries the policy provider for any security operations to take on the bundle.
Private interface for the dynamic backend library context.
Reference to a Bundle owned and stored in the host BPA.
Concrete definition of library context.
BSL_PolicyInspect_f query_fn
Function pointer to query policy.
Contains the populated security operations for this bundle.