Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\util.c Create Date:2022-07-28 16:39:53
Last Modify:2022-05-23 18:05:07 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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).

Proto:void kernel_to_ipc64_perm(struct kern_ipc_perm *in, struct ipc64_perm *out)

Type:void

Parameter:

TypeParameterName
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
Caller
NameDescribe
msgctl_stat
semctl_stat
shmctl_stat