函数逻辑报告

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

函数名称:Used to decide between falling back on the old suser() or fsuser().

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

返回类型:kernel_cap_t

参数:

类型参数名称
const kernel_cap_ta
177  __cap_fs_set等于CAP_FS_SET
178  返回:cap_drop(a, __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