Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\shm.c Create Date:2022-07-28 16:48:10
Last Modify:2020-03-17 22:58:32 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:copy_compat_shmid_from_user

Proto:static int copy_compat_shmid_from_user(struct shmid64_ds *out, void __user *buf, int version)

Type:int

Parameter:

TypeParameterName
struct shmid64_ds *out
void __user *buf
intversion
1325  memset(out, 0, size of out )
1326  If version == New version (support 32-bit UIDs, biggermessage sizes, etc. Then
1327  __user * p = buf
1328  Return get_compat_ipc64_perm( & peration perms , & shm_perm)
1329  Else
1330  __user * p = buf
1331  Return get_compat_ipc_perm( & peration perms , & shm_perm)
Caller
NameDescribe
compat_ksys_shmctl