Function report |
Source Code:kernel\audit.c |
Create Date:2022-07-28 11:23:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:audit_log_task_context
Proto:int audit_log_task_context(struct audit_buffer *ab)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct audit_buffer * | ab |
2061 | char * ctx = NULL |
2066 | security_task_getsecid(current process, & sid) |
2067 | If Not sid Then Return 0 |
2070 | error = security_secid_to_secctx(sid, & ctx, & len) |
2071 | If error Then |
2072 | If error != -EINVAL Then Go to error_path |
2074 | Return 0 |
2078 | security_release_secctx(ctx, len) |
2079 | Return 0 |
2081 | error_path : |
2082 | audit_panic("error in audit_log_task_context") |
2083 | Return error |
Name | Describe |
---|---|
audit_log_config_change | |
audit_log_common_recv_msg | |
audit_log_task_info | |
audit_log_set_loginuid | |
audit_log_rule_change | Log rule additions and removals |
audit_log_task |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |