Searched refs:oldpolicydb (Results 1 – 1 of 1) sorted by relevance
2144 struct policydb *oldpolicydb, *newpolicydb; in security_load_policy() local2153 oldpolicydb = kcalloc(2, sizeof(*oldpolicydb), GFP_KERNEL); in security_load_policy()2154 if (!oldpolicydb) { in security_load_policy()2158 newpolicydb = oldpolicydb + 1; in security_load_policy()2258 memcpy(oldpolicydb, policydb, sizeof(*policydb)); in security_load_policy()2272 policydb_destroy(oldpolicydb); in security_load_policy()2293 kfree(oldpolicydb); in security_load_policy()