Lines Matching refs:new_tsp
1782 struct task_smack *new_tsp; in smack_cred_prepare() local
1785 new_tsp = new_task_smack(old_tsp->smk_task, old_tsp->smk_task, gfp); in smack_cred_prepare()
1786 if (new_tsp == NULL) in smack_cred_prepare()
1789 rc = smk_copy_rules(&new_tsp->smk_rules, &old_tsp->smk_rules, gfp); in smack_cred_prepare()
1793 new->security = new_tsp; in smack_cred_prepare()
1807 struct task_smack *new_tsp = new->security; in smack_cred_transfer() local
1809 new_tsp->smk_task = old_tsp->smk_task; in smack_cred_transfer()
1810 new_tsp->smk_forked = old_tsp->smk_task; in smack_cred_transfer()
1811 mutex_init(&new_tsp->smk_rules_lock); in smack_cred_transfer()
1812 INIT_LIST_HEAD(&new_tsp->smk_rules); in smack_cred_transfer()
1827 struct task_smack *new_tsp = new->security; in smack_kernel_act_as() local
1833 new_tsp->smk_task = skp; in smack_kernel_act_as()