Searched refs:oldpolicydb (Results 1 – 1 of 1) sorted by relevance
2088 struct policydb *oldpolicydb, *newpolicydb; in security_load_policy() local2097 oldpolicydb = kcalloc(2, sizeof(*oldpolicydb), GFP_KERNEL); in security_load_policy()2098 if (!oldpolicydb) { in security_load_policy()2102 newpolicydb = oldpolicydb + 1; in security_load_policy()2202 memcpy(oldpolicydb, policydb, sizeof(*policydb)); in security_load_policy()2216 policydb_destroy(oldpolicydb); in security_load_policy()2237 kfree(oldpolicydb); in security_load_policy()