Searched refs:new_tsp (Results 1 – 1 of 1) sorted by relevance
2011 struct task_smack *new_tsp; in smack_cred_prepare() local2014 new_tsp = new_task_smack(old_tsp->smk_task, old_tsp->smk_task, gfp); in smack_cred_prepare()2015 if (new_tsp == NULL) in smack_cred_prepare()2018 new->security = new_tsp; in smack_cred_prepare()2020 rc = smk_copy_rules(&new_tsp->smk_rules, &old_tsp->smk_rules, gfp); in smack_cred_prepare()2024 rc = smk_copy_relabel(&new_tsp->smk_relabel, &old_tsp->smk_relabel, in smack_cred_prepare()2042 struct task_smack *new_tsp = new->security; in smack_cred_transfer() local2044 new_tsp->smk_task = old_tsp->smk_task; in smack_cred_transfer()2045 new_tsp->smk_forked = old_tsp->smk_task; in smack_cred_transfer()2046 mutex_init(&new_tsp->smk_rules_lock); in smack_cred_transfer()[all …]