Lines Matching refs:new_tsp
1938 struct task_smack *new_tsp = smack_cred(new); in smack_cred_prepare() local
1941 init_task_smack(new_tsp, old_tsp->smk_task, old_tsp->smk_task); in smack_cred_prepare()
1943 rc = smk_copy_rules(&new_tsp->smk_rules, &old_tsp->smk_rules, gfp); in smack_cred_prepare()
1947 rc = smk_copy_relabel(&new_tsp->smk_relabel, &old_tsp->smk_relabel, in smack_cred_prepare()
1962 struct task_smack *new_tsp = smack_cred(new); in smack_cred_transfer() local
1964 new_tsp->smk_task = old_tsp->smk_task; in smack_cred_transfer()
1965 new_tsp->smk_forked = old_tsp->smk_task; in smack_cred_transfer()
1966 mutex_init(&new_tsp->smk_rules_lock); in smack_cred_transfer()
1967 INIT_LIST_HEAD(&new_tsp->smk_rules); in smack_cred_transfer()
1998 struct task_smack *new_tsp = smack_cred(new); in smack_kernel_act_as() local
2000 new_tsp->smk_task = smack_from_secid(secid); in smack_kernel_act_as()