| 函数逻辑报告 | 
| Source Code: security\apparmor\lsm.c | Create Date:2022-07-27 21:40:01 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:aa_get_buffer
函数原型:char *aa_get_buffer(bool in_atomic)
返回类型:char
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| bool | in_atomic | 
| 1580 | bool try_again = true | 
| 1583 | retry : | 
| 1584 | 加自旋锁 | 
| 1585 | 如果buffer_count大于reserve_count或in_atomic且非链表为空则 | 
| 1589 | 删除链表项 | 
| 1590 | buffer_count自减 | 
| 1591 | 自旋锁解锁 | 
| 1592 | 返回:buffer[0] | 
| 1594 | 如果in_atomic则 | 
| 1599 | reserve_count自加 | 
| 1602 | 自旋锁解锁 | 
| 1604 | 如果非in_atomic则might_sleep() | 
| 1607 | 如果非aa_buf则 | 
| 1615 | 返回:buffer[0] | 
| 名称 | 描述 | 
|---|---|
| aa_path_perm | aa_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_link | aa_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 | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |