函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:moyo_write_manager - Write manager policy.*@head: Pointer to "struct tomoyo_io_buffer".* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock().

函数原型:static int tomoyo_write_manager(struct tomoyo_io_buffer *head)

返回类型:int

参数:

类型参数名称
struct tomoyo_io_buffer *head
895  data等于Buffer for writing.
897  如果非字符串比较
898  Permit policy management by non-root user? 等于非is_delete
899  返回:0
901  返回:moyo_update_manager_entry - Add a manager entry.*@manager: The path to manager or the domainnamme.*@is_delete: True if it is a delete request.* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock().