函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\hooks.c Create Date:2022-07-27 20:28:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Clean up the process immediately after the installation of new credentials* due to exec

函数原型:static void selinux_bprm_committed_creds(struct linux_binprm *bprm)

返回类型:void

参数:

类型参数名称
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
2558  如果sid恒等于osid则返回
2568  rc等于avc_has_perm - Check permissions and perform any appropriate auditing
2570  如果rc
2571  clear_itimer()
2573  spin_lock_irq( & siglock)
2574  如果非fatal_signal_pending(当前进程)则
2575  flush_sigqueue( & pending)
2578  sigemptyset( & blocked)
2581  spin_unlock_irq( & siglock)
2586  read_lock( & tasklist_lock)
2587  __wake_up_parent(当前进程, real_parent)
2588  read_unlock( & tasklist_lock)