函数逻辑报告 |
Source Code:security\smack\smack_access.c |
Create Date:2022-07-27 20:54:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:smack_log - Audit the granting or denial of permissions
函数原型:void smack_log(char *subject_label, char *object_label, int request, int result, struct smk_audit_info *ad)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
char * | subject_label | |
char * | object_label | |
int | request | |
int | result | |
struct smk_audit_info * | ad |
352 | 如果result小于0且what events do we log* can be overwritten at run-time by /smack/logging按位与logging functions的值恒等于0则返回 |
354 | 如果result恒等于0且what events do we log* can be overwritten at run-time by /smack/logging按位与SMACK_AUDIT_ACCEPT的值恒等于0则返回 |
357 | sad等于smack_audit_data |
364 | subject等于subject_label |
365 | object等于object_label |
381 | request等于request_buffer |
384 | common_lsm_audit(a, smack_log_callback - SMACK specific information* will be called by generic audit code*@ab : the audit_buffer*@a : audit_data, NULL) |
名称 | 描述 |
---|---|
smack_file_send_sigiotask | smack_file_send_sigiotask - Smack on sigio*@tsk: The target task*@fown: the object the signal come from*@signum: unused* Allow a privileged task to get signals even if it shouldn't* Returns 0 if a subject with the object's smack could |
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 插件可实现:逻辑报告 代码生成和批量转换代码 |