函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:moyo_make_byte - Make byte value from three octal characters.*@c1: The first character.*@c2: The second character.*@c3: The third character.* Returns byte value.

函数原型:static inline u8 tomoyo_make_byte(const u8 c1, const u8 c2, const u8 c3)

返回类型:u8

参数:

类型参数名称
const u8c1
const u8c2
const u8c3
344  返回:c1减'0'左移6位的值加c2减'0'左移3位的值加c3减'0'
调用者
名称描述
tomoyo_correct_word2moyo_correct_word2 - Validate a string.*@string: The string to check. Maybe non-'\0'-terminated.*@len: Length of @string.* Check whether the given string follows the naming rules.* Returns true if @string follows the naming rules, false otherwise.