Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/security/smack/
Dsmackfs.c686 struct cipso_v4_doi *doip; in smk_cipso_doi() local
696 doip = kmalloc(sizeof(struct cipso_v4_doi), GFP_KERNEL | __GFP_NOFAIL); in smk_cipso_doi()
697 doip->map.std = NULL; in smk_cipso_doi()
698 doip->doi = smk_cipso_doi_value; in smk_cipso_doi()
699 doip->type = CIPSO_V4_MAP_PASS; in smk_cipso_doi()
700 doip->tags[0] = CIPSO_V4_TAG_RBITMAP; in smk_cipso_doi()
702 doip->tags[rc] = CIPSO_V4_TAG_INVALID; in smk_cipso_doi()
704 rc = netlbl_cfg_cipsov4_add(doip, &nai); in smk_cipso_doi()
708 kfree(doip); in smk_cipso_doi()
711 rc = netlbl_cfg_cipsov4_map_add(doip->doi, NULL, NULL, NULL, &nai); in smk_cipso_doi()
[all …]