Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\condition.c Create Date:2022-07-28 19:38:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:static const struct tomoyo_path_info *tomoyo_get_dqword(char *start)

Type:struct tomoyo_path_info

Parameter:

TypeParameterName
char *start
261  cp = start + strlen - Find the length of a string*@s: The string to be sized - 1
263  If cp == start || start++ != '"' || cp != '"' Then Return NULL
265  cp = '\0'
266  If start && Not tomoyo_correct_word(start) Then Return NULL
268  Return tomoyo_get_name(start)
Caller
NameDescribe
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.