Home
last modified time | relevance | path

Searched refs:new_tsp (Results 1 – 1 of 1) sorted by relevance

/security/smack/
Dsmack_lsm.c1426 struct task_smack *new_tsp; in smack_cred_prepare() local
1429 new_tsp = new_task_smack(old_tsp->smk_task, old_tsp->smk_task, gfp); in smack_cred_prepare()
1430 if (new_tsp == NULL) in smack_cred_prepare()
1433 rc = smk_copy_rules(&new_tsp->smk_rules, &old_tsp->smk_rules, gfp); in smack_cred_prepare()
1437 new->security = new_tsp; in smack_cred_prepare()
1451 struct task_smack *new_tsp = new->security; in smack_cred_transfer() local
1453 new_tsp->smk_task = old_tsp->smk_task; in smack_cred_transfer()
1454 new_tsp->smk_forked = old_tsp->smk_task; in smack_cred_transfer()
1455 mutex_init(&new_tsp->smk_rules_lock); in smack_cred_transfer()
1456 INIT_LIST_HEAD(&new_tsp->smk_rules); in smack_cred_transfer()
[all …]