函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\hooks.c Create Date:2022-07-27 20:25:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:get the objective security ID of a task

函数原型:static inline unsigned int task_sid(const struct task_struct *task)

返回类型:unsigned int

参数:

类型参数名称
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  返回:sid
调用者
名称描述
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