Home
last modified time | relevance | path

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

/linux-6.1.9/security/smack/
Dsmack_lsm.c1919 struct task_smack *old_tsp = smack_cred(old); in smack_cred_prepare() local
1923 init_task_smack(new_tsp, old_tsp->smk_task, old_tsp->smk_task); in smack_cred_prepare()
1925 rc = smk_copy_rules(&new_tsp->smk_rules, &old_tsp->smk_rules, gfp); in smack_cred_prepare()
1929 rc = smk_copy_relabel(&new_tsp->smk_relabel, &old_tsp->smk_relabel, in smack_cred_prepare()
1943 struct task_smack *old_tsp = smack_cred(old); in smack_cred_transfer() local
1946 new_tsp->smk_task = old_tsp->smk_task; in smack_cred_transfer()
1947 new_tsp->smk_forked = old_tsp->smk_task; in smack_cred_transfer()