Lines Matching refs:smk_task
153 tsp->smk_task->smk_known, oskp->smk_known, in smk_bu_current()
165 struct smack_known *smk_task = smk_of_task_struct(otp); in smk_bu_task() local
175 tsp->smk_task->smk_known, smk_task->smk_known, acc, in smk_bu_task()
205 tsp->smk_task->smk_known, isp->smk_inode->smk_known, acc, in smk_bu_inode()
217 struct smack_known *sskp = tsp->smk_task; in smk_bu_file()
247 struct smack_known *sskp = tsp->smk_task; in smk_bu_credfile()
333 tsp->smk_task = task; in init_task_smack()
917 if (isp->smk_task == NULL || isp->smk_task == bsp->smk_task) in smack_bprm_set_creds()
922 isp->smk_task != sbsp->smk_root) in smack_bprm_set_creds()
933 isp->smk_task, in smack_bprm_set_creds()
944 bsp->smk_task = isp->smk_task; in smack_bprm_set_creds()
948 if (bsp->smk_task != bsp->smk_forked) in smack_bprm_set_creds()
1338 isp->smk_task = skp; in smack_inode_post_setxattr()
1417 isp->smk_task = NULL; in smack_inode_removexattr()
1849 rc = smk_access(tsp->smk_task, ssp->smk_out, MAY_WRITE, &ad); in smack_file_receive()
1853 rc = smk_access(ssp->smk_in, tsp->smk_task, MAY_WRITE, &ad); in smack_file_receive()
1952 init_task_smack(new_tsp, old_tsp->smk_task, old_tsp->smk_task); in smack_cred_prepare()
1975 new_tsp->smk_task = old_tsp->smk_task; in smack_cred_transfer()
1976 new_tsp->smk_forked = old_tsp->smk_task; in smack_cred_transfer()
2011 new_tsp->smk_task = smack_from_secid(secid); in smack_kernel_act_as()
2030 tsp->smk_task = tsp->smk_forked; in smack_kernel_create_files_as()
3458 isp->smk_task = skp; in smack_d_instantiate()
3565 tsp->smk_task = skp; in smack_setprocattr()
4532 tsp->smk_task = skp; in smack_inode_copy_up()
4562 ntsp->smk_task = otsp->smk_task; in smack_dentry_create_files_as()
4571 may = smk_access_entry(otsp->smk_task->smk_known, in smack_dentry_create_files_as()
4573 &otsp->smk_task->smk_rules); in smack_dentry_create_files_as()
4582 ntsp->smk_task = isp->smk_inode; in smack_dentry_create_files_as()