函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:moyo_read_manager - Read manager policy.*@head: Pointer to "struct tomoyo_io_buffer".* Caller holds tomoyo_read_lock().

函数原型:static void tomoyo_read_manager(struct tomoyo_io_buffer *head)

返回类型:void

参数:

类型参数名称
struct tomoyo_io_buffer *head
913  如果eof则返回
916  ptr等于list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(acl, typeof( * ptr), List for telling GC not to kfree() elements. )
919  如果rue or false or TOMOYO_GC_IN_PROGRESS 则继续下一循环
921  如果非moyo_flush - Flush queued string to userspace's buffer.*@head: Pointer to "struct tomoyo_io_buffer".* Returns true if all data was flushed, false otherwise.则返回
923  moyo_set_string - Queue string to "struct tomoyo_io_buffer" structure
924  moyo_set_lf - Put a line feed to "struct tomoyo_io_buffer" structure.*@head: Pointer to "struct tomoyo_io_buffer".* Returns nothing.
926  eof = true