Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/security/smack/
Dsmack_access.c654 struct smack_known_list_elem *sklep; in smack_privileged_cred() local
667 list_for_each_entry_rcu(sklep, &smack_onlycap_list, list) { in smack_privileged_cred()
668 if (sklep->smk_label == skp) { in smack_privileged_cred()
Dsmackfs.c1889 struct smack_known_list_elem *sklep = in onlycap_seq_show() local
1892 seq_puts(s, sklep->smk_label->smk_known); in onlycap_seq_show()
1960 struct smack_known_list_elem *sklep; in smk_parse_label_list() local
1970 sklep = kzalloc(sizeof(*sklep), GFP_KERNEL); in smk_parse_label_list()
1971 if (sklep == NULL) in smk_parse_label_list()
1974 sklep->smk_label = skp; in smk_parse_label_list()
1975 list_add(&sklep->list, list); in smk_parse_label_list()
1987 struct smack_known_list_elem *sklep; in smk_destroy_label_list() local
1990 list_for_each_entry_safe(sklep, sklep2, list, list) in smk_destroy_label_list()
1991 kfree(sklep); in smk_destroy_label_list()
[all …]
Dsmack_lsm.c3516 struct smack_known_list_elem *sklep; in smack_setprocattr() local
3541 list_for_each_entry(sklep, &tsp->smk_relabel, list) in smack_setprocattr()
3542 if (sklep->smk_label == skp) { in smack_setprocattr()