Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/security/smack/
Dsmack.h125 struct list_head smk_relabel; /* transit allowed labels */ member
Dsmack_lsm.c332 INIT_LIST_HEAD(&tsp->smk_relabel); in init_task_smack()
1916 smk_destroy_label_list(&tsp->smk_relabel); in smack_cred_free()
1946 rc = smk_copy_relabel(&new_tsp->smk_relabel, &old_tsp->smk_relabel, in smack_cred_prepare()
3519 if (!smack_privileged(CAP_MAC_ADMIN) && list_empty(&tsp->smk_relabel)) in smack_setprocattr()
3541 list_for_each_entry(sklep, &tsp->smk_relabel, list) in smack_setprocattr()
3559 smk_destroy_label_list(&tsp->smk_relabel); in smack_setprocattr()
Dsmackfs.c2695 return smk_seq_start(s, pos, &tsp->smk_relabel); in relabel_self_seq_start()
2702 return smk_seq_next(s, v, pos, &tsp->smk_relabel); in relabel_self_seq_next()
2784 smk_destroy_label_list(&tsp->smk_relabel); in smk_write_relabel_self()
2785 list_splice(&list_tmp, &tsp->smk_relabel); in smk_write_relabel_self()