函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\util.c Create Date:2022-07-27 18:15:11
Last Modify:2022-05-23 18:05:07 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:kernel_to_ipc64_perm - convert kernel ipc permissions to user*@in: kernel permissions*@out: new style ipc permissions* Turn the kernel object @in into a set of permissions descriptions* for returning to userspace (@out).

函数原型:void kernel_to_ipc64_perm(struct kern_ipc_perm *in, struct ipc64_perm *out)

返回类型:void

参数:

类型参数名称
struct kern_ipc_perm *in
struct ipc64_perm *out
555  key等于key
556  uid等于from_kuid_munged(current_user_ns(), uid)
557  gid等于from_kgid_munged(current_user_ns(), gid)
558  cuid等于m_kuid_munged - Create a uid from a kuid user-namespace pair.*@targ: The user namespace we want a uid in.*@kuid: The kernel internal uid to start with.* Map @kuid into the user-namespace specified by @targ and* return the resulting uid.
559  cgid等于m_kgid_munged - Create a gid from a kgid user-namespace pair.*@targ: The user namespace we want a gid in.*@kgid: The kernel internal gid to start with.* Map @kgid into the user-namespace specified by @targ and* return the resulting gid.
560  mode等于mode
561  seq等于seq
调用者
名称描述
msgctl_stat
semctl_stat
shmctl_stat