Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:moyo_namespace_jump - Check for namespace jump.*@domainname: Name of domain.* Returns true if namespace differs, false otherwise.

Proto:static bool tomoyo_namespace_jump(const char *domainname)

Type:bool

Parameter:

TypeParameterName
const char *domainname
507  namespace = Name of this namespace (e.g. "", "" ).
508  len = strlen - Find the length of a string*@s: The string to be sized
510  Return strncmp(domainname, namespace, len) || domainname[len] && domainname[len] != ' '
Caller
NameDescribe
tomoyo_assign_domainmoyo_assign_domain - Create a domain or a namespace.*@domainname: The name of domain.*@transit: True if transit to domain found or created.* Returns pointer to "struct tomoyo_domain_info" on success, NULL otherwise.* Caller holds tomoyo_read_lock().