函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\condition.c Create Date:2022-07-27 21:07:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static const struct tomoyo_path_info *tomoyo_get_dqword(char *start)

返回类型:struct tomoyo_path_info

参数:

类型参数名称
char *start
261  cp等于startstrlen - Find the length of a string*@s: The string to be sized减1
263  如果cp恒等于startstart自加不等于'"'或cp不等于'"'则返回:NULL
265  cp等于'\0'
266  如果start且非tomoyo_correct_word(start)则返回:NULL
268  返回:tomoyo_get_name(start)
调用者
名称描述
tomoyo_parse_name_union_quotedmoyo_parse_name_union_quoted - Parse a quoted word.*@param: Pointer to "struct tomoyo_acl_param".*@ptr: Pointer to "struct tomoyo_name_union".* Returns true on success, false otherwise.
tomoyo_parse_argvmoyo_parse_argv - Parse an argv[] condition part.*@left: Lefthand value.*@right: Righthand value.*@argv: Pointer to "struct tomoyo_argv".* Returns true on success, false otherwise.
tomoyo_parse_envpmoyo_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.