Searched refs:new_tsp (Results 1 – 1 of 1) sorted by relevance
2070 struct task_smack *new_tsp = smack_cred(new); in smack_cred_prepare() local2073 init_task_smack(new_tsp, old_tsp->smk_task, old_tsp->smk_task); in smack_cred_prepare()2075 rc = smk_copy_rules(&new_tsp->smk_rules, &old_tsp->smk_rules, gfp); in smack_cred_prepare()2079 rc = smk_copy_relabel(&new_tsp->smk_relabel, &old_tsp->smk_relabel, in smack_cred_prepare()2094 struct task_smack *new_tsp = smack_cred(new); in smack_cred_transfer() local2096 new_tsp->smk_task = old_tsp->smk_task; in smack_cred_transfer()2097 new_tsp->smk_forked = old_tsp->smk_task; in smack_cred_transfer()2098 mutex_init(&new_tsp->smk_rules_lock); in smack_cred_transfer()2099 INIT_LIST_HEAD(&new_tsp->smk_rules); in smack_cred_transfer()2130 struct task_smack *new_tsp = smack_cred(new); in smack_kernel_act_as() local[all …]