Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:compat_ksys_msgsnd

Proto:long compat_ksys_msgsnd(int msqid, compat_uptr_t msgp, compat_ssize_t msgsz, int msgflg)

Type:long

Parameter:

TypeParameterName
intmsqid
compat_uptr_tmsgp
compat_ssize_tmsgsz
intmsgflg
956  __user * up = A pointer passed in from user mode. This should not* be used for syscall parameters, just declare them* as pointers because the syscall entry code will have* appropriately converted them already.
959  If Get a simple variable from user space(mtype, & mtype) Then Return -EFAULT
961  Return do_msgsnd(msqid, mtype, mtext, (ssize_t)msgsz, msgflg)
Caller
NameDescribe
COMPAT_SYSCALL_DEFINE4