函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:moyo_set_namespace_cursor - Set namespace to read.*@head: Pointer to "struct tomoyo_io_buffer".* Returns nothing.

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

返回类型:void

参数:

类型参数名称
struct tomoyo_io_buffer *head
2544  如果Type of this interface. 不等于TOMOYO_EXCEPTIONPOLICYType of this interface. 不等于TOMOYO_PROFILE则返回
2551  ns等于ns
2552  如果非nseof链表后项不等于List of namespaces.
2554  memset( & r, 0, r的长度)
2555  ns等于如果ns链表后项否则链表后项
调用者
名称描述
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.