Function report |
Source Code:kernel\auditsc.c |
Create Date:2022-07-28 11:27:29 |
Last Modify:2020-03-17 16:31:21 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:show_special
Proto:static void show_special(struct audit_context *context, int *call_panic)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct audit_context * | context | |
int * | call_panic |
1193 | ab = audit_log_start - obtain an audit buffer*@ctx: audit_context (may be NULL)*@gfp_mask: type of allocation*@type: audit message type* Returns audit_buffer pointer on success or NULL on error |
1194 | If Not ab Then Return |
1198 | Case type == sys_socketcall arguments |
1204 | Break |
1205 | Case type == IPC record |
1212 | If osid Then |
1213 | char * ctx = NULL |
1215 | If security_secid_to_secctx(osid, & ctx, & len) Then |
1217 | call_panic = 1 |
1218 | Else |
1223 | If has_perm Then |
1225 | ab = audit_log_start - obtain an audit buffer*@ctx: audit_context (may be NULL)*@gfp_mask: type of allocation*@type: audit message type* Returns audit_buffer pointer on success or NULL on error |
1227 | If Value for the false possibility is greater at compile time(!ab) Then Return |
1236 | Break |
1237 | Case type == POSIX MQ open record type |
1247 | Case type == POSIX MQ send/receive record type |
1257 | Case type == POSIX MQ notify record type |
1262 | Case type == POSIX MQ get/set attribute record type |
1270 | Break |
1271 | Case type == Record showing argument to sys_capset |
1273 | audit_log_cap(ab, "cap_pi", & inheritable) |
1274 | audit_log_cap(ab, "cap_pp", & permitted) |
1275 | audit_log_cap(ab, "cap_pe", & effective set of process ) |
1276 | audit_log_cap(ab, "cap_pa", & ambient) |
1277 | Break |
1278 | Case type == Record showing descriptor and flags in mmap |
1282 | Case type == xecve arguments |
1283 | audit_log_execve_info(context, & ab) |
1284 | Break |
1285 | Case type == Kernel Module events |
1287 | If name Then |
1292 | Break |
Name | Describe |
---|---|
audit_log_exit |
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 |