Function report |
Source Code:kernel\auditsc.c |
Create Date:2022-07-28 11:27:36 |
Last Modify:2020-03-17 16:31:21 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:audit_log_proctitle
Proto:static void audit_log_proctitle(void)
Type:void
Parameter:Nothing
1404 | msg = "(null)" |
1406 | context = audit_context() |
1409 | If Not context || must be the first element Then Return |
1412 | 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 |
1413 | If Not ab Then Return |
1419 | If Not the cmdline field Then |
1420 | buf = Allocation memory |
1424 | res = get_cmdline(current process, buf, max length to print of cmdline/proctitle value during audit ) |
1425 | If res == 0 Then |
1429 | res = audit_proctitle_rtrim(buf, res) |
1430 | If res == 0 Then |
1434 | the cmdline field = buf |
1435 | length of the cmdline field. = res |
1437 | msg = the cmdline field |
1438 | len = length of the cmdline field. |
1439 | out : |
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 |