Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:compat_do_msg_fill

Proto:static long compat_do_msg_fill(void __user *dest, struct msg_msg *msg, size_t bufsz)

Type:long

Parameter:

TypeParameterName
void __user *dest
struct msg_msg *msg
size_tbufsz
1240  __user * msgp = dest
1243  If Write a simple value into user space(m_type, & mtype) Then Return -EFAULT
1246  msgsz = If bufsz > message text size Then message text size Else bufsz
1247  If store_msg(mtext, msg, msgsz) Then Return -EFAULT
1249  Return msgsz