| Function report | 
| Source Code: security\selinux\hooks.c | Create Date:2022-07-28 18:56:26 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Clean up the process immediately after the installation of new credentials* due to exec
Proto:static void selinux_bprm_committed_creds(struct linux_binprm *bprm)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct linux_binprm * | bprm | 
| 2551 | tsec = selinux_cred(current_cred - Access the current task's subjective credentials* Access the subjective credentials of the current task. RCU-safe,* since nobody else can modify it.()) | 
| 2555 | osid = SID prior to last execve | 
| 2556 | sid = current SID | 
| 2570 | If rc Then | 
| 2571 | clear_itimer() | 
| 2573 | spin_lock_irq( & siglock) | 
| 2574 | If Not fatal_signal_pending(current process) Then | 
| 2575 | flush_sigqueue( & pending) | 
| 2576 | flush_sigqueue( & shared_pending) | 
| 2578 | sigemptyset( & blocked) | 
| 2579 | recalc_sigpending() | 
| 2581 | spin_unlock_irq( & siglock) | 
| 2586 | read_lock( & tasklist_lock) | 
| 2588 | read_unlock( & tasklist_lock) | 
| 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 |