Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\capability.h Create Date:2022-07-28 05:39:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:cap_intersect

Proto:static inline kernel_cap_t cap_intersect(const kernel_cap_t a, const kernel_cap_t b)

Type:kernel_cap_t

Parameter:

TypeParameterName
const kernel_cap_ta
const kernel_cap_tb
130  CAP_BOP_ALL(dest, a, b, & )
131  Return dest
Caller
NameDescribe
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