函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:validheader

函数原型:static bool validheader(size_t size, const struct vfs_cap_data *cap)

返回类型:bool

参数:

类型参数名称
size_tsize
const struct vfs_cap_data *cap
467  返回:is_v2header(size, cap)或is_v3header(size, cap)
调用者
名称描述
cap_convert_nscapUser requested a write of security.capability. If needed, update the* xattr to change from v2 to v3, or to fixup the v3 rootid.* If all is ok, we return the new size, on error return < 0.