Searched refs:new_tsp (Results 1 – 1 of 1) sorted by relevance
1782 struct task_smack *new_tsp; in smack_cred_prepare() local1785 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() local1809 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()[all …]