函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:avc_add_callback - Register a callback for security events.*@callback: callback function*@events: security events* Register a callback function for events in the set @events.* Returns %0 on success or -%ENOMEM if insufficient memory

函数原型:int __init avc_add_callback(int (*callback)(unsigned int event), unsigned int events)

返回类型:int

参数:

类型参数名称
int (*callback
unsigned intevents
798  rc等于0
800  c等于开辟内存
801  如果非c
802  rc等于负ENOMEM
803  转到:out
806  callback等于callback
807  events等于events
808  next等于avc_callbacks
809  avc_callbacks等于c
810  out :
811  返回:rc
调用者
名称描述
selinux_init