函数逻辑报告 |
Source Code:security\smack\smack_access.c |
Create Date:2022-07-27 20:54:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:smk_access_entry - look up matching access rule*@subject_label: a pointer to the subject's Smack label*@object_label: a pointer to the object's Smack label*@rule_list: the list of rules to search* This function looks up the subject/object pair in the
函数原型:int smk_access_entry(char *subject_label, char *object_label, struct list_head *rule_list)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
char * | subject_label | |
char * | object_label | |
struct list_head * | rule_list |
88 | 如果smk_known恒等于object_label且smk_known恒等于subject_label则 |
90 | may等于smk_access |
91 | 退出 |
98 | 如果may按位与MAY_WRITE的值恒等于MAY_WRITE则may或等于Locks should be writes, but ... |
100 | 返回:may |
名称 | 描述 |
---|---|
smack_mmap_file | smack_mmap_file :* Check permissions for a mmap operation. The @file may be NULL, e.g.* if mapping anonymous memory.*@file contains the file structure for file to map (may be NULL).*@reqprot contains the protection requested by the application. |
smack_dentry_create_files_as | |
smk_access | smk_access - determine if a subject has a specific access to an object*@subject: a pointer to the subject's Smack label entry*@object: a pointer to the object's Smack label entry*@request: the access requested, in "MAY" format*@a : a pointer to the audit |
smk_tskacc | smk_tskacc - determine if a task has a specific access to an object*@tsp: a pointer to the subject's task*@obj_known: a pointer to the object's label entry*@mode: the access requested, in "MAY" format*@a : common audit data* This function checks the |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |