Searched refs:new_tsp (Results 1 – 1 of 1) sorted by relevance
1975 struct task_smack *new_tsp; in smack_cred_prepare() local1978 new_tsp = new_task_smack(old_tsp->smk_task, old_tsp->smk_task, gfp); in smack_cred_prepare()1979 if (new_tsp == NULL) in smack_cred_prepare()1982 rc = smk_copy_rules(&new_tsp->smk_rules, &old_tsp->smk_rules, gfp); in smack_cred_prepare()1986 rc = smk_copy_relabel(&new_tsp->smk_relabel, &old_tsp->smk_relabel, in smack_cred_prepare()1991 new->security = new_tsp; in smack_cred_prepare()2005 struct task_smack *new_tsp = new->security; in smack_cred_transfer() local2007 new_tsp->smk_task = old_tsp->smk_task; in smack_cred_transfer()2008 new_tsp->smk_forked = old_tsp->smk_task; in smack_cred_transfer()2009 mutex_init(&new_tsp->smk_rules_lock); in smack_cred_transfer()[all …]