Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pc64_perm_to_ipc_perm - convert new ipc permissions to old*@in: new style ipc permissions*@out: old style ipc permissions* Turn the new style permissions object @in into a compatibility* object and store it into the @out pointer.

Proto:void ipc64_perm_to_ipc_perm(struct ipc64_perm *in, struct ipc_perm *out)

Type:void

Parameter:

TypeParameterName
struct ipc64_perm *in
struct ipc_perm *out
574  key = key
575  uid/gid input should be always 32bit uid_t (uid, uid)
576  SET_GID(gid, gid)
577  uid/gid input should be always 32bit uid_t (cuid, cuid)
578  SET_GID(cgid, cgid)
579  mode = mode
580  seq = seq
Caller
NameDescribe
copy_msqid_to_user
copy_semid_to_user
copy_shmid_to_user