Searched refs:plm (Results 1 – 1 of 1) sorted by relevance
341 struct policy_load_memory *plm = NULL; in sel_open_policy() local358 plm = kzalloc(sizeof(*plm), GFP_KERNEL); in sel_open_policy()359 if (!plm) in sel_open_policy()368 rc = security_read_policy(&plm->data, &plm->len); in sel_open_policy()374 filp->private_data = plm; in sel_open_policy()382 if (plm) in sel_open_policy()383 vfree(plm->data); in sel_open_policy()384 kfree(plm); in sel_open_policy()390 struct policy_load_memory *plm = filp->private_data; in sel_release_policy() local392 BUG_ON(!plm); in sel_release_policy()[all …]