函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\common.c Create Date:2022-07-27 21:06:22
Last Modify:2020-03-18 09:15:18 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:moyo_has_more_namespace - Check for unread namespaces.*@head: Pointer to "struct tomoyo_io_buffer".* Returns true if we have more entries to print, false otherwise.

函数原型:static inline bool tomoyo_has_more_namespace(struct tomoyo_io_buffer *head)

返回类型:bool

参数:

类型参数名称
struct tomoyo_io_buffer *head
2568  返回:Type of this interface. 恒等于TOMOYO_EXCEPTIONPOLICYType of this interface. 恒等于TOMOYO_PROFILE的值且eof链表后项不等于List of namespaces.
调用者
名称描述
tomoyo_read_controlmoyo_read_control - read() for /sys/kernel/security/tomoyo/ interface.*@head: Pointer to "struct tomoyo_io_buffer".*@buffer: Poiner to buffer to write to.*@buffer_len: Size of @buffer.* Returns bytes read on success, negative value otherwise.