函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\capability.h Create Date:2022-07-27 06:41:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:cap_intersect

函数原型:static inline kernel_cap_t cap_intersect(const kernel_cap_t a, const kernel_cap_t b)

返回类型:kernel_cap_t

参数:

类型参数名称
const kernel_cap_ta
const kernel_cap_tb
130  CAP_BOP_ALL(dest, a, b, & )
131  返回:dest
调用者
名称描述
call_usermodehelper_exec_asyncThis is the task which runs the usermode application
proc_cap_handler
cap_capsetap_capset - Validate and apply proposed changes to current's capabilities*@new: The proposed new credentials; alterations should be made here*@old: The current task's current credentials*@effective: A pointer to the proposed new effective capabilities
cap_bprm_set_credsap_bprm_set_creds - Set up the proposed credentials for execve().*@bprm: The execution parameters, including the proposed creds* Set up the proposed credentials for a new execution context being* constructed by execve()
apparmor_capgetDerived from security/commoncap.c:cap_capget
cap_raise_fs_set
cap_raise_nfsd_set
cap_ambient_invariant_ok