Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:aa_put_buffer

Proto:void aa_put_buffer(char *buf)

Type:void

Parameter:

TypeParameterName
char *buf
1622  If Not buf Then Return
1624  aa_buf = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(buf, unionaa_buffer, Pointer to an auxiliary buffer (1 page) [0])
1626  spin_lock( & aa_buffers_lock)
1627  list_add - add a new entry*@new: new entry to be added*@head: list head to add it after* Insert a new entry after the specified head.* This is good for implementing stacks.
1628  buffer_count++
1629  spin_unlock( & aa_buffers_lock)
Caller
NameDescribe
alloc_buffers
aa_path_permaa_path_perm - do permissions check & audit for @path*@op: operation being checked*@label: profile being enforced (NOT NULL)*@path: path to check permissions of (NOT NULL)*@flags: any additional path flags beyond what the profile specifies*@request:
aa_path_linkaa_path_link - Handle hard link permission check*@label: the label being enforced (NOT NULL)*@old_dentry: the target dentry (NOT NULL)*@new_dir: directory the new link will be created in (NOT NULL)*@new_dentry: the link being created (NOT NULL)
__file_path_perm
aa_remount
aa_bind_mount
aa_mount_change_type
aa_move_mount
aa_new_mount
aa_umount
aa_pivotroot