Function report |
Source Code:security\tomoyo\util.c |
Create Date:2022-07-28 19:47:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:moyo_domain_def - Check whether the given token can be a domainname.*@buffer: The token to check.* Returns true if @buffer possibly be a domainname, false otherwise.
Proto:bool tomoyo_domain_def(const unsigned char *buffer)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
const unsigned char * | buffer |
568 | If buffer != '<' Then Return false |
570 | cp = strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for |
571 | If Not cp Then len = strlen - Find the length of a string*@s: The string to be sized |
578 | Return true |
Name | Describe |
---|---|
tomoyo_assign_namespace | moyo_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_correct_domain | moyo_correct_domain - Check whether the given domainname follows the naming rules.*@domainname: The domainname to check.* Returns true if @domainname follows the naming rules, false otherwise. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |