Searched defs:tsk (Results 1 - 8 of 8) sorted by relevance

/security/
H A Dlsm_audit.c214 struct task_struct *tsk = current; local
223 audit_log_format(ab, " pid=%d comm=", task_pid_nr(tsk));
224 audit_log_untrustedstring(ab, tsk->comm);
295 tsk = a->u.tsk;
296 if (tsk) {
297 pid_t pid = task_pid_nr(tsk);
300 audit_log_untrustedstring(ab, tsk->comm);
H A Dcapability.c371 static int cap_file_send_sigiotask(struct task_struct *tsk, argument
H A Dsecurity.c803 int security_file_send_sigiotask(struct task_struct *tsk, argument
806 return security_ops->file_send_sigiotask(tsk, fown, sig);
/security/keys/
H A Dprocess_keys.c276 void key_fsuid_changed(struct task_struct *tsk) argument
279 BUG_ON(!tsk->cred);
280 if (tsk->cred->thread_keyring) {
281 down_write(&tsk->cred->thread_keyring->sem);
282 tsk->cred->thread_keyring->uid = tsk->cred->fsuid;
283 up_write(&tsk->cred->thread_keyring->sem);
290 void key_fsgid_changed(struct task_struct *tsk) argument
293 BUG_ON(!tsk->cred);
294 if (tsk
[all...]
/security/integrity/ima/
H A Dima_policy.c169 struct task_struct *tsk = current; local
211 security_task_getsecid(tsk, &sid);
/security/selinux/
H A Dselinuxfs.c81 static int task_has_security(struct task_struct *tsk, argument
88 tsec = __task_cred(tsk)->security;
H A Dhooks.c1531 static int current_has_perm(const struct task_struct *tsk, argument
1537 tsid = task_sid(tsk);
1583 static int task_has_system(struct task_struct *tsk, argument
1586 u32 sid = task_sid(tsk);
3482 static int selinux_file_send_sigiotask(struct task_struct *tsk, argument
3486 u32 sid = task_sid(tsk);
/security/smack/
H A Dsmack_lsm.c1582 * @tsk: The target task
1591 static int smack_file_send_sigiotask(struct task_struct *tsk, argument
1595 struct smack_known *tkp = smk_of_task(tsk->cred->security);
1609 if (rc != 0 && has_capability(tsk, CAP_MAC_OVERRIDE))
1613 smk_ad_setfield_u_tsk(&ad, tsk);

Completed in 123 milliseconds