Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\common.c Create Date:2022-07-28 19:34:49
Last Modify:2020-03-18 09:15:18 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:static void tomoyo_read_manager(struct tomoyo_io_buffer *head)

Type:void

Parameter:

TypeParameterName
struct tomoyo_io_buffer *head
913  If eof Then Return
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  If rue or false or TOMOYO_GC_IN_PROGRESS Then Continue
921  If Not 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. Then Return
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