Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:selinux_binder_transaction

Proto:static int selinux_binder_transaction(struct task_struct *from, struct task_struct *to)

Type:int

Parameter:

TypeParameterName
struct task_struct *from
struct task_struct *to
2058  mysid = get the subjective security ID of the current task
2059  fromsid = get the objective security ID of a task
2060  tosid = get the objective security ID of a task
2063  If mysid != fromsid Then
2064  rc = avc_has_perm - Check permissions and perform any appropriate auditing
2067  If rc Then Return rc
2071  Return avc_has_perm - Check permissions and perform any appropriate auditing