Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:bool tomoyo_correct_path(const char *filename)

Type:bool

Parameter:

TypeParameterName
const char *filename
526  Return filename == '/' && 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.
Caller
NameDescribe
tomoyo_write_transition_controlmoyo_write_transition_control - Write "struct tomoyo_transition_control" list.*@param: Pointer to "struct tomoyo_acl_param".*@type: Type of this entry.* Returns 0 on success, negative value otherwise.
tomoyo_write_aggregatormoyo_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_correct_domainmoyo_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.