函数逻辑报告

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_kuid

函数原型:static inline kuid_t make_kuid(struct user_namespace *from, uid_t uid)

返回类型:kuid_t

参数:

类型参数名称
struct user_namespace *from
uid_tuid
145  返回
调用者
名称描述
uevent_net_broadcast_tagged
send_signal
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.
SYSCALL_DEFINE3
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
do_faccessataccess() needs to use the real uid/gid, not the effective uid/gid.* We do this by temporarily clearing all FS-related capabilities and* switching the fsuid/fsgid around to the real ones.
make_kqidmake_kqid - Map a user-namespace, type, qid tuple into a kqid
i_uid_write
sock_net_uid
SYSCALL_DEFINE3
SYSCALL_DEFINE2Ugh. To avoid negative return values, "getpriority()" will* not return the normal nice-value, but a negated value that* has been offset by 20 (ie it returns 40..1 instead of -20..19)* to stay compatible.