Function report |
Source Code:kernel\acct.c |
Create Date:2022-07-28 11:01:06 |
Last Modify:2020-03-17 15:14:29 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sys_acct - enable/disable process accounting*@name: file name for accounting records or NULL to shutdown accounting* Returns 0 for success or negative errno values for failure.* sys_acct() is the only system call needed to implement process* accounting
Proto:SYSCALL_DEFINE1(acct, const char __user *, name)
Type:
Parameter:Nothing
275 | error = 0 |
277 | If Not Check operation authority Then Return -EPERM |
280 | If name Then |
285 | mutex_lock( & acct_on_mutex) |
289 | Else |
294 | Return error |
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 |