函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:moyo_permstr - Find permission keywords.*@string: String representation for permissions in foo/bar/buz format.*@keyword: Keyword to find from @string/* Returns true if @keyword was found in @string, false otherwise.

函数原型:bool tomoyo_permstr(const char *string, const char *keyword)

返回类型:bool

参数:

类型参数名称
const char *string
const char *keyword
116  cp等于strstr - Find the first substring in a %NUL terminated string*@s1: The string to be searched*@s2: The string to search for
118  如果cp则返回:cp恒等于string或*cp减1的差恒等于'/'
120  返回:false
调用者
名称描述
tomoyo_write_filemoyo_write_file - Update file related list.*@param: Pointer to "struct tomoyo_acl_param".* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock().
tomoyo_write_inet_networkmoyo_write_inet_network - Write "struct tomoyo_inet_acl" list.*@param: Pointer to "struct tomoyo_acl_param".* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock().
tomoyo_write_unix_networkmoyo_write_unix_network - Write "struct tomoyo_unix_acl" list.*@param: Pointer to "struct tomoyo_acl_param".* Returns 0 on success, negative value otherwise.