Use ima_get_policy() from libimaevm to get policy.