Lines Matching refs:task_sid
190 static inline u32 task_sid(const struct task_struct *task) in task_sid() function
226 isec->task_sid = sid; in inode_alloc_security()
1355 isec->sid = isec->task_sid; in inode_doinit_with_dentry()
1363 rc = security_transition_sid(isec->task_sid, sbsec->sid, in inode_doinit_with_dentry()
1491 tsid = task_sid(tsk); in current_has_perm()
1540 u32 sid = task_sid(tsk); in task_has_system()
1685 u32 sid = task_sid(ctx); in may_create_key()
1876 u32 mgrsid = task_sid(mgr); in selinux_binder_set_context_mgr()
1884 u32 fromsid = task_sid(from); in selinux_binder_transaction()
1885 u32 tosid = task_sid(to); in selinux_binder_transaction()
1899 u32 fromsid = task_sid(from); in selinux_binder_transfer_binder()
1900 u32 tosid = task_sid(to); in selinux_binder_transfer_binder()
1906 u32 sid = task_sid(to); in selinux_binder_transfer_file()
1943 u32 csid = task_sid(child); in selinux_ptrace_access_check()
3359 u32 sid = task_sid(tsk); in selinux_file_send_sigiotask()
3528 sid = task_sid(current); in selinux_kernel_module_request()
3586 *secid = task_sid(p); in selinux_task_getsecid()
3663 rc = avc_has_perm(secid, task_sid(p), in selinux_task_kill()
3679 u32 sid = task_sid(p); in selinux_task_to_inode()
3936 u32 tsid = task_sid(task); in sock_has_perm()
4995 sid = task_sid(task); in ipc_alloc_security()
5181 u32 sid = task_sid(target); in selinux_msg_queue_msgrcv()
5580 ptsid = task_sid(tracer); in selinux_setprocattr()