Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\mqueue.c Create Date:2022-07-28 16:52:07
Last Modify:2020-03-17 23:00:47 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:put_compat_mq_attr

Proto:static inline int put_compat_mq_attr(const struct mq_attr *attr, struct compat_mq_attr __user *uattr)

Type:int

Parameter:

TypeParameterName
const struct mq_attr *attr
struct compat_mq_attr __user *uattr
1450  memset( & v, 0, size of v )
1451  message queue flags = message queue flags
1452  maximum number of messages = maximum number of messages
1453  maximum message size = maximum message size
1454  number of messages currently queued = number of messages currently queued
1455  If copy_to_user(uattr, & v, size of uattr ) Then Return -EFAULT
1457  Return 0
Caller
NameDescribe
COMPAT_SYSCALL_DEFINE3