函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:cap_isclear

函数原型:static inline bool cap_isclear(const kernel_cap_t a)

返回类型:bool

参数:

类型参数名称
const kernel_cap_ta
153  如果cap[__capi]不等于0则返回:false
156  返回:true
调用者
名称描述
audit_log_cap
cap_issubsetCheck if "a" is a subset of "set".* return true if ALL of the capabilities in "a" are also in "set"* cap_issubset(0101, 1111) will return true* return false if ANY of the capabilities in "a" are not in "set"* cap_issubset(1111, 0101) will return false