Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:static void tomoyo_read_exception(struct tomoyo_io_buffer *head)

Type:void

Parameter:

TypeParameterName
struct tomoyo_io_buffer *head
1918  ns = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(ns, typeof( * ns), namespace_list)
1921  If eof Then Return
1923  When step < TOMOYO_MAX_POLICY && moyo_read_policy - Read "struct tomoyo_..._entry" list.*@head: Pointer to "struct tomoyo_io_buffer".*@idx: Index number.* Returns true on success, false otherwise.* Caller holds tomoyo_read_lock(). cycle
1925  step++
1926  If step < TOMOYO_MAX_POLICY Then Return
1928  When step < TOMOYO_MAX_POLICY + TOMOYO_MAX_GROUP && moyo_read_group - Read "struct tomoyo_path_group"/"struct tomoyo_number_group"/"struct tomoyo_address_group" list.*@head: Pointer to "struct tomoyo_io_buffer".*@idx: Index number.* Returns true on success, false otherwise.* Caller holds tomoyo_read_lock(). cycle
1930  step++
1931  If step < TOMOYO_MAX_POLICY + TOMOYO_MAX_GROUP Then Return
1933  When step < TOMOYO_MAX_POLICY + TOMOYO_MAX_GROUP + Group number is an integer between 0 and 255. cycle
1935  acl_group_index = step - TOMOYO_MAX_POLICY - TOMOYO_MAX_GROUP
1937  If Not moyo_read_domain2 - Read domain policy.*@head: Pointer to "struct tomoyo_io_buffer".*@list: Pointer to "struct list_head".* Caller holds tomoyo_read_lock().* Returns true on success, false otherwise. Then Return
1940  step++
1942  eof = true