Searched refs:tsk (Results 1 – 10 of 10) sorted by relevance
/security/keys/ |
D | process_keys.c | 294 void key_fsuid_changed(struct task_struct *tsk) in key_fsuid_changed() argument 297 BUG_ON(!tsk->cred); in key_fsuid_changed() 298 if (tsk->cred->thread_keyring) { in key_fsuid_changed() 299 down_write(&tsk->cred->thread_keyring->sem); in key_fsuid_changed() 300 tsk->cred->thread_keyring->uid = tsk->cred->fsuid; in key_fsuid_changed() 301 up_write(&tsk->cred->thread_keyring->sem); in key_fsuid_changed() 308 void key_fsgid_changed(struct task_struct *tsk) in key_fsgid_changed() argument 311 BUG_ON(!tsk->cred); in key_fsgid_changed() 312 if (tsk->cred->thread_keyring) { in key_fsgid_changed() 313 down_write(&tsk->cred->thread_keyring->sem); in key_fsgid_changed() [all …]
|
/security/ |
D | lsm_audit.c | 308 struct task_struct *tsk = a->u.tsk; in dump_common_audit_data() local 309 if (tsk) { in dump_common_audit_data() 310 pid_t pid = task_tgid_nr(tsk); in dump_common_audit_data() 312 char comm[sizeof(tsk->comm)]; in dump_common_audit_data() 315 memcpy(comm, tsk->comm, sizeof(comm))); in dump_common_audit_data()
|
D | security.c | 959 int security_file_send_sigiotask(struct task_struct *tsk, in security_file_send_sigiotask() argument 962 return call_int_hook(file_send_sigiotask, 0, tsk, fown, sig); in security_file_send_sigiotask()
|
/security/apparmor/ |
D | audit.c | 158 sa->type == LSM_AUDIT_DATA_TASK && sa->u.tsk ? in aa_audit() 159 sa->u.tsk : current); in aa_audit()
|
D | file.c | 111 sa.u.tsk = NULL; in aa_audit_file() 119 sa.u.tsk = NULL; in aa_audit_file()
|
/security/apparmor/include/ |
D | audit.h | 159 .u.tsk = NULL, \
|
/security/smack/ |
D | smack.h | 448 a->a.u.tsk = t; in smk_ad_setfield_u_tsk()
|
D | smack_lsm.c | 1839 static int smack_file_send_sigiotask(struct task_struct *tsk, in smack_file_send_sigiotask() argument 1843 struct smack_known *tkp = smk_of_task(tsk->cred->security); in smack_file_send_sigiotask() 1857 if (rc != 0 && has_capability(tsk, CAP_MAC_OVERRIDE)) in smack_file_send_sigiotask() 1861 smk_ad_setfield_u_tsk(&ad, tsk); in smack_file_send_sigiotask()
|
/security/integrity/ima/ |
D | ima_policy.c | 252 struct task_struct *tsk = current; in ima_match_rules() local 308 security_task_getsecid(tsk, &sid); in ima_match_rules()
|
/security/selinux/ |
D | hooks.c | 3758 static int selinux_file_send_sigiotask(struct task_struct *tsk, in selinux_file_send_sigiotask() argument 3762 u32 sid = task_sid(tsk); in selinux_file_send_sigiotask()
|