函数逻辑报告 |
Source Code:security\tomoyo\util.c |
Create Date:2022-07-27 21:16:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:moyo_correct_word - Validate a string.*@string: The string to check.* Check whether the given string follows the naming rules.* Returns true if @string follows the naming rules, false otherwise.
函数原型:bool tomoyo_correct_word(const char *string)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | string |
名称 | 描述 |
---|---|
tomoyo_get_dqword | moyo_get_dqword - tomoyo_get_name() for a quoted string.*@start: String to save.* Returns pointer to "struct tomoyo_path_info" on success, NULL otherwise. |
tomoyo_parse_envp | moyo_parse_envp - Parse an envp[] condition part.*@left: Lefthand value.*@right: Righthand value.*@envp: Pointer to "struct tomoyo_envp".* Returns true on success, false otherwise. |
tomoyo_write_aggregator | moyo_write_aggregator - Write "struct tomoyo_aggregator" list.*@param: Pointer to "struct tomoyo_acl_param".* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock(). |
tomoyo_write_env | moyo_write_env - Write "struct tomoyo_env_acl" list.*@param: Pointer to "struct tomoyo_acl_param".* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock(). |
tomoyo_get_group | moyo_get_group - Allocate memory for "struct tomoyo_path_group"/"struct tomoyo_number_group".*@param: Pointer to "struct tomoyo_acl_param".*@idx: Index number.* Returns pointer to "struct tomoyo_group" on success, NULL otherwise. |
tomoyo_parse_name_union | moyo_parse_name_union - Parse a tomoyo_name_union.*@param: Pointer to "struct tomoyo_acl_param".*@ptr: Pointer to "struct tomoyo_name_union".* Returns true on success, false otherwise. |
tomoyo_correct_path | moyo_correct_path - Validate a pathname.*@filename: The pathname to check.* Check whether the given pathname follows the naming rules.* Returns true if @filename follows the naming rules, false otherwise. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |