函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\apparmorfs.c Create Date:2022-07-27 21:22:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:multi_transaction_new

函数原型:static struct multi_transaction *multi_transaction_new(struct file *file, const char __user *buf, size_t size)

返回类型:struct multi_transaction

参数:

类型参数名称
struct file *file
const char __user *buf
size_tsize
894  如果size大于MULTI_TRANSACTION_LIMIT减1则返回:错误号
897  t等于get_zeroed_page(GFP_KERNEL)
898  如果非t则返回:错误号
900  初始化对象
901  如果copy_from_user(data, buf, size)则返回:错误号
904  返回:t
调用者
名称描述
aa_write_accessaa_write_access - generic permissions and data query*@file: pointer to open apparmorfs/access file*@ubuf: user buffer containing the complete query string (NOT NULL)*@count: size of ubuf*@ppos: position in the file (MUST BE ZERO)* Allows for one