Lines Matching refs:tkp
1909 struct smack_known *tkp = smk_of_task(smack_cred(tsk->cred)); in smack_file_send_sigiotask() local
1923 rc = smk_access(skp, tkp, MAY_DELIVER, NULL); in smack_file_send_sigiotask()
1924 rc = smk_bu_note("sigiotask", skp, tkp, MAY_DELIVER, rc); in smack_file_send_sigiotask()
1934 smack_log(skp->smk_known, tkp->smk_known, MAY_DELIVER, rc, &ad); in smack_file_send_sigiotask()
2321 struct smack_known *tkp = smk_of_task_struct_obj(p); in smack_task_kill() local
2334 rc = smk_curacc(tkp, MAY_DELIVER, &ad); in smack_task_kill()
2344 rc = smk_access(skp, tkp, MAY_DELIVER, &ad); in smack_task_kill()
2345 rc = smk_bu_note("USB signal", skp, tkp, MAY_DELIVER, rc); in smack_task_kill()
4428 struct smack_known *tkp = smk_of_task(smack_cred(cred)); in smack_key_permission() local
4468 if (tkp == NULL) in smack_key_permission()
4479 rc = smk_access(tkp, keyp->security, request, &ad); in smack_key_permission()
4480 rc = smk_bu_note("key access", tkp, keyp->security, request, rc); in smack_key_permission()
4525 struct smack_known *tkp = smk_of_current(); in smack_watch_key() local
4539 if (tkp == NULL) in smack_watch_key()
4550 rc = smk_access(tkp, key->security, MAY_READ, &ad); in smack_watch_key()
4551 rc = smk_bu_note("key watch", tkp, key->security, MAY_READ, rc); in smack_watch_key()