函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\uidgid.h Create Date:2022-07-27 06:40:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:gid_eq

函数原型:static inline bool gid_eq(kgid_t left, kgid_t right)

返回类型:bool

参数:

类型参数名称
kgid_tleft
kgid_tright
68  返回:__kgid_val(left)恒等于__kgid_val(right)
调用者
名称描述
restricted_pointer
rdtgroup_kn_set_ugidset uid and gid of rdtgroup dirs and files to that of the creator
__ptrace_may_accessReturns 0 on success, -errno on denial.
check_prlimit_permission lock must be held
commit_credsmmit_creds - Install new credentials upon the current task*@new: The credentials to be assigned* Install a new set of credentials to the current task, using RCU to replace* the old set. Both the objective and the subjective credentials pointers are
in_group_pCheck whether we're fsgid/egid or in the supplemental group..
in_egroup_p
cgroup_kn_set_ugidset uid and gid of cgroup dirs and files to that of the creator
new_idmap_permitted
audit_compare_ruleCompare two rules in kernel format. Considered success if rules* don't match.
audit_gid_comparator
keyctl_chown_keyChange the ownership of a key* The key must grant the caller Setattr permission for this to work, though* the key need not be fully instantiated yet. For the UID to be changed, or* for the GID to be changed to a group the caller is not a member of, the
keyctl_session_to_parentAttempt to install the calling process's session keyring on the process's* parent process.* The keyring must exist and must grant the caller LINK permission, and the* parent process must be single-threaded and must have the same effective
key_task_permissionkey_task_permission - Check a key can be used*@key_ref: The key to check.*@cred: The credentials to use.*@perm: The permissions to check for.* Check to see whether permission is granted to use a key in the desired way,
__is_setgid
setup_new_exec
chgrp_ok
dquot_transferWrapper for transferring ownership of an inode for uid/gid only* Called from FSXXX_setattr()
v1_commit_dqblk
qid_eqqid_eq - Test to see if to kquid values are the same*@left: A qid value*@right: Another quid value* Return true if the two qid values are equal and false otherwise.
is_quota_modification_mutex must being held