函数逻辑报告 |
Source Code:security\apparmor\file.c |
Create Date:2022-07-27 21:42:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__file_sock_perm
函数原型:static int __file_sock_perm(const char *op, struct aa_label *label, struct aa_label *flabel, struct file *file, unsigned int request, unsigned int denied)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | op | |
struct aa_label * | label | |
struct aa_label * | flabel | |
struct file * | file | |
unsigned int | request | |
unsigned int | denied |
581 | 如果非denied且aa_label_is_subset(flabel, label)则返回:0 |
586 | 如果denied则 |
589 | last_error(error, aa_sock_file_perm(flabel, op, request, sock)) |
594 | 返回:error |
名称 | 描述 |
---|---|
aa_file_perm | aa_file_perm - do permission revalidation check & audit for @file*@op: operation being checked*@label: label being enforced (NOT NULL)*@file: file to revalidate access permissions on (NOT NULL)*@request: requested permissions*@in_atomic: whether |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |