函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:aa_put_buffer

函数原型:void aa_put_buffer(char *buf)

返回类型:void

参数:

类型参数名称
char *buf
1622  如果非buf则返回
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  加自旋锁
1627  添加链表项
1628  buffer_count自加
1629  自旋锁解锁
调用者
名称描述
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