Home
last modified time | relevance | path

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

/linux-6.1.9/security/smack/
Dsmack.h125 struct list_head smk_relabel; /* transit allowed labels */ member
Dsmack_lsm.c335 INIT_LIST_HEAD(&tsp->smk_relabel); in init_task_smack()
1899 smk_destroy_label_list(&tsp->smk_relabel); in smack_cred_free()
1929 rc = smk_copy_relabel(&new_tsp->smk_relabel, &old_tsp->smk_relabel, in smack_cred_prepare()
3533 if (!smack_privileged(CAP_MAC_ADMIN) && list_empty(&tsp->smk_relabel)) in smack_setprocattr()
3555 list_for_each_entry(sklep, &tsp->smk_relabel, list) in smack_setprocattr()
3573 smk_destroy_label_list(&tsp->smk_relabel); in smack_setprocattr()
Dsmackfs.c2696 return smk_seq_start(s, pos, &tsp->smk_relabel); in relabel_self_seq_start()
2703 return smk_seq_next(s, v, pos, &tsp->smk_relabel); in relabel_self_seq_next()
2785 smk_destroy_label_list(&tsp->smk_relabel); in smk_write_relabel_self()
2786 list_splice(&list_tmp, &tsp->smk_relabel); in smk_write_relabel_self()