Home
last modified time | relevance | path

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

/security/
Dlsm_audit.c305 struct task_struct *tsk = a->u.tsk; in dump_common_audit_data() local
306 if (tsk) { in dump_common_audit_data()
307 pid_t pid = task_tgid_nr(tsk); in dump_common_audit_data()
309 char comm[sizeof(tsk->comm)]; in dump_common_audit_data()
312 memcpy(comm, tsk->comm, sizeof(comm))); in dump_common_audit_data()
Dsecurity.c1483 int security_file_send_sigiotask(struct task_struct *tsk, in security_file_send_sigiotask() argument
1486 return call_int_hook(file_send_sigiotask, 0, tsk, fown, sig); in security_file_send_sigiotask()
/security/apparmor/
Daudit.c154 sa->type == LSM_AUDIT_DATA_TASK && sa->u.tsk ? in aa_audit()
155 sa->u.tsk : current); in aa_audit()
Dfile.c109 sa.u.tsk = NULL; in aa_audit_file()
117 sa.u.tsk = NULL; in aa_audit_file()
/security/apparmor/include/
Daudit.h164 .u.tsk = NULL, \
/security/smack/
Dsmack.h471 a->a.u.tsk = t; in smk_ad_setfield_u_tsk()
Dsmack_lsm.c1784 static int smack_file_send_sigiotask(struct task_struct *tsk, in smack_file_send_sigiotask() argument
1789 struct smack_known *tkp = smk_of_task(smack_cred(tsk->cred)); in smack_file_send_sigiotask()
1807 tcred = __task_cred(tsk); in smack_file_send_sigiotask()
1813 smk_ad_setfield_u_tsk(&ad, tsk); in smack_file_send_sigiotask()
/security/selinux/
Dhooks.c3816 static int selinux_file_send_sigiotask(struct task_struct *tsk, in selinux_file_send_sigiotask() argument
3820 u32 sid = task_sid(tsk); in selinux_file_send_sigiotask()