Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cap_raise_fs_set

Proto:static inline kernel_cap_t cap_raise_fs_set(const kernel_cap_t a, const kernel_cap_t permitted)

Type:kernel_cap_t

Parameter:

TypeParameterName
const kernel_cap_ta
const kernel_cap_tpermitted
184  __cap_fs_set = CAP_FS_SET
185  Return cap_combine(a, cap_intersect(permitted, __cap_fs_set))
Caller
NameDescribe
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