Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\apparmorfs.c Create Date:2022-07-28 19:49:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:does not increment @new's count

Proto:static void multi_transaction_set(struct file *file, struct multi_transaction *new, size_t n)

Type:void

Parameter:

TypeParameterName
struct file *file
struct multi_transaction *new
size_tn
878  AA_BUG(n > MULTI_TRANSACTION_LIMIT)
880  size = n
881  spin_lock( & TODO: replace with per file lock )
882  old = needed for tty driver, and maybe others
883  needed for tty driver, and maybe others = new
884  spin_unlock( & TODO: replace with per file lock )
885  put_multi_transaction(old)
Caller
NameDescribe
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