函数逻辑报告

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_raise_fs_set

函数原型:static inline kernel_cap_t cap_raise_fs_set(const kernel_cap_t a, const kernel_cap_t permitted)

返回类型:kernel_cap_t

参数:

类型参数名称
const kernel_cap_ta
const kernel_cap_tpermitted
184  __cap_fs_set等于CAP_FS_SET
185  返回:cap_combine(a, cap_intersect(permitted, __cap_fs_set))
调用者
名称描述
cap_task_fix_setuidap_task_fix_setuid - Fix up the results of setuid() call*@new: The proposed credentials*@old: The current task's current credentials*@flags: Indications of what has changed* Fix up the results of setuid() call before the credential changes are