函数逻辑报告 |
Source Code:security\smack\smack_access.c |
Create Date:2022-07-27 20:54:44 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:int smk_tskacc(struct task_smack *tsp, struct smack_known *obj_known, unsigned int mode, struct smk_audit_info *a)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_smack * | tsp | |
struct smack_known * | obj_known | |
unsigned int | mode | |
struct smk_audit_info * | a |
230 | 如果rc大于等于0则 |
251 | out_audit : |
257 | 返回:rc |
名称 | 描述 |
---|---|
smack_file_open | smack_file_open - Smack dentry open processing*@file: the object* Set the security blob in the file structure.* Allow the open only if the task has read access. There are* many read operations (e.g. fstat) that you can do with an |
smk_curacc | smk_curacc - determine if current has a specific access to an object*@obj_known: a pointer to the object's Smack label entry*@mode: the access requested, in "MAY" format*@a : common audit data* This function checks the current subject label/object label |
smk_ptrace_rule_check | smk_ptrace_rule_check - helper for ptrace access*@tracer: tracer process*@tracee_known: label entry of the process that's about to be traced*@mode: ptrace attachment mode (PTRACE_MODE_*)*@func: name of the function that called us, used for audit* Returns |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |