• Home
  • Raw
  • Download

Lines Matching refs:security

200 	cred->security = tsec;  in cred_init_security()
210 tsec = cred->security; in cred_sid()
446 const struct task_security_struct *tsec = cred->security; in may_context_mount_sb_relabel()
463 const struct task_security_struct *tsec = cred->security; in may_context_mount_inode_relabel()
2425 new_tsec = bprm->cred->security; in selinux_bprm_set_creds()
2583 new_tsec = bprm->cred->security; in selinux_bprm_committing_creds()
2944 rc = selinux_determine_inode_label(old->security, in selinux_dentry_create_files_as()
2951 tsec = new->security; in selinux_dentry_create_files_as()
3432 tsec = new_creds->security; in selinux_inode_copy_up()
3835 cred->security = tsec; in selinux_cred_alloc_blank()
3844 struct task_security_struct *tsec = cred->security; in selinux_cred_free()
3850 BUG_ON(cred->security && (unsigned long) cred->security < PAGE_SIZE); in selinux_cred_free()
3851 cred->security = (void *) 0x7UL; in selinux_cred_free()
3864 old_tsec = old->security; in selinux_cred_prepare()
3870 new->security = tsec; in selinux_cred_prepare()
3879 const struct task_security_struct *old_tsec = old->security; in selinux_cred_transfer()
3880 struct task_security_struct *tsec = new->security; in selinux_cred_transfer()
3891 struct task_security_struct *tsec = new->security; in selinux_kernel_act_as()
3915 struct task_security_struct *tsec = new->security; in selinux_kernel_create_files_as()
5061 static int selinux_tun_dev_alloc_security(void **security) in selinux_tun_dev_alloc_security() argument
5070 *security = tunsec; in selinux_tun_dev_alloc_security()
5074 static void selinux_tun_dev_free_security(void *security) in selinux_tun_dev_free_security() argument
5076 kfree(security); in selinux_tun_dev_free_security()
5094 static int selinux_tun_dev_attach_queue(void *security) in selinux_tun_dev_attach_queue() argument
5096 struct tun_security_struct *tunsec = security; in selinux_tun_dev_attach_queue()
5102 static int selinux_tun_dev_attach(struct sock *sk, void *security) in selinux_tun_dev_attach() argument
5104 struct tun_security_struct *tunsec = security; in selinux_tun_dev_attach()
5120 static int selinux_tun_dev_open(void *security) in selinux_tun_dev_open() argument
5122 struct tun_security_struct *tunsec = security; in selinux_tun_dev_open()
5513 perm->security = isec; in ipc_alloc_security()
5520 struct ipc_security_struct *isec = perm->security; in ipc_free_security()
5521 perm->security = NULL; in ipc_free_security()
5534 msg->security = msec; in msg_msg_alloc_security()
5541 struct msg_security_struct *msec = msg->security; in msg_msg_free_security()
5543 msg->security = NULL; in msg_msg_free_security()
5554 isec = ipc_perms->security; in ipc_has_perm()
5584 isec = msq->q_perm.security; in selinux_msg_queue_alloc_security()
5609 isec = msq->q_perm.security; in selinux_msg_queue_associate()
5655 isec = msq->q_perm.security; in selinux_msg_queue_msgsnd()
5656 msec = msg->security; in selinux_msg_queue_msgsnd()
5700 isec = msq->q_perm.security; in selinux_msg_queue_msgrcv()
5701 msec = msg->security; in selinux_msg_queue_msgrcv()
5726 isec = shp->shm_perm.security; in selinux_shm_alloc_security()
5751 isec = shp->shm_perm.security; in selinux_shm_associate()
5819 isec = sma->sem_perm.security; in selinux_sem_alloc_security()
5844 isec = sma->sem_perm.security; in selinux_sem_associate()
5927 struct ipc_security_struct *isec = ipcp->security; in selinux_ipc_getsecid()
5946 __tsec = __task_cred(p)->security; in selinux_getprocattr()
6059 tsec = new->security; in selinux_setprocattr()
6185 tsec = cred->security; in selinux_key_alloc()
6191 k->security = ksec; in selinux_key_alloc()
6197 struct key_security_struct *ksec = k->security; in selinux_key_free()
6199 k->security = NULL; in selinux_key_free()
6220 ksec = key->security; in selinux_key_permission()
6227 struct key_security_struct *ksec = key->security; in selinux_key_getsecurity()
6356 bpfsec = map->security; in bpf_fd_pass()
6363 bpfsec = prog->aux->security; in bpf_fd_pass()
6377 bpfsec = map->security; in selinux_bpf_map()
6387 bpfsec = prog->aux->security; in selinux_bpf_prog()
6401 map->security = bpfsec; in selinux_bpf_map_alloc()
6408 struct bpf_security_struct *bpfsec = map->security; in selinux_bpf_map_free()
6410 map->security = NULL; in selinux_bpf_map_free()
6423 aux->security = bpfsec; in selinux_bpf_prog_alloc()
6430 struct bpf_security_struct *bpfsec = aux->security; in selinux_bpf_prog_free()
6432 aux->security = NULL; in selinux_bpf_prog_free()