Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\domain.c Create Date:2022-07-28 19:39:57
Last Modify:2022-05-23 20:14:46 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:moyo_find_namespace - Find specified namespace.*@name: Name of namespace to find.*@len: Length of @name.* Returns pointer to "struct tomoyo_policy_namespace" if found,* NULL otherwise.* Caller holds tomoyo_read_lock().

Proto:static struct tomoyo_policy_namespace *tomoyo_find_namespace(const char *name, const unsigned int len)

Type:struct tomoyo_policy_namespace

Parameter:

TypeParameterName
const char *name
const unsigned intlen
444  If strncmp(name, Name of this namespace (e.g. "", "" ). , len) || name[len] && name[len] != ' ' Then Continue
447  Return ns
449  Return NULL
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().