Home
last modified time | relevance | path

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

/security/
Dlsm_audit.c313 struct task_struct *tsk = a->u.tsk; in dump_common_audit_data() local
314 if (tsk) { in dump_common_audit_data()
315 pid_t pid = task_tgid_nr(tsk); in dump_common_audit_data()
317 char comm[sizeof(tsk->comm)]; in dump_common_audit_data()
320 memcpy(comm, tsk->comm, sizeof(comm))); in dump_common_audit_data()
Dsecurity.c1567 int security_file_send_sigiotask(struct task_struct *tsk, in security_file_send_sigiotask() argument
1570 return call_int_hook(file_send_sigiotask, 0, tsk, fown, sig); in security_file_send_sigiotask()
/security/apparmor/
Daudit.c152 sa->type == LSM_AUDIT_DATA_TASK && sa->u.tsk ? in aa_audit()
153 sa->u.tsk : current); in aa_audit()
Dfile.c98 sa.u.tsk = NULL; in aa_audit_file()
106 sa.u.tsk = NULL; in aa_audit_file()
/security/apparmor/include/
Daudit.h164 .u.tsk = NULL, \
/security/smack/
Dsmack.h457 a->a.u.tsk = t; in smk_ad_setfield_u_tsk()
Dsmack_lsm.c1801 static int smack_file_send_sigiotask(struct task_struct *tsk, in smack_file_send_sigiotask() argument
1806 struct smack_known *tkp = smk_of_task(smack_cred(tsk->cred)); in smack_file_send_sigiotask()
1824 tcred = __task_cred(tsk); in smack_file_send_sigiotask()
1830 smk_ad_setfield_u_tsk(&ad, tsk); in smack_file_send_sigiotask()
/security/selinux/
Dhooks.c3925 static int selinux_file_send_sigiotask(struct task_struct *tsk, in selinux_file_send_sigiotask() argument
3929 u32 sid = task_sid(tsk); in selinux_file_send_sigiotask()