Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:moyo_set_namespace_cursor - Set namespace to read.*@head: Pointer to "struct tomoyo_io_buffer".* Returns nothing.

Proto:static inline void tomoyo_set_namespace_cursor(struct tomoyo_io_buffer *head)

Type:void

Parameter:

TypeParameterName
struct tomoyo_io_buffer *head
2544  If Type of this interface. != TOMOYO_EXCEPTIONPOLICY && Type of this interface. != TOMOYO_PROFILE Then Return
2551  ns = ns
2552  If Not ns || eof && next != List of namespaces. Then
2554  memset( & r, 0, size of r )
2555  ns = If ns Then next Else next
Caller
NameDescribe
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.