函数逻辑报告

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

函数名称:make_kgid

函数原型:static inline kgid_t make_kgid(struct user_namespace *from, gid_t gid)

返回类型:kgid_t

参数:

类型参数名称
struct user_namespace *from
gid_tgid
150  返回
调用者
名称描述
uevent_net_broadcast_tagged
groups_from_userll a group_info from a user-space array - it must be allocated already
ipc_update_permpc_update_perm - update the permissions of an ipc object*@in: the permission given as input.*@out: the permission of the ipc to set.
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
chown_common
make_kqidmake_kqid - Map a user-namespace, type, qid tuple into a kqid
i_gid_write
groups16_from_user