函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:does not increment @new's count

函数原型:static void multi_transaction_set(struct file *file, struct multi_transaction *new, size_t n)

返回类型:void

参数:

类型参数名称
struct file *file
struct multi_transaction *new
size_tn
878  AA_BUG(n > MULTI_TRANSACTION_LIMIT)
880  size等于n
881  加自旋锁
882  old等于 needed for tty driver, and maybe others
883  needed for tty driver, and maybe others 等于new
884  自旋锁解锁
885  put_multi_transaction(old)
调用者
名称描述
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