Function report |
Source Code:fs\exec.c |
Create Date:2022-07-28 20:04:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Prepare credentials and lock ->cred_guard_mutex.* install_exec_creds() commits the new creds and drops the lock.* Or, if exec fails before, free_bprm() should release ->cred and* and unlock.
Proto:static int prepare_bprm_creds(struct linux_binprm *bprm)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct linux_binprm * | bprm |
1408 | If mutex_lock_interruptible( & cred_guard_mutex) Then Return -ERESTARTNOINTR |
1411 | cred = Prepare credentials for current to perform an execve()* - The caller must hold ->cred_guard_mutex |
1412 | If Value is more likely to compile time(cred) Then Return 0 |
1416 | Return -ENOMEM |
Name | Describe |
---|---|
__do_execve_file | sys_execve() executes a new program. |
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 |