Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:moyo_byte_range - Check whether the string is a \ooo style octal value.*@str: Pointer to the string.* Returns true if @str is a \ooo style octal value, false otherwise.* TOMOYO uses \ooo style representation for 0x01 - 0x20 and 0x7F - 0xFF.

Proto:static inline bool tomoyo_byte_range(const char *str)

Type:bool

Parameter:

TypeParameterName
const char *str
316  Return str >= '0' && str++ <= '3' && str >= '0' && str++ <= '7' && str >= '0' && str <= '7'
Caller
NameDescribe
tomoyo_file_matches_pattern2moyo_file_matches_pattern2 - Pattern matching without '/' character and "\-" pattern.*@filename: The start of string to check.*@filename_end: The end of string to check.*@pattern: The start of pattern to compare.