Home
last modified time | relevance | path

Searched refs:newpolicy (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/common/os/
H A Ddevpolicy.c414 tableent_t *newpolicy, *oldpolicy; in devpolicy_load() local
494 newpolicy = kmem_zalloc(nmaj * sizeof (tableent_t), KM_SLEEP); in devpolicy_load()
525 newpolicy[j].t_major = curmaj = items[i].dps_maj; in devpolicy_load()
526 last = &newpolicy[j].t_ent; in devpolicy_load()
551 devpolicy = newpolicy; in devpolicy_load()
/titanic_41/usr/src/lib/libkmf/libkmf/common/
H A Dpolicy.c941 KMF_POLICY_RECORD *newpolicy = NULL; in kmf_set_policy() local
947 newpolicy = malloc(sizeof (KMF_POLICY_RECORD)); in kmf_set_policy()
948 if (newpolicy == NULL) in kmf_set_policy()
950 (void) memset(newpolicy, 0, sizeof (KMF_POLICY_RECORD)); in kmf_set_policy()
955 newpolicy); in kmf_set_policy()
959 ret = kmf_verify_policy(newpolicy); in kmf_set_policy()
969 handle->policy = newpolicy; in kmf_set_policy()
974 kmf_free_policy_record(newpolicy); in kmf_set_policy()
975 free(newpolicy); in kmf_set_policy()
/titanic_41/usr/src/cmd/auditd/
H A Ddoorway.c870 policy_update(uint32_t newpolicy) in policy_update() argument
874 DPRINT((dbfp, "policy change: %X\n", newpolicy)); in policy_update()
878 p->plg_cnt = (newpolicy & AUDIT_CNT) ? 1 : 0; in policy_update()