Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:multi_transaction_new

Proto:static struct multi_transaction *multi_transaction_new(struct file *file, const char __user *buf, size_t size)

Type:struct multi_transaction

Parameter:

TypeParameterName
struct file *file
const char __user *buf
size_tsize
894  If size > MULTI_TRANSACTION_LIMIT - 1 Then Return ERR_PTR( - EFBIG)
897  t = get_zeroed_page(GFP_KERNEL)
898  If Not t Then Return ERR_PTR( - ENOMEM)
900  kref_init - initialize object.*@kref: object in question.
901  If copy_from_user(data, buf, size) Then Return ERR_PTR( - EFAULT)
904  Return t
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