Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\common.c Create Date:2022-07-28 19:34:03
Last Modify:2020-03-18 09:15:18 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:moyo_init_policy_namespace - Initialize namespace.*@ns: Pointer to "struct tomoyo_policy_namespace".* Returns nothing.

Proto:void tomoyo_init_policy_namespace(struct tomoyo_policy_namespace *ns)

Type:void

Parameter:

TypeParameterName
struct tomoyo_policy_namespace *ns
351  When idx < Group number is an integer between 0 and 255. cycle Initialization list head
353  When idx < TOMOYO_MAX_GROUP cycle Initialization list head
355  When idx < TOMOYO_MAX_POLICY cycle Initialization list head
357  Profile version. Currently only 20150505 is defined. = 20150505
358  True if namespace other than tomoyo_kernel_namespace is defined. = Not list_empty - tests whether a list is empty*@head: the list to test.
359  list_add_tail_rcu - add a new entry to rcu-protected list*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head
Caller
NameDescribe
tomoyo_assign_namespacemoyo_assign_namespace - Create a new namespace.*@domainname: Name of namespace to create.* Returns pointer to "struct tomoyo_policy_namespace" on success,* NULL otherwise.* Caller holds tomoyo_read_lock().
tomoyo_mm_initmoyo_mm_init - Initialize mm related code.