Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:moyo_init - Register TOMOYO Linux as a LSM module.* Returns 0.

Proto:static int __init tomoyo_init(void)

Type:int

Parameter:Nothing

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  pr_info("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  Return 0