Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\commoncap.c Create Date:2022-07-28 18:36:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__is_suid

Proto:static inline bool __is_suid(kuid_t uid, struct cred *cred)

Type:bool

Parameter:

TypeParameterName
kuid_tuid
struct cred *cred
699  Return Not __is_real(uid, cred) && __is_eff(uid, cred)
Caller
NameDescribe
handle_privileged_roothandle_privileged_root - Handle case of privileged root*@bprm: The execution parameters, including the proposed creds*@has_fcap: Are any file capabilities set?*@effective: Do we have effective root privilege?*@root_uid: This namespace' root UID WRT
nonroot_raised_pE1) Audit candidate if current->cap_effective is set* We do not bother to audit if 3 things are true:* 1) cap_effective has all caps* 2) we became root *OR* are were already root* 3) root is supposed to have all caps (SECURE_NOROOT)