Searched refs:tsk (Results 1 - 10 of 10) sorted by relevance
/security/keys/ |
H A D | process_keys.c | 276 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/apparmor/ |
H A D | audit.c | 203 sa->u.tsk ? sa->u.tsk : current);
|
/security/ |
H A D | lsm_audit.c | 214 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 D | security.c | 803 int security_file_send_sigiotask(struct task_struct *tsk, argument 806 return security_ops->file_send_sigiotask(tsk, fown, sig);
|
H A D | capability.c | 371 static int cap_file_send_sigiotask(struct task_struct *tsk, argument
|
/security/smack/ |
H A D | smack.h | 370 a->a.u.tsk = t;
|
H A D | smack_lsm.c | 1582 * @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);
|
/security/integrity/ima/ |
H A D | ima_policy.c | 169 struct task_struct *tsk = current; local 211 security_task_getsecid(tsk, &sid);
|
/security/selinux/ |
H A D | hooks.c | 1531 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);
|
H A D | selinuxfs.c | 81 static int task_has_security(struct task_struct *tsk, argument 88 tsec = __task_cred(tsk)->security;
|
Completed in 148 milliseconds