函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:moyo_init - Register TOMOYO Linux as a LSM module.* Returns 0.

函数原型:static int __init tomoyo_init(void)

返回类型:int

参数:

581  s等于moyo_task - Get "struct tomoyo_task" for specified thread.*@task - Pointer to "struct task_struct".* Returns pointer to "struct tomoyo_task" for specified thread.
584  security_add_hooks - Add a modules hooks to the hook lists.*@hooks: the hooks to add*@count: the number of hooks to add*@lsm: the name of the security module* Each LSM has to register its hooks with the infrastructure.
585  打印信息("TOMOYO Linux initialized\n")
586  domain_info等于The initial domain.
587  atomic_inc( & Number of referring tasks. )
588  old_domain_info = NULL
589  moyo_mm_init - Initialize mm related code.
591  返回:0