函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:moyo_mm_init - Initialize mm related code.

函数原型:void __init tomoyo_mm_init(void)

返回类型:void

参数:

199 idx小于TOMOYO_MAX_HASH循环初始化链表头
201  Name of this namespace (e.g. "", "" ). 等于"<kernel>"
202  moyo_init_policy_namespace - Initialize namespace.*@ns: Pointer to "struct tomoyo_policy_namespace".* Returns nothing.
203  Namespace for this domain. Never NULL. 等于Initial namespace.
204  初始化链表头
205  Name of this domain. Never NULL. 等于moyo_get_name - Allocate permanent memory for string data.*@name: The string to store into the permernent memory.* Returns pointer to "struct tomoyo_path_info" on success, NULL otherwise.
206  添加RCU链表项
调用者
名称描述
tomoyo_initmoyo_init - Register TOMOYO Linux as a LSM module.* Returns 0.