Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\hooks.c Create Date:2022-07-28 18:52:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get the objective security ID of a task

Proto:static inline unsigned int task_sid(const struct task_struct *task)

Type:unsigned int

Parameter:

TypeParameterName
const struct task_struct *task
235  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
236  sid = get the security ID of a set of credentials
237  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
238  Return sid
Caller
NameDescribe
selinux_binder_set_context_mgrHook functions begin here.
selinux_binder_transaction
selinux_binder_transfer_binder
selinux_binder_transfer_file
selinux_ptrace_access_check
selinux_ptrace_traceme
selinux_capget
ptrace_parent_sidprm security operations
selinux_file_send_sigiotask
selinux_task_setpgid
selinux_task_getpgid
selinux_task_getsid
selinux_task_getsecid
selinux_task_setnice
selinux_task_setioprio
selinux_task_getioprio
selinux_task_setrlimit
selinux_task_setscheduler
selinux_task_getscheduler
selinux_task_movememory
selinux_task_kill
selinux_task_to_inode
selinux_msg_queue_msgrcv