函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\msg.c Create Date:2022-07-27 18:17:34
Last Modify:2020-03-17 22:56:56 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:compat_ksys_msgsnd

函数原型:long compat_ksys_msgsnd(int msqid, compat_uptr_t msgp, compat_ssize_t msgsz, int msgflg)

返回类型:long

参数:

类型参数名称
intmsqid
compat_uptr_tmsgp
compat_ssize_tmsgsz
intmsgflg
956  __userup等于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  如果Careful: we have to cast the result to the type of the pointer* for sign reasons(mtype, & mtype)则返回:负EFAULT
961  返回:do_msgsnd(msqid, mtype, mtext, (ssize_t)msgsz, msgflg)
调用者
名称描述
COMPAT_SYSCALL_DEFINE4