Function report |
Source Code:kernel\audit.c |
Create Date:2022-07-28 11:23:54 |
| 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_set_loginuid
Proto:static void audit_log_set_loginuid(kuid_t koldloginuid, kuid_t kloginuid, unsigned int oldsessionid, unsigned int sessionid, int rc)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| kuid_t | koldloginuid | |
| kuid_t | kloginuid | |
| unsigned int | oldsessionid | |
| unsigned int | sessionid | |
| int | rc |
| 2210 | If Not audit_enabled Then Return |
| 2213 | 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 |
| 2214 | If Not ab Then Return |
| 2223 | audit_log_task_context(ab) |
| 2227 | audit_put_tty(tty) |
| Name | Describe |
|---|---|
| audit_set_loginuid | audit_set_loginuid - set current task's loginuid*@loginuid: loginuid value* Returns 0.* Called (set) from fs/proc/base.c::proc_loginuid_write(). |
| 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 |