函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\domain.c Create Date:2022-07-27 21:09:04
Last Modify:2022-05-23 20:14:46 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

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

函数原型:static bool tomoyo_namespace_jump(const char *domainname)

返回类型:bool

参数:

类型参数名称
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  返回:字符串指定长度比较domainname[len]且domainname[len]不等于' '
调用者
名称描述
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().