Lines Matching defs:new_tsp
2071 struct task_smack *new_tsp = smack_cred(new);
2074 init_task_smack(new_tsp, old_tsp->smk_task, old_tsp->smk_task);
2076 rc = smk_copy_rules(&new_tsp->smk_rules, &old_tsp->smk_rules, gfp);
2080 rc = smk_copy_relabel(&new_tsp->smk_relabel, &old_tsp->smk_relabel,
2095 struct task_smack *new_tsp = smack_cred(new);
2097 new_tsp->smk_task = old_tsp->smk_task;
2098 new_tsp->smk_forked = old_tsp->smk_task;
2099 mutex_init(&new_tsp->smk_rules_lock);
2100 INIT_LIST_HEAD(&new_tsp->smk_rules);
2131 struct task_smack *new_tsp = smack_cred(new);
2133 new_tsp->smk_task = smack_from_secid(secid);